

The default is /home/pi/plex-media-server-ffmpeg/ffmpegĪ list of profiles indexed by name that are being used to adjust the plex parameters. The following options are available:ĭefines the ffmpeg executable that is invoked with the altered parameters. An example can be found in this repository as instructed to download above. The wrapper ffmpeg-transcode will replace the plex parameters according to the configuration file ffmpeg-transcode.yaml. (by default h264_v4l2m2m) Also it increases the buffer size (double of default) and allows to change the segment duration of the chunks that are being rendered. This will replace the output video encoder with the one defined in the configuration. Sudo ln -s /home/pi/plex-media-server-ffmpeg/ffmpeg-transcode 'Plex Transcoder' Sudo mv 'Plex Transcoder' 'Plex Transcoder Backup' # Edit the configuration file to your needs

In order to use a different (hardware-)encoder I wrote a small shell script that can be put in place like this: configure -extra-cflags="-I/usr/local/include" -extra-ldflags="-L/usr/local/lib" -extra-libs="-lpthread -lm -latomic" -enable-gmp -enable-gpl -enable-libaom -enable-libass -enable-libdav1d -enable-libfreetype -enable-libmp3lame -enable-libopencore-amrnb -enable-libopencore-amrwb -enable-libopus -enable-librtmp -enable-libsnappy -enable-libsoxr -enable-libssh -enable-libvorbis -enable-libvpx -enable-libwebp -enable-libx264 -enable-libx265 -enable-libxml2 -enable-mmal -enable-omx -enable-nonfree -enable-version3 -target-os=linux -enable-pthreads -enable-openssl -enable-hardcoded-tables # If you want to apply patches or make changes to the ffmpeg source, do it here Sudo apt install libass-dev libaom-dev libxvidcore-dev libvorbis-dev libv4l-dev libx265-dev libx264-dev libwebp-dev libspeex-dev librtmp-dev libopus-dev libmp3lame-dev libdav1d-dev libopencore-amrnb-dev libopencore-amrwb-dev libsnappy-dev libsoxr-dev libssh-dev libxml2-dev libomxil-bellagio-dev Mv plex-media-server-ffmpeg-gpl-* plex-media-server-ffmpeg Tar -xvf plex-media-server-ffmpeg-gpl-*.tar.gz # Copy the URL from the grep command and use it for the following wget Cat /usr/lib/plexmediaserver/Resources/LICENSE | grep "Plex Transcoder"
