Closed fortiko closed 5 years ago
Added
I assume this is faster than the CPU codec? I tried adding the line to the autoProcess.ini
, but I still see -vcodec libx264
in the logs. Is this expected, or did I miss something / need to install something? (raspberry pi 4B)
Simple change in sickbeard_mp4_automator/converter/avcodecs.py to enable GPU-based encoding on Raspberry Pi using h264_omx, based on this https://stackoverflow.com/questions/50693934/different-h264-encoders-in-ffmpeg
To use in autoProcess.ini, just make it the default codec:
video-codec = h264_omx,h264,x264,h.264
This also works with current Stretch package 3.2.10-1~deb9u1+rpt3 from here:
https://archive.raspberrypi.org/debian/pool/main/f/ffmpeg/ffmpeg_3.2.10-1~deb9u1+rpt3_armhf.deb
which you should use in any case because of these bugs:
https://github.com/raspberrypi/firmware/issues/1087 https://trac.ffmpeg.org/ticket/6586