View Full Version : Vapoursynth: Correct DVD/SD-BD Aspect Ratios
jay123210599
6th March 2026, 17:11
I have a bunch of DVD and SD on Blu-Ray sources that are in the wrong aspect ratio. How do I correct them? Is there a tool from Vapoursynth for this?
Columbo
6th March 2026, 20:10
I have a bunch of DVD and SD on Blu-Ray sources that are in the wrong aspect ratio. What's your evidence for "wrongness" for that? Best to link us to a disk. It's so hard to troubleshoot things when there are undocumented assumptions/analysis.
jay123210599
6th March 2026, 21:37
Here's my evidence. Take a look at these images of my sources and the video info for them, especially the aspect ratio.
What's your evidence for "wrongness" for that? Best to link us to a disk. It's so hard to troubleshoot things when there are undocumented assumptions/analysis.
USBD (SD on BD) (https://imgbox.com/hlfVi9zs):
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings : CABAC / 5 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 5 frames
Format settings, Slice count : 4 slices per frame
Codec ID : V_MPEG4/ISO/AVC
Duration : 25 min 46 s
Bit rate mode : Variable
Bit rate : 4 700 kb/s
Maximum bit rate : 33.0 Mb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Original display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.454
Stream size : 866 MiB (90%)
Writing library : x264 core 157 r2935 545de2f
Encoding settings : cabac=1 / ref=6 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=10 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-3 / threads=15 / lookahead_threads=1 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=tff / bluray_compat=1 / constrained_intra=0 / bframes=3 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=1 / weightp=0 / keyint=30 / keyint_min=1 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=4700 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=33000 / vbv_bufsize=30000 / nal_hrd=vbr / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : No
Forced : No
Color range : Limited
Color primaries : BT.601 NTSC
Transfer characteristics : BT.601
Matrix coefficients : BT.601
Original source medium : Blu-ray
JP DVD (https://imgbox.com/sBSynjbn):
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : M=3, N=15
Format settings, picture structure : Frame
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 25 min 14 s
Bit rate mode : Variable
Bit rate : 8 587 kb/s
Maximum bit rate : 9 800 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.829
Stream size : 1.51 GiB (93%)
Default : Yes
Forced : No
US DVD (https://imgbox.com/PbtQlcU9):
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format settings, GOP : Variable
Format settings, picture structure : Frame
Codec ID : V_MPEG2
Codec ID/Info : MPEG 1 or 2 Video
Duration : 25 min 46 s
Bit rate mode : Variable
Bit rate : 6 325 kb/s
Maximum bit rate : 9 400 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.611
Time code of first frame : 01:48:24;11
Time code source : Group of pictures header
GOP, Open/Closed : Open
Stream size : 1.14 GiB (94%)
Language : English
Default : No
Forced : No
Original source medium : DVD-Video
Columbo
7th March 2026, 07:09
What's wrong about it?
jay123210599
7th March 2026, 12:06
What's wrong about it?
Take a look at this comp and see if any of my sources are in the correct aspect ratio: https://slow.pics/c/Cg4zpj3U
Columbo
7th March 2026, 12:15
You gave 3 MediaInfo traces and I asked what's wrong with them. They all appear to be 4:3. What is your issue?
jay123210599
7th March 2026, 14:41
If you don't answer my questions I won't try to help anymore.
You gave 3 MediaInfo traces and I asked what's wrong with them. They all appear to be 4:3. What is your issue?
I found this at a website:
"DVDs (and later SD Blu-rays) are stored in a format known as "anamorphic video". This means that the stored video dimensions differ from the intended display dimensions. A typical NTSC DVD stores video at 720×480 pixels (a 3:2 aspect ratio), but displays it at either widescreen (16:9) or standard definition (4:3) aspect ratios.
To achieve the correct display size, DVDs make use of a Sample Aspect Ratio (SAR), also known as a Pixel Aspect Ratio (PAR). This value tells the player how much to stretch each pixel. The system was designed for CRT televisions, which had overscan, meaning they would stretch and slightly crop the edges of the image, which allowed the image to reach its intended Display Aspect Ratio (DAR).
During the DVD era, content was typically confined to a smaller active area within the full frame. When played on CRT televisions, the combination of overscan and stretching would display this active area at the intended aspect ratio while cropping the frame edges. Modern displays lack these characteristics, so DVDs will display incorrectly unless you account for the active area and apply appropriate corrections during the remux process."
I'm guessing my problem is that my SAR/PAR values for my sources are wrong? Or is it the aspect ratios?
Columbo
7th March 2026, 17:36
my problem You still haven't clearly stated what your problem is. I'm going to guess that you have a DVD that you've ripped and you think it should display as anamorphic but it doesn't. Looking at your MediaInfo trace for the USA DVD, it's clear that it is NOT anamorphic.
Display aspect ratio: 4:3 with 720×480 and no Pixel Aspect Ratio field shown means square pixels, 4:3 display. This is either a fullscreen (4:3) title, or a non-anamorphic letterboxed transfer with bars baked in.
No PAR entry at all is consistent with 1:1 pixels.
Z2697
7th March 2026, 18:21
Mediainfo doesn't show a PAR field by default but it should be implied by the discrepancy of the resolution's ratio and DAR.
PAR will be shown in advanced mode.
The problem is the "thin" black bars in the side is not considered a part of that "4:3" ratio.
Columbo
7th March 2026, 18:28
A VOB sample would be helpful.
If it truly is anamorphic then we need to know what you are playing it in. If you are just sourcing it to vapoursynth then it won't be automatically stretched. Just use appropriate resizing.
jay123210599
7th March 2026, 19:29
A VOB sample would be helpful.
If it truly is anamorphic then we need to know what you are playing it in. If you are just sourcing it to vapoursynth then it won't be automatically stretched. Just use appropriate resizing.
Here's a sample: https://www.mediafire.com/file/yri0ftwflsh08kz/VTS_01_5.VOB/file
I'm playing it in vspreview.
Columbo
7th March 2026, 22:25
Chop the sides to trim the black bars and then resize to 640x480. That will be close enough. It is not 16:9 anamorphic.
jay123210599
8th March 2026, 00:06
Chop the sides to trim the black bars and then resize to 640x480. That will be close enough. It is not 16:9 anamorphic.
Is there an auto cropper for Vapoursynth?
Columbo
8th March 2026, 12:19
Yes there is but manual cropping is just fine IMHO.
hello_hello
8th March 2026, 22:39
The aspect ratio is what it's supposed to be, but then there's the picture wobble and field blending. I don't know if there's an automated way to clean it up completely, or if there's a working SRestore for Vapoursynth, but as a starting point in Avisynth, maybe something like....
TDeint(mode=1)
SRestore(24000.0/1001.0)
Stab()
CropResize(640,480, 10,2,-10,-4, InDAR=15.0/11.0) # same as an input sample aspect ratio of 10:11
FineDehalo()
Prefetch(12)
VTS_01_5 cropped-resized.mkv (https://files.videohelp.com/u/210984/VTS_01_5%20cropped-resized.mkv)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.