Tiered NVENC plugin based on choosing CQ:V value per resolution. (cq:v is nvenc equivalent of crf)
Based originally on iiDrakeii's "Tiered FFMPEG NVENC settings depending on resolution" plugin.
Fixed an issue with processing ts files as well as modified the check
for already processed to check video encoding, video resolution height,
and audio codec.
Improved handling of bitrates (especially when video bitrate could not be determined). Instead of failing when bitrate is NaN, use a sensible default. Bug fixes.
- Added another 25% to resulting HEVC bitrate (Personal Preference)
- Better selection of best audio stream (Language/Channels/Bitrate) (Bug)
- Removed usage of Tdarr ffmpeg object in favor of internal object :-( (There was some mixing causing issues)
- Improved handling of converting video bit rate from 10 to 8 and 8 to 10 (Enhancement)
- Better handling of knowing when script has already been run on a file (Enhancement)
- Removed ffmpeg command output from script (Unnecessary)
- TODO: Need to move video decision out of stream loop similar to audio decisions
if inputs isn't defined, then inputs.container causes a plugin error that is not caught by the if(inputs.container == "")
this change checks the inputs first
1) Update both plugins transcode plugins with new "force_conform" option.
2) Add "png" to codec image types to be removed.
3) Update GPU plugin to check for 10Bit files instead of just HDR.
- Added @10% to target video bitrate
- Audio track selection now works better
- Added more to the documentation (A round the additional programs needed)
- Modified some of the user feedback to be clearer
- Cleaned up the usage of " vs. '
- Tested to work with the 10bit flag set to false
Change both ffmpeg plugins reQueueAfter to false. These plugins should not need to be requeued and worked on again.
Move mkv data stream check to after extraArguments var creation so that it works as intended.