[FFmpeg-user] ffmpeg libx264 encode for quicktime

James Hearon j_hearon at hotmail.com
Wed Jul 11 19:49:32 CEST 2012


Hi,I'm new to this list.  Hoping i could get some help.
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.
>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
I was reading about b-pyramid not being compatible with quicktime but using -b-pyramid none still causes the black out.
Quite awhile back I could do it using -vcodec h264, but that seems all gone now and am stuck trying to figure out how to makeit work using current libx264.
I'd be glad to use another lib to encode to h.264, but prefer not to go to another app such mencoder, mp4box, or other containersuch as .mp4, or plugin such as perian for qt.  Reason is I need a streamable file in a .mov container, easily playable by clientsusing a browser and basic quicktime decoder.
Thanks 		 	   		  


More information about the ffmpeg-user mailing list