I'm currently using ffmpeg on RaspberryPi 4 (4 CPU, 4GB RAM, 16GB SD Card) for encoding bitrate from Camera (experimental environment).
As my first though when running encode process, from 1024Kbps input (Camera) to 512Kbps output (RaspPi4), the CPU consumption/ usage is quite a lot: 220->260% in the total 400% CPU Power (4 CPU).
This is my encode command:
/usr/bin/ffmpeg -re -rtsp_transport tcp -i rtsp://testing:email@example.com:554/Streaming/Channels/101 -an -c:v libx264 -b:v 512k -strict experimental -flags +global_header -f flv rtmp://172.16.1.201:1935/RTMP/testing-storage
I just wondering if there is anything I could do to reduce this CPU consumption.
And if i keep using that RaspPi with that much CPU, how long till it go down? What I mean is, can we calculate the attenuation, and the time the device can be used with such a load?
Many thanks for reading this Experts.