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

Richard Bartczak richard.bartczak at gmx.de
Fri May 23 01:46:37 EEST 2025


Am 20.05.25 um 14:16 schrieb Richard Bartczak via ffmpeg-user:
> 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
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

What I have : 720x576 [SAR 16:15 DAR 4:3]

What I want : 720x576 [SAR 64:45 DAR 16:9]

What I get if I use -vf scale=720:576,setsar=64:45,setdar=16:9

will be the following : 720x576 [SAR 221:125 DAR 221:100]

Therefore the question, what I must do, to get with -vf the following 
result :  720x576 [SAR 64:45 DAR 16:9]

There is mothing to crop.

Best regards

Richard





More information about the ffmpeg-user mailing list