[FFmpeg-user] ffprobe: Not using full CPU, regardless of "-threads" parameter

tim nicholson nichot20 at yahoo.com
Wed Sep 17 16:27:03 CEST 2014


On 17/09/14 11:05, Peter B. wrote:
> Hello,
> 
> I've noticed that using ffprobe to analyze an FFV1/AVI file, it only
> utilizes a part of the available CPU power.
> For example, the following command:
> 
> //----------------------------------------------
> $ ffprobe_git -f lavfi -i
> "movie=qctools.avi,signalstats=stat=tout+vrep+brng,cropdetect=reset=1,split[a][b];[a]field=top[a1];[b]field=bottom[b1],[a1][b1]psnr"
> -show_frames -show_versions -of xml=x=1:q=1 -noprivate -threads auto
> -loglevel info > qctools.avi.qctools.xml
> //----------------------------------------------
> 
> 
> According to my CPU graph monitor, there is no difference between
> "-threads 1", "-threads 8" or "-threads auto".
> 
> 
> However, when I decode the same video with ffmpeg, the whole CPU is
> used, so I'd say the disk ain't the bottleneck:
> //----------------------------------------------
> $ ffmpeg_git -i qctools.avi -an -f framemd5 delme.xxx
> //----------------------------------------------
> 
> 
> Is there a way of have ffprobe use the whole CPU, too?
> 

Try using a simpler ffprobe command and compare like with like.

Your example includes a complex filter chain  and not all filters
multi-thread afaik.

> 
> Thanks in advance,
> Pb
> [..]


-- 
Tim.
Key Fingerprint 38CF DB09 3ED0 F607 8B67 6CED 0C0B FC44 8B0B FC83


More information about the ffmpeg-user mailing list