I encountered this issue while using MakeMKV to process a DVD.
It appears the DVD author incorrectly set the vob files' aspect ratios to 4:3 when in fact the correct video playback is at 16:9.
I've not been able to find an option to fully correct this using either mkvtoolnix or ffmpeg.
Ordinarily with H264 video this is easily corrected with ffmpeg using -bsf:v "h264_metadata=sample_aspect_ratio="
I've tried using -bsf:v "mpeg2_metadata=sample_aspect_ratio=32/27"
but that returned an error as apparently that filter option for mpeg2 does not exist.
Here's the mediainfo of the video I'm working with (mpeg2 codec in mkv container)
I simply need to modify the "originals" to match the new override values.Code:"Width":"720", "Height":"480", "Sampled_Width":"720", "Sampled_Height":"480", "PixelAspectRatio":"1.185", "PixelAspectRatio_Original":"0.889", "DisplayAspectRatio":"1.778", "DisplayAspectRatio_Original":"1.333",
If done correctly, the new mediainfo should look like this:
Code:"Width":"720", "Height":"480", "Sampled_Width":"720", "Sampled_Height":"480", "PixelAspectRatio":"1.185", "DisplayAspectRatio":"1.778",
+ Reply to Thread
Results 1 to 8 of 8
-
-
Use clever Ffmpeg-GUI.
Load your mpeg2 video, click main page, click various, click change DAR.
Insert 1.78, click change DAR, done. -
I've tried using -bsf:v "mpeg2_metadata=sample_aspect_ratio=32/27"
but that returned an error as apparently that filter option for mpeg2 does not exist.users currently on my ignore list: deadrats, Stears555, marcorocchini -
Thanks, that did the trick.
I had to redo my previous 16:9 flags in mkvtoolnix to modify 1.78 to 1.778 but now I have the desired mediainfo output:
Code:"Sampled_Width":"720", "Sampled_Height":"480", "PixelAspectRatio":"1.185", "DisplayAspectRatio":"1.778",
I wouldn't mind knowing the commandline syntax for it. -
Just question. Isn't better to use fractions instead of insert direct values? I know there isn't basically any difference between 1,78 vs 16/9 in video but fractions are precise and not at all difficult to use them.
-
Yeah I think that's right. I prefer 32/27 PAR and 16/9 DAR in every instance where it's allowed.
Clever FFMPEG GUI disallowed any value other than 1.78 though, much to my chagrin.
But afterwards in mkvtoolnix I reset the display values to 16 and 9 so all is well now.
Clever FFMPEG GUI performed the desired task of getting rid of whatever dumb header remnants were generating 8/9 and 4/3 "PixelAspectRatio_Original" and "DisplayAspectRatio_Original" in mediainfo. -
-
Similar Threads
-
Modify stream PAR without reencoding
By bkqc in forum Video ConversionReplies: 28Last Post: 1st Dec 2022, 18:13 -
How to modify Hauppauge WinTV ffmpeg converting command
By neroman00 in forum Video ConversionReplies: 27Last Post: 20th Jun 2022, 01:43 -
modify script
By filipino in forum Video Streaming DownloadingReplies: 6Last Post: 2nd Jan 2022, 18:06 -
TapeName metadata how to modify ?
By chrisbati in forum Newbie / General discussionsReplies: 4Last Post: 24th Mar 2021, 22:52 -
Level() - And Why Does It Also Modify Chroma
By Okiba in forum RestorationReplies: 43Last Post: 14th Nov 2020, 08:42