[FFmpeg-user] Problem with realtime MPEG-2 video encoding
Andrey Utkin
andrey.krieger.utkin at gmail.com
Thu Feb 16 14:52:57 CET 2012
2012/2/16 Romeu Palos <romeupalos at gmail.com>:
> 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
Increase number of decoding threads.
Add -threads option before -i option.
--
Andrey Utkin
More information about the ffmpeg-user
mailing list