[FFmpeg-user] Remove black border on both up/down and left/bottom
Richard Bartczak
richard.bartczak at gmx.de
Fri May 23 03:04:18 EEST 2025
Am 23.05.25 um 01:49 schrieb Mark Filipak:
> On 20/05/2025 08.16, Richard Bartczak via ffmpeg-user wrote:
>> Hello,
>>
>> 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
>
> There are no black borders in the pictures. Your player is applying
> SAR to get 768x576 and then adding the black borders for your 16x9
> display.
>
> _______________________________________________
> 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".
Yes of course :
... by me : There is mothing to crop.
But I agree the "Head : Remove black border ..." is not the best
formulation.
To make it complete, again :
Only the syntax must be changed : -vf
scale=720x576,setsar=64/45,setdar=16/9 then I get 720x576 [SAR 64:45 DAR
16:9]
But the video quality is very bad. I did try it with -crf 0, but this
parameter will not be used by ffmpeg in this context.
Is there a way not use somethung like that : -vcodec libx265 -crf 16 to
improve the video quality ?
Best regards
Richard
More information about the ffmpeg-user
mailing list