ffmpeg process cpu hang?

Here you can submit bugreports
Post Reply
dries
Posts: 6
Joined: Fri Nov 10, 2023 8:17 am

ffmpeg process cpu hang?

Post by dries »

Hello,

It seems that after encoding the ffmpeg process keeps using 40% cpu (and 28% gpu),
even when there is no other workflow busy with a file?

You cannot kill the process, only reboot clears it.

Any thoughts?

Dries
process error.png
process error.png (602.09 KiB) Viewed 7254 times
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: ffmpeg process cpu hang?

Post by admin »

Hi dries, sorry about the late reply.

Could you please send your workflow and maybe some log for the job? If the process is indeed started by ffastrans it should have been killed by force. But I have seen cases where some process is impossible to kill. We're using the Windows API for such operations and if it cannot be killed by normal means it must be caught in some kind of deadlock or whatever that keeps it hanging in there. Unless this is the normal behavior we might have to put it on the Windows being Windows account.

-steinar
emcodem
Posts: 1812
Joined: Wed Sep 19, 2018 8:11 am

Re: ffmpeg process cpu hang?

Post by emcodem »

Sorry also i have overseen this topic completely.
"You cannot kill the process" doesnt happen very often. Do you know if the hanging ffmpeg process was using GPU resources e.g. Nvidia encode or Cuda filtering?
emcodem, wrapping since 2009 you got the rhyme?
Post Reply