[FFmpeg-user] ffmpeg libx264 encode for quicktime

Lou lou at lrcd.com
Wed Jul 11 23:36:43 CEST 2012

On Wed, 11 Jul 2012 17:49:32 +0000
James Hearon <j_hearon at hotmail.com> wrote:

> Hi,I'm new to this list.  Hoping i could get some help.

Welcome to the list.

> I have a recent build of ffmpeg (0.8.12) with libx264 (0.125.x) and am stuck trying to encode an h.264 file with .mov container to playback in quicktime.It plays back the audio fine, but the video is black.  The encoded file works fine in VLC, of course,but I need it to play back in quicktime, and I need a .mov container.
> I'm using input as Apple 10bit, 720p, 422, raw in a .mov container, and trying to get out an h.264 file with the following parameters.Previous versions had problems with Apple 422, but that's all good now, and no need to change the 422 pix_fmt.

Try adding "-pix_fmt yuv420p" as an output option. If you continue to
have issues then follow this IRC discussion between starPause and JEEB
starting at [00:19]:


> >ffmpeg -y -i input.mov -acodec libfaac -ac 2 -ar 44100 -ab 80k -vcodec libx264 -s 640x480 -b 670k -g 30 -r 15 output.mov

You ffmpeg console output is missing. You should always include it with
your command.

More information about the ffmpeg-user mailing list