So i have a source which is 540x720 if it matters. It was processed with a deshaker, and because of that there are occasional black borders, several pixels wide.
What happens is after encoding these black areas get filled by stretching the actual image. The width of the video stays 540. It seems to not happen with top/bottom fields, only the sides.
I noticed that the video is stretched even at moments when there is no borders, it's like the image just became wider by 4-5 pixels.
The right-hand black border got filled (covered) completely throughout the whole video, I guess that's what this stretch is.
I'd very much like to get rid of this but I don't know what exactly enables it. My command line is
Any help would be greatly appreciated.Code:ffmpeg -i input.avi -vf "colormatrix=bt601:bt709" -c:v libx264 -preset medium -crf 17 output.mkv
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
Similar Threads
-
FFmpeg - how to remove black borders when resizing an image
By mapg in forum Newbie / General discussionsReplies: 4Last Post: 3rd Jun 2021, 05:04 -
Can somone help me with these black bars/cropped image?
By Habibi in forum Software PlayingReplies: 3Last Post: 21st Mar 2021, 09:57 -
Add/Remove black borders in the top/bottom of a video without reencoding.
By November in forum EditingReplies: 10Last Post: 11th May 2019, 07:48 -
FFMPEG - Black Borders - [Please help]
By 21dresden21 in forum Video Streaming DownloadingReplies: 2Last Post: 12th Feb 2019, 07:51 -
VirtualDub loading stretched cropped videos?
By lordsmurf in forum Newbie / General discussionsReplies: 2Last Post: 6th Nov 2017, 03:03