Hallo

Thierry Foucu wrote:
> I try to encode a NTSC sequence which is interlace and when i use the 
> option -I 2, i have this error:
> 
> Rate control can't cope with a video buffer smaller 4 frame intervals
> 
> I traced a little bit in the code, and find out that the variable 
> "field_rate" in ontheflyratectl.cc is not yet initialize and so, the 
> formula " encparams.bit_rate / field_rate" return a wrong value.
> 
> here is the command line i'm using right now:
> 
> cat stream.yuv | ./mpeg2enc -f 3 -F 4 -b 6000 -a 2 -s -I 2 -z t -V 1000 
> -c -R 2  -o ~/test.m2v
> 
> * Does anyone has the same problem?
> 
> * Is the option -I 2 even supported in the latest code?

The code for per field encoding should work, but is not that good tested 
maintained as the code for progressive or interlaced material. So it can 
be that there is one ore more bugs hidden.

Depending on the version of mpeg2enc you use, it can be a problem 
related to the new frame rate control, andrew prepared things in 
mpeg2enc for a two pass encoder.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to