Hi all,
I'm trying to combine two MKVs ripped from a DVD. One is in a 4:3 type aspect ratio, and the other is in 16:9, so I wanted to add black bars to the 4:3 video and then combine it using MKVToolnix.
However, I can't figure out how to do this and have the file resolution line up. My initial attempt was to run, this however told me "The width of the two tracks is different: 720 and 852".Code:ffmpeg -i STEEN_DISC1.mkv -filter:v "pad=ih*16/9:ih:(ow-iw)/2:(oh-ih)/2" -c:a copy STEEN_DISC1.169.mkv
It turns out that both files have the same resolution, but different display resolutions, from the info tool:
File 1:
Pixel width: 720
Pixel height: 480
Display width: 640
Display height: 480
File 2:
Pixel width: 720
Pixel height: 480
Display width: 853
Display height: 480
How can I add black bars to file 1 in a way that will allow me to combine it with file 2?
Thanks!
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 4 of 4
Thread
-
-
Hey, thanks for the nudge in the right direction!
The command that worked for me in the end was:
Code:ffmpeg -i STEEN_DISC1.mkv -map 0 -filter:v "scale=538:480,pad=720:ih:(ow-iw)/2:(oh-ih)/2" -c:a copy -c:v mpeg2video -qscale:v 0 STEEN_DISC1.169.mkv
Similar Threads
-
How to merge 2 MKVs with different contents/tracks?
By Guphanti2 in forum EditingReplies: 5Last Post: 1st Nov 2022, 22:00 -
Joining MKVs and having Chapters easily
By magnu in forum Video ConversionReplies: 0Last Post: 27th Apr 2022, 22:30 -
Are MKVs with Cover Art worth it?
By seanmcnally in forum Software PlayingReplies: 3Last Post: 23rd Jan 2022, 14:59 -
Batch remuxing MKVs with subtitles
By Nico Darko in forum Video ConversionReplies: 12Last Post: 18th Mar 2021, 13:04 -
Playing MKVs in 1080p or 1080i
By Nico Darko in forum DVD & Blu-ray PlayersReplies: 24Last Post: 10th Sep 2019, 22:16