Jellyfin Forum
Error h264_vaapi works but there is scaling but why - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Error h264_vaapi works but there is scaling but why (/t-error-h264-vaapi-works-but-there-is-scaling-but-why)



Error h264_vaapi works but there is scaling but why - Richárd Nemes - 2025-01-27

Hi, why does it scaling the video?

libx264 doesn't resize it, but vaapi does.


libx264 works, no scaling
code:
PHP Code:
{
        "level"30,
        "ui"255,
        "uilp"255,
        "platform"1,
        "device""/dev/dri/renderD128",
        "low_power"false,
        "async_depth"2,
        "desired_b_depth"0,
        "b_reference"0,
        "rc_mode"0,
        "qp"0,
        "qmin"0,
        "qmax"0,
        "bit_rate"0,
        "max_bit_rate"0,
        "buff_factor"3,
        "bit_rate_scale_factor"0,
        "hw_denoise"0,
        "hw_sharpness"0,
        "quality"0,
        "deinterlace"true,
        "height"0,
        "scaling_mode"0,
        "hwaccel"false,
        "pix_fmt": -1,
        "name""libx264",
        "description""libx264",
        "codec_name""libx264",
        "profile": -99


h264_vaapi works but there is scaling but why?
PHP Code:
{
        "level"30,
        "ui"255,
        "uilp"255,
        "platform"1,
        "device""/dev/dri/renderD128",
        "low_power"false,
        "async_depth"2,
        "desired_b_depth"0,
        "b_reference"0,
        "rc_mode"0,
        "qp"0,
        "qmin"0,
        "qmax"0,
        "bit_rate"0,
        "max_bit_rate"0,
        "buff_factor"3,
        "bit_rate_scale_factor"0,
        "hw_denoise"0,
        "hw_sharpness"0,
        "quality"0,
        "deinterlace"true,
        "height"0,
        "scaling_mode"0,
        "hwaccel"false,
        "pix_fmt": -1,
        "name""vaapi_x264",
        "description""vaapi_x264",
        "codec_name""h264_vaapi",
        "profile": -99


How to fix? thankyou
{ds


RE: Error h264_vaapi works but there is scaling but why - gnattu - 2025-01-27

We can tell nothing from what you posted... We cannot even understand the problem you are having.


RE: Error h264_vaapi works but there is scaling but why - Richárd Nemes - 2025-01-27

(2025-01-27, 06:04 PM)gnattu Wrote: We can tell nothing from what you posted... We cannot even understand the problem you are having.
libx264 has no scaling problem here.
   

h264_vaapi scaling problem.