Hi,

I'm trying to generate a mpeg2 file like this:
ffmpeg -y -threads auto -t 5 -framerate 30 -i "images_%05d.png" -r 30 -pix_fmt 
yuv422p -c:v mpeg2video -b:v 50000000 -qmin 1 -qmax 18 -q 3 -g 1 -flags2:v 
+local_header -vf "crop=960:540:0:0" test.m2v

The problem is, that it seems the option  -flags2:v +local_header has no 
effect. I also tried with -bsf:v dump_extra, no luck too. Encodings with and 
without that options have exactly the same size, I guess the headers should add 
some bytes. The file plays fine with all common players, but I need to encode 
for a videoserver, which needs the headers in every GOP for fast seeking. 
Without the headers it shows only the first frame.
I'm using ffmpeg version 2.5.3-tessus on OSX 10.8.5.

Is there anything I'm missing?

Thanks

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to