[x264-devel] Support for VFR in MP4 output

Tomas Carnecky tom at dbservice.com
Fri Oct 6 00:33:10 CEST 2006


What are the chances that this will ever happen?

Implementing it wasn't that hard, except my version won't work with 
--bpyramid - it's a bit harder to set the correct DTS/PTS.

I'm again at the point where I have a video file which contains semi-raw 
YUV images and I want to convert it to something usable (mp4/avi/mkv 
etc). I'm fine if you don't accept my demuxer-patch, but the solution 
someone on this ML suggested (that I should create a filter, eg. `cat 
file | my-filter | x264 -o video.mp4 -`) won't work since x264 
apparently doesn't accept y4m input from stdin, it always assumes a raw 
yuv stream. I'd need y4v to be able to feed x264 with VFR video (store 
the PTS somewhere in the frame header), but I can forget about all that 
if x264 never will support VFR.

I can always convert the video to CFR in my filter, but I really want to 
keep the original video as long as possible (no dropped or duplicated 
frames etc).

any suggestions?
tom

-- 
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