25 Jul
2012
25 Jul
'12
7:15 p.m.
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?