[FFmpeg-user] Problem with realtime MPEG-2 video encoding
romeupalos at gmail.com
Thu Feb 16 15:06:38 CET 2012
You're welcome .dE.
Thanks Andrey, but it didn't work.
I may have figured out. I increased the bufsize 4 times. And the fps of the
encoding jumped from 15 to 131. It is on test for 1:35:00 now and it is
working great, with no delay, and my buffers are very stable.
Thank you so much.
Romeu Palos de Gouvêa
2012/2/16 dE . <de.techno at gmail.com>
> On 02/16/12 17:52, Romeu Palos wrote:
>> 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.
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
> Thanks for the tip! CBR increases frame rates for screencasting.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user