[FFmpeg-user] Testing transcode speeds on Raspberry Pi 4

MediaMouth communque at gmail.com
Thu Apr 16 07:52:29 EEST 2020


Running a few tests to see if there's any practical value in using a RPI4 to generate h.264s from camera originals using FFMpeg.

So far it's not exactly overwhelming:
> ffmpeg -i path/to/source.mp4 -b:v 9000k -vf scale=1280:720,format=yuv420p path/to/dest.mp4
ran at about 25% of real time (compared to a Mac that ran the same file at >4x real time)

An attempt to do some hardware acceleration...
> ffmpeg -i path/to/source.mp4 -c:v h264_omx -b:v 9000k -vf scale=1280:720,format=yuv420p path/to/dest.mp4
Gave the exact same same results

I don't know I would expect more from a $50 computer -- the fact that it works at all is already impressive -- but I thought I'd ask if anyone has any ideas on how to get more speed out of the little thing.


More information about the ffmpeg-user mailing list