[FFmpeg-user] Encoding x264 hangs in a high turn over pipeline

Roger Pack rogerdpack2 at gmail.com
Wed Jul 25 21:15:46 CEST 2012

> We run a multithreaded compression (ffmpeg multithreading isn't used, our
> own solution is) using the following command:
> ffmpeg -i #input# -f mp4 -vcodec libx264 -s 1024x576 -b:v 2000k -g 33
> -acodec libmp3lame -b:a 128k -ar 44100 -vf "movie=#logo# [wm]; [in][wm]
> overlay=10:main_h-overlay_h-10 [out]" -y #output#

What do you mean that your own solution is using multithreading?

> Approx. 75% threads complete without any problems, the remaining ones get
> stuck - cpu usage on each thread drops to 0, memory usage gets stuck at
> around 300MB.

What OS?
Full uncut complete console and output please?
Also gdb backtraces of stuck threads?

More information about the ffmpeg-user mailing list