I'm using RaspberryPi 1gen B+, for push stream to web through rtmp. But I find my CPU usage came up to 90%+. This is how I use it:
ffmpeg -re -f concat -safe 0 -i playlist.txt -vcodec copy -acodec aac -f flv "rtmp://example.com:1060"
so I want to use the GPU for decode/encode. After google research, I found "h264_omx", and I've implement the h264_omx:
pi@pi:/usr/src/ffmpeg $ sudo ./configure --enable-omx --enable-omx-rpi sudo make sudo make install
so I use:
ffmpeg -re -f concat -safe 0 -i playlist.txt -vcodec h264_omx -acodec aac -f flv "rtmp://example.com:1060"
output is here:
But the CPU usage still runs to 90%+, what's worse, the video become indistinct and only have 5fps.
so, what's wrong with me? Is it possible for 1gen B+ to hardware codec?