4EvrYng wrote:Thank you! My 10920X was able to decode Claire's file with ffmpeg at 260fps which wasn't giving me enough time to judge what was going on with CPU. In Resolve her file played at full speed 50fps without any dropped frames, 30+% overall CPU usage across several cores and at least 2 cores being maxed out when in color page (25+% and one core maxed out when in edit page). So maybe the question isn't can ffmpeg easily decode it without sweating the CPU but how much of CPU usage when in Resolve is due to decoding and how much is due to rest / how much of benefit H.264 GPU acceleration would give.
P.S. Do you know of way to tell ffmpeg to keep doing test decoding in the loop, please, so I can get better idea how much CPU load it causes vs. Resolve?
The only thing I can think of is to create a bat file with
- Code: Select all
ffmpeg.exe -i example.h264 -f null NUL
ffmpeg.exe -i example.h264 -f null NUL
ffmpeg.exe -i example.h264 -f null NUL
....
ffmpeg.exe -i example.h264 -f null NUL
ffmpeg.exe -i example.h264 -f null NUL
(the same command multiple times)
You're talking about CPU usage over 1-ish second, right?
I haven't verified this but it looks exactly like what we need.
I like
https://systeminformer.sourceforge.io/ for it's detailed information.
I haven't tested if we can subtract Davinci from itself: Create a new timeline, add a generator, convert to Compound Clip, then play back. Then take the cpu usage from that as a Davinci basal use and subtract from other measurements.
The other thing I've been thinking of is to indirectly measure how long it takes to go one frame back in a long GOP file: Record via OBS and go to the end of a known GOP file, then go one frame back. Count the frames between button press and resolve responds = GOP length/response time = decode fps.
But it's tangential to the cpu usage

Davinci Resolve Studio 20 build 49, Windows 11, Ultra 7 265k, Nvidia 5070 TI, 576.80 Studio