[FFmpeg-user] Problem with realtime MPEG-2 video encoding
Romeu Palos
romeupalos at gmail.com
Thu Feb 16 13:22:33 CET 2012
Hi
I'm trying to encode mpeg-2 video in real time, CBR and fulllHD and it
works just fine for a long time. But I realize with some video animations,
with lots of colors and moviment, it get too slow and the real time is not
achieved anymore.
this is my command line:
ffmpeg -s 1920x1080 -r 30000/1001 -pix_fmt uyvy422 -i
/tmp/ffmpeg_input-cSm8Za.yuv -vb 15500000 -maxrate 15500000 -minrate
15500000 -bufsize 2583333 -vstats -s 1920x1080 -r 30000/1001 -flags
+ilme+ildct -top 1 -an -threads 12 -vcodec mpeg2video -flags2 +fast
-streamid 0:273 -f mpegts - > /tmp/ffmpeg_output-yC91jH.ts1
The video output need to be interlaced.
There is any other switch that can make it faster?
I tryed to use -me_method zero, but without success.
When I use VBR it goes 4 times the real time, but it isn't an option.
Thanks in advance.
Romeu
More information about the ffmpeg-user
mailing list