-
Notifications
You must be signed in to change notification settings - Fork 199
Description
So far the plugin has been extremely reliable, specially to select the appropiate ffmpeg parameters depending on the source.
This until i noticed that a few videos (from hvec) would not transcode with errors:
[dec:hevc_qsv @ 0x5b5673b69640] Decoding error: Internal bug, should not have happened
[dec:hevc_qsv @ 0x5b5673b69640] Decode error rate 1 exceeds maximum 0.666667
Making further research it seems (at least my gpu J4025 Gemini Lake Intel UHD Graphics 600) does not support 4:4:4 hvec chroma subsampling (yuv444p10le) decode.
I modified my local copy of the plugin to override and select software decode but still no success. The only way i could make it work is by using software decode with regular ffmpeg flow transcode with manual Main 10 filters and skip everythin else the plugin puts before input file:
tdarr-ffmpeg -y -i input_filename.mkv -c:0 hevc_qsv -preset veryslow -map 0:1 -c:1 copy ....
-vf format=p010 -pix_fmt p010le (this for main10)
output_filename.mkv
For the time being i have this last flow when the plugin fails, but if you want to implement and need me to test anything im will.