Watch out because there’s a bug right now; if Settings → Transcoder → Disable video stream transcoding is enabled, Optimized Versions still get created, but with the wrong settings.
I’m not aware of anything so convenient as a file or table of built-in presets or transcoding settings.
The commands get logged to the Plex Media Server.log, or you can see the Plex Transcoder processes while an Optimization job is running.
If I remember correctly the easiest thing to do was to search for “inProgress”. That was the name of a working directory for Optimization jobs, and I didn’t see it used by anything else. You could also just look for “Plex Transcoder” and weed out the false positives. Or you can look for the filenames that you’re optimizing.
Decoding ffmpeg command-line options is always fun times.
Jul 29, 2020 01:37:34.184 [0x814ee2800] DEBUG - Job running: EAE_ROOT='/tmp/pms-7f4cc394-ac89-4a17-bedd-779b4ed14ac7/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/usr/local/plexdata/Plex\ Media\ Server/Codecs/5f603a2-3204-freebsd-x86_64/' XDG_CACHE_HOME='/usr/local/plexdata/Plex Media Server/Cache' XDG_DATA_HOME='/usr/local/share/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/local/share/PlexMediaServer-1.20.0.3133-fede5bdc7/Plex Transcoder' '-codec:0' 'h264' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/path/to/source/file.mkv' '-filter_complex' '[0:0]scale=w=570:h=320[0];[0]format=pix_fmts=yuv420p|nv12[1]' '-map' '[1]' '-codec:0' 'libx264' '-crf:0' '21' '-maxrate:0' '596k' '-bufsize:0' '1192k' '-r:0' '23.975999999999999' '-preset:0' 'faster' '-level:0' '4.0' '-x264opts:0' 'subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none' '-map' '0:1' '-metadata:s:1' 'language=eng' '-codec:1' 'copy' '-copypriorss:1' '0' '-f' 'mp4' '-map_metadata' '-1' '-map_chapters' '-1' '-movflags' '+faststart' '/path/to/source/.inProgress/S01E12.mp4.6953' '-map' '0:2' '-metadata:s:0' 'language=eng' '-codec:0' 'copy' '-f' 'srt' '/path/to/source/Plex Versions/Custom_ Universal TV 6953/xxxxx/.inProgress/S01E12.mp4.6953.528011.sidecar' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/0ac6893f-240c-4f32-bd98-a8518498f073/ce18372d-3650-4352-8d16-9c9bdfcc7e9a/progress'