[x264-devel] using B-frames

Axel Gunter axl264 at gmail.com
Tue Mar 13 18:32:49 CET 2007


I tried posting this at the ffmpeg-dev list but got no responses, trying 
here since it pertains to x264 as well. Apologies for duplication.
-----------
Hi Experts,

Do we know of any known problem using h264 video codec and having 
B-frames? I am using mpegts as the transport.

when using the command below the output video looks jerky with frames 
being rendered out of order (some problem with timestamps using B-frames?)
./ffmpeg -i source.ts -vcodec h264 -s 320x240 -refs 4 -bf 2 -y -f mpegts 
-acodec copy output.ts

However, when I disable B-frames using the command below, the video is 
better (VLC says dropping late frames, but that might be a decoder 
problem). At least the time stamps seem to be ok.
./ffmpeg -i source.ts -vcodec h264 -s 320x240 -refs 4 -bf 0 -y -f mpegts 
-acodec copy output.ts


Has anyone seen this behavior before? Any help is appreciated.

-Axel






-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list