Jump to content

TerraMaster transcoding / conversion and HW Acceleration


Recommended Posts

Posted

I am running Emby on a T6-423 that has

Hardware Transcoding Engine:  H.264, H.265, MPEG-4, VC-1;maximum resolution: 4K (4096 x 2160); maximum frame rate per second (FPS): 60

I do not run TOS, but use debian based dietpi.

user@system:~# cat /etc/*-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

user@system:~# cat /proc/version
Linux version 6.1.0-41-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09)

When I try to run a video conversion, I am getting a variety of errors that prevent using HWA (depending on options / config).

Some error topics:

  1. Something about PGS subtitles
  2. Something about Tonemapping
    1. "[tonemap_opencl@f4 @ 0x32cf5640] Failed to enqueue kernel: -5.
       Error while filtering: Input/output error
       Failed to inject frame into filter network: Input/output error
       Error while processing the decoded data for stream #0:0"
  3. "Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height"
  4. "[hevc_qsv @ 0x8c158c0] Selected ratecontrol mode is unsupported
     [hevc_qsv @ 0x8c158c0] Low power mode is unsupported
     [hevc_qsv @ 0x8c158c0] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters."

 

HW detection shows the graphics card is recognized as JasperLake UHD

"DeviceIndex": 0,
            "DeviceInfo": {
                "VendorName": "Intel Corporation",
                "DeviceName": "JasperLake [UHD Graphics]",
                "SubsytemVendorName": "Intel Corporation",
                "VendorId": 32902,
                "DeviceId": 20053,
                "SubsytemVendorId": 32902,
                "SubsytemDeviceId": 8722,
                "DevPath": "/sys/bus/pci/devices/0000:00:02.0",
                "DrmCard": "/dev/dri/card0",
                "DrmRender": "/dev/dri/renderD128",
                "IsEnabled": 1,
                "IsBootVga": 1,
                "ApiVersionMajor": 1,
                "ApiVersionMinor": 22,
                "Driver": "Intel iHD driver for Intel(R) Gen Graphics - 23.4.3 (a9f272496)"

but has no encoders

            "Encoders": [

            ],

 

Is there an underlying driver issue here? I am maybe missing a plugin?

I've attached my hardware detection and a couple transcode/conversion attempt logs. I am also getting a set of tests started using the "Transcoding Tests" plugin.

 

ffmpeg-transcode-e7e1c22b-f446-4c38-8a76-690c6d7c4bce_1.txt ffmpeg-transcode-9dec1fa3-8584-476e-82e5-f5a297fee184_1 (VAAPI).txt hardware_detection-63899422812.txt ffmpeg-transcode-0fed29fa-c556-48f8-9558-c42c59c8393f_1.txt ffmpeg-transcode-66f395c3-6f8b-46f8-bb3d-d0b27dc5ef3b_1 (QuickSync).txt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...