[FFmpeg-user] Remove black border on both up/down and left/bottom
Richard Bartczak
richard.bartczak at gmx.de
Fri May 23 03:18:01 EEST 2025
Am 23.05.25 um 02:07 schrieb Mark Filipak:
> On 22/05/2025 20.04, Richard Bartczak via ffmpeg-user wrote:
>> 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.cribe".
>>
>> 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 ?
>
> What is your FFmpeg command line, 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".
ffmpeg -i "1492-Die Eroberung des Paradieses.ts" -crf 0 -vf
scale=720x576,setsar=64/45,setdar=16/9 -c:a copy out.ts =>
bad quality, but speedx >= 8
ffmpeg -i "1492-Die Eroberung des Paradieses.ts" -vcodec libx265 -crf
16 -vf scale=720x576,setsar=64/45,setdar=16/9 -c:a copy out.ts =>
acceptable quality, but speedx <= 0.5
More information about the ffmpeg-user
mailing list