Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

ffmpeg - MOV h.264 to MPEG-1 conversion

Hey guys -- I've been playing around with this for a while and can't get anywhere with it. Trying to convert h.264 encoded MOVs to MPEG-1 with:

ffmpeg -i [input file] -vcodec mpeg1video -b 1000k -qmin 1 -qmax 31 -acodec mp2 -ar 22050 -ac 1 [out file]

Seems to work or break depending on the environment.. looks and plays nice under Linux/VLC, starts misbehaving in Mac/Quicktime depending on where you move the mouse and at what time, and Windows/Quicktime has no idea what's going on.

If you can track me down, I'll happily buy you a steak... :)

2 Community Answers

JW Player

0 rated :


I am having an issue with forcing the video codec with FFMPEG. When I do a default encoding...

ffmpeg -i new_file.flv

...from .mov to .flv it works fine (in most cases). But when I try to force a video codec...

ffmpeg -i -vcodec h264 new_file.flv creates a 0kb (zero) file, which means it obviously did not work. Anytime I specify an audio or video codec it breaks.

Can anyone please give me some insight into why this would be happening. Are my codecs messed up.

P.S. I already checked that the codecs I am using are available in ffmpeg with the -formats command.

Thank you.

JW Player

0 rated :

Check on and for ffmpeg transcoding configurations.

This question has received the maximum number of answers.