I'm having difficulty removing black borders from an mp4 with Handbrake. I'm a novice. I think I want the image to stretch/distort rather than crop, but I'm also wondering if it thinks that the black borders on the top and bottom are part of the picture, so maybe a crop would work better? Bizarrely, in my first attempt, the black borders had shrunk to an acceptable width, but later when I re-opened it, it had reverted back to wide borders. I've attached an image of the dimensions tab. Can someone tell me what values to enter?
[Attachment 92497 - Click to enlarge]
+ Reply to Thread
Results 1 to 6 of 6
-
-
It looks like you have a 16:9 video inside a 4:3 frame.
If you allow it to crop, you can either encode as-is, 1440x812, or resize it down slightly to 720p - 1280x720
or resize it up to 1920x1080 -
Thanks. I tried all three of those settings, but there's still a thin black border at the top and bottom.
-
-
Also ffmpeg can be used :
ffmpeg -ss 150 -i "yourvideo.mp4" -vframes 100 -vf cropdetect -f null -
Output :
The respective ffmpeg command :Code:[Parsed_cropdetect_0 @ 0x558ad3259280] x1:10 x2:1089 y1:0 y2:607 w:1072 h:608 x:14 y:0 pts:33 t:0.033000 crop=1072:608:14:0 I must confess, Handbreake did to much for me, I prefer all to understand what to do with the respective video. [Parsed_cropdetect_0 @ 0x558ad3259280] x1:10 x2:1089 y1:0 y2:607 w:1072 h:608 x:14 y:0 pts:50 t:0.050000 crop=1072:608:14:0 [Parsed_cropdetect_0 @ 0x558ad3259280] x1:10 x2:1089 y1:0 y2:607 w:1072 h:608 x:14 y:0 pts:67 t:0.067000 crop=1072:608:14:0 [Parsed_cropdetect_0 @ 0x558ad3259280] x1:10 x2:1089 y1:0 y2:607 w:1072 h:608 x:14 y:0 pts:83 t:0.083000 crop=1072:608:14:0
I prefer ffmpeg, and know what I do.Code:ffmpeg -i yourvideo.mp4 -filter:v "crop=1072:608:14:0" -c:a copy out.mkv
Similar Threads
-
Filling black borders in Fullscreen mode
By butterw in forum Software PlayingReplies: 133Last Post: 5th Feb 2025, 13:10 -
What are the Black borders at side of my Video in VSDC?
By Frank Sebem in forum Newbie / General discussionsReplies: 6Last Post: 24th Aug 2023, 07:59 -
ffmpeg: Portrait video with black borders gets stretched / cropped
By rebus_x in forum Video ConversionReplies: 4Last Post: 6th Aug 2022, 00:47 -
Auto Crop Black Borders
By m00511 in forum Video ConversionReplies: 17Last Post: 4th Apr 2022, 22:03 -
FFmpeg - how to remove black borders when resizing an image
By mapg in forum Newbie / General discussionsReplies: 4Last Post: 3rd Jun 2021, 05:04


Quote
