2025-01-27, 05:26 PM
Hi, why does it scaling the video?
libx264 doesn't resize it, but vaapi does.
libx264 works, no scaling
code:
h264_vaapi works but there is scaling but why?
How to fix? thankyou
{ds
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