I'm trying to transcode an 854x480 h264 mp4 video to an h265 mp4 video using vaapi.
The video does come out nice looking, and is encoded very quickly. But there is a black bar on the right side of the video. If I change my command to upscale to 1280x720 this does not happen.
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i 1.mp4 -c:v hevc_vaapi -vf scale_vaapi=854:480 -ss 00:00:0.0 -t 10 -maxrate 400 output.mp4