I am using raspberry pi-4 8GB to take input from a video device /dev/video0 and output it over a network rtp:// I am using following ffmpeg command ffmpeg -f v4l2 -i /dev/video0 -c:v h264 -f rtp "rtp://" but the issue is it uses 252% of the cpu and raspberry pi get is getting on fire. How can I solve it

  • It's not using more CPU than you have, so don't worry, that's 252*"%"* of a possible 400*"%"* - the heat is probably because you don't have good cooling on the pi Commented Feb 26 at 9:31
  • Ok, I want to drop down the CPU consumption how can I?
    – Mubashir
    Commented Feb 26 at 14:45
  • @Mubahsir please do not add questions in comments ... edit your question instead
    – jsotola
    Commented Feb 26 at 16:59
  • Check the actual temperature w/ vcgencmd measure_temp. Throttling of the CPU to prevent overheat starts at 85° C, it will not destroy itself.
    – goldilocks
    Commented Feb 26 at 17:20
  • 1
    Why do you want to reduce CPU usage - is there something that doesn't work?
    – Milliways
    Commented Feb 27 at 2:49


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.