I want to automate optimizing my tv shows to try to get the majority to play without needing transcoding. My plex server is not very powerful.
I found a script here that I thought i would try: https://gist.github.com/onedr0p/c88f517a55f77ed154cdb00009463a47
In looking at some of the forks of this script i saw people have changed some of the handbrake_cli settings. i am not sure which is better or if there are better options all together.
This is the original script.
handbrake_cli,
‘-i’, input_file,
‘-o’, output_file,
‘-f’, ‘mp4’,
‘–loose-anamorphic’,
‘–modulus’, ‘2’,
‘-e’, ‘x264’,
‘-q’, ‘19’,
‘–cfr’,
‘-a’, ‘1’,
‘-E’, ‘faac’,
‘-6’, ‘dp12’,
‘-R’, ‘Auto’,
‘-B’, ‘320’,
‘-D’, ‘0’,
‘–gain’, ‘0’,
‘–audio-copy-mask’, ‘none’,
‘–audio-fallback’, ‘ffac3’,
‘-x’, ‘level=4.0:ref=16:bframes=16:b-adapt=2:direct=auto:me=tesa:merange=24:subq=11:rc-lookahead=60:analyse=all:trellis=2:no-fast-pskip=1’
This is another persons version of it.
handbrake_cli,
‘-i’, input_file,
‘-o’, output_file,
‘-f’, ‘mp4’,
‘–loose-anamorphic’,
‘–modulus’, ‘2’,
‘-e’, ‘x265’,
‘-q’, ‘22’,
‘–cfr’,
‘-a’, ‘1’,
‘-E’, ‘av_aac’,
‘-R’, ‘24’,
‘-B’, ‘128’,
‘-D’, ‘0’,
‘-w’, ‘720’,
‘-l’, ‘480’,
‘–gain’, ‘0’,
‘-x’, ‘level=4.0:ref=16:bframes=16:b-adapt=2:direct=auto:me=tesa:merange=24:subq=11:rc-lookahead=60:analyse=all:trellis=2:no-fast-pskip=1’
My plex server runs on windows 10.
Thank you.