[FFmpeg-user] overlay_qsv with hardware decode and encode

BloodMan bloodman at gmail.com
Fri Feb 28 22:26:38 EET 2025


Hi Vladimir,

W dniu 2025-02-28 o 20:21, Vladimir Mishonov via ffmpeg-user pisze:
> ffmpeg \
>   -hwaccel vaapi -hwaccel_output_format vaapi -i rtmp://localhost/stream1 \
>   -hwaccel vaapi -hwaccel_output_format vaapi -i rtmp://localhost/stream2 \
>   -filter_complex "[0:v][1:v]overlay_vaapi=w=500" \
>   -c:v h264_vaapi -global_quality 25 -g 50 -r 25 -an -f null -
> 
> And no, putting "scale_vaapi" before overlay here does not help.

I see on previous posts that resolutions are different, but also frame 
rates are different and colour spaces (bt709 vs "") are different.

Are you really sure the problem is the resolution?
(I have no way to check, I'm just thinking out)



-- 
BloodMan


More information about the ffmpeg-user mailing list