[FFmpeg-user] Remove black border on both up/down and left/bottom

Richard Bartczak richard.bartczak at gmx.de
Tue May 20 15:16:42 EEST 2025


Hello,

video recorded for 4/3 :

Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
yuv420p(tv, bt470bg, top first), *720x576 [SAR 16:15 DAR 4:3]*, 25 fps, 
25 tbr, 90k tbn

(container ts).

What I want to have is something like that :

Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), 
yuv420p(tv, top first), *720x576 [SAR 64:45 DAR 16:9]*, 25 fps, 25 tbr, 
90k tbn

Did some tries with -vf scale=720:576,setsar=64:45,setdar=16:9 or 
something like that. But the result neither have the expected size nor 
the video quality will be acceptable.

To resize the video via TV-settings will be possible, I hope the 
transformation will also be possible without reencoding.

Any idea what to do ?

Best regards

Richard



More information about the ffmpeg-user mailing list