Say I ran the following optimize settings : Custom -> Universal TV -> 4 Mbps, 720p
Does anyone know the full ffmpeg command this would invoke?
Say I ran the following optimize settings : Custom -> Universal TV -> 4 Mbps, 720p
Does anyone know the full ffmpeg command this would invoke?
Nah but I believe if you run that and check your Plex Media Server.log file you can probably find it it looks something like this:
Sep 07, 2017 09:35:56.623 [0x2b2d4e00b700] DEBUG - Job running: EAE_ROOT=’/tmp/pms-1f52ee00-9337-406a-8069-5721dd5e5972/EasyAudioEncoder’ FFMPEG_EXTERNAL_LIBS=’/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/798f007-1247-linux-ubuntu-x86_64/’ XDG_CACHE_HOME=’/config/Library/Application Support/Plex Media Server/Cache/’ XDG_DATA_HOME=’/usr/lib/plexmediaserver/Resources/’ X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ ‘/usr/lib/plexmediaserver/Plex Transcoder’ ‘-codec:#0x100’ ‘h264’ ‘-codec:#0x101’ ‘ac3’ ‘-ss’ ‘1334’ ‘-i’ ‘/media/TV/Ridiculousness/Season 10/Ridiculousness (2011) - S10E02 - 21 Savage.ts’ ‘-filter_complex’ ‘[0:#0x100]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p|nv12[1]’ ‘-map’ ‘[1]’ ‘-codec:0’ ‘libx264’ ‘-crf:0’ ‘21’ ‘-maxrate:0’ ‘1686k’ ‘-bufsize:0’ ‘3372k’ ‘-r:0’ ‘59.939999999999998’ ‘-preset:0’ ‘veryfast’ ‘-level:0’ ‘5.1’ ‘-x264opts:0’ ‘subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none’ ‘-force_key_frames:0’ ‘expr:gte(t,1332+n_forced*3)’ ‘-map’ ‘0:#0x101’ ‘-metadata:s:1’ ‘language=eng’ ‘-codec:1’ ‘aac’ ‘-ar:1’ ‘48000’ ‘-channel_layout:1’ ‘stereo’ ‘-b:1’ ‘162k’ ‘-segment_format’ ‘mpegts’ ‘-f’ ‘ssegment’ ‘-individual_header_trailer’ ‘0’ ‘-segment_time’ ‘3’ ‘-segment_start_number’ ‘444’ ‘-segment_copyts’ ‘1’ ‘-segment_time_delta’ ‘0.0625’ ‘-segment_list’ ‘http://127.0.0.1:32400/video/:/transcode/session/a5d9ea5d6764d240-com-plexapp-android/dce1839d-397e-4353-8ab0-9cc800285e7d/seglist’ ‘-segment_list_type’ ‘csv’ ‘-segment_list_size’ ‘2147483647’ ‘-max_delay’ ‘5000000’ ‘-avoid_negative_ts’ ‘disabled’ ‘-map_metadata’ ‘-1’ ‘-map_chapters’ ‘-1’ ‘media-%05d.ts’ ‘-start_at_zero’ ‘-copyts’ ‘-y’ ‘-nostats’ ‘-loglevel’ ‘quiet’ ‘-loglevel_plex’ ‘error’ ‘-progressurl’ ‘http://127.0.0.1:32400/video/:/transcode/session/a5d9ea5d6764d240-com-plexapp-android/dce1839d-397e-4353-8ab0-9cc800285e7d/progress’
This is just a transcode job for remote playback but they probably all look the same…
If you are after a quality option for the transcoder:
Settings - Server - Transcoder - ‘Show Advanced’ - “Background transcoding x264 preset”
The “slower”, the better the quality.
@nokdim said:
Nah but I believe if you run that and check your Plex Media Server.log file you can probably find it it looks something like this:
Thanks, that should work for my purposes.
@OttoKerner said:
If you are after a quality option for the transcoder:
Settings - Server - Transcoder - ‘Show Advanced’ - “Background transcoding x264 preset”
The “slower”, the better the quality.
Useful info but I’m actually looking to automate transcoding beyond what PMS can do, so I don’t intend to ever use its transcoder.
@keldian said:
Useful info but I’m actually looking to automate transcoding beyond what PMS can do, so I don’t intend to ever use its transcoder.
tip: https://forums.plex.tv/discussion/comment/931888/#Comment_931888
Thanks but those instructions are for Windows and I’m running an Ubuntu server, plus his download link is broken. I already have a setup with sickbeard mp4 automator anyway—just trying to get my mp4 conversion just right which is why I’m interested in what Plex uses.
@keldian said:
Thanks but those instructions are for Windows and I’m running an Ubuntu server,
This is a Python script. It uses ffmpeg. These things are available on Linux and should even be installed by default.
I’m well aware of that, having sunk quite a bit of time tinkering with both ffmpeg and sickbeard mp4 automator in the past few weeks.