Skip to content

Boosh-Transcode Using QSV Plugin - Support hvec yuv444 Main10 transcode #848

@dsolva

Description

@dsolva

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions