When I go to make script from the D2V file I created, it really messes up my AR, I don't know why. The only way I can fix it is to resize the whole thing, and that uses a filter which is against the rules. I'll post some screens to show you what is happening. In MPC it plays fine and looks good, but for some reason the D2V makes it all scrunched up.
here are some of my files
https://dl-web.getdropbox.com/get/VTS_01_1.avs?w=89dd19e1
https://dl-web.getdropbox.com/get/VTS_01_1.d2v?w=09bd0100
does anyone know what the problem is and how to fix it?
+ Reply to Thread
Results 1 to 14 of 14
-
-
Originally Posted by llmercll
Read up on "anamorphic"
DGIndex will display as 1:1
If you want you can encode the stream as anamorphic to match, or use container level signalling to match (essentially these "strech" the image upon playback, much like dvd material is either 4:3 or 16:9), or resize and use 1:1 -
DGindex does the same thing =(
it looks like "frame size" is the right ratio (PAL)
but display size is that nasty square squish.
I really don't know much about this stuff and felt accomplished by simply learning meGUI lol
I don't want to change the resolution either, I want it to be the way it is when I play the DVD in the player. I don't understand anamorphic either, it seems retarded and looks ugly as hell -
I got an error to your links.
Nevertheless, what are you attempting to achieve or, rather, what is the target format you're looking to encode to - H.264, MPEG-2/DvD, DivX, iPod, blu-ray, ... , ? The "rules" are different for each and I'm confused when you talk about DvD encoding and MeGUI encoding - rather different schemes.
And tell us a bit about your source as well.
As well, I wouldn't take too much stock in preview modes - they are not always accurate, or at "face value" anyway. "Display" is not synonymous with "decode", or even "encode".
In the meantime, you'd be glad you did some reading up on display aspect ratio (DAR) and pixel/sample aspect ratio (PAR or SAR). It should take the fogginess out of the anamorphic thingy.
Also, here's an equation and you'll never go wrong:
Width / Height = DAR / PARI hate VHS. I always did. -
DgIndex shows you the image unscaled so you see it pixel-for-pixel. If you encode with the original frame size and the proper PAR/DAR flags the player will adjust the image to the correct AR as it plays it. Or you can resize the frame so that it matches the DAR and use square pixel encoding.
-
OK. When I play the DVD in media player classic, it looks good, albeit some small black bars on top and bottom.
when i encode it, and complete the encode, and play that file, it has the messed up aspect ratio, where everything is squished together, or Anamorphic.
are you guys saying the actual video pixels and resolution are that nasty squish? and that the dvd is what scales it to look good? so there's something in the dvd making it look good.
i mean its the same player, on the same computer, with teh same settings.
also, I'm encoding a dvd using x264. i just want to make a decent looking 1.5g mkv, and i want the SAME aspect ratio that the dvd plays it as
puzzler, are you sure the links arent working? they work fine for me =( -
http://img7.imageshack.us/gal.php?g=43225568.jpg
there is an alternate upload for you puzzle just in case.
when i click "show DAR" it looks good (included photo untitles 5) but if thats unchecked its teh nast -
are you guys saying the actual video pixels and resolution are that nasty squish?
when i encode it, and complete the encode, and play that file, it has the messed up aspect ratio, where everything is squished together, or Anamorphic.
...and i want the SAME aspect ratio that the dvd plays it as
puzzler, are you sure the links arent working? they work fine for me =( -
If you want it exactly like the DVD, i.e. same frame size, no cropping, and you have a 720x576 16:9 PAL source, enter --sar 64:45 in the command line box. How do I know 64:45 is the correct value?
Display Aspect Ratio = Frame Aspect Ratio x Pixel Aspect Ratio
16/9 = 720/576 x 64/45
In MeGUI, the SAR is the sample aspect ratio, which is the same thing as the Pixel Aspect Ratio. This will encode the video anamorphically at the stream level. Note the preview won't show this (it will still preview as 1:1)
You can keep 1:1 SAR (i.e. square pixels), and "Fix" it later, but just using mkvmergegui or mp4box (yamb) to signal it in the container to stretch. -
if only you came along later mate....i just did a bunch of reading today on sar and dar and ar and all that crap.
i did exactly what you said (before i read the post) and it fixed it!
i had to use a separate script to view my video frame by frame with itu and non itu and eye out which one was correct, and sure enough it was 64:45.
heres my script...
DGDecode_mpeg2source("D:\New Folder\VIDEO_TS\NEW.d2v", info=3)
ColorMatrix(hints=true, threads=0)
#deinterlace
crop( 0, 12, 0, -12)
#resize
#denoise
__film = last
__t0 = __film.trim(45076, 47088)
__t0
the final size was 720x 552, which is definitely different than PAL 16:9 but that's unavoidable because of the cropping no? -
If you crop it, the Frame Aspect Ratio value changes, so in the equation you have to enter 720/552 to figure out the new SAR (or PAR) value.
16/9 = 720/552 x SAR
You can still use the container level signalling method - this overrides everything else, but not all players will accept this. What are you watching this on? (pc, standalone, tvix etc...)? -
Originally Posted by poisondeathray
i play these on my laptop -
16/9 is the DAR
the SAR or PAR (they are the same in this regard), is the value you need to figure out, because the frame dimensions change when you crop. So you need to figure out the aspect ratio of the pixels (i.e. non-square) for the offset. Just solve the equation above (my math not so good...)
easier way is method #2, just put in 16/9 when you use mkvmerge - it will display as 16/9 regardless of any manipulation. Most PC software media players will acknowledge the DAR flag set in the container properly
most people use method#3, which is cropping borders and resizing with 1:1 PAR - compatible with 100% of players and standalone devices.
Similar Threads
-
aspect ratio
By devdev in forum Video ConversionReplies: 5Last Post: 19th Apr 2012, 17:31 -
Aspect Ratio Help
By darkdream787 in forum Newbie / General discussionsReplies: 1Last Post: 27th Oct 2011, 02:53 -
Aspect Ratio
By ping182nz7 in forum EditingReplies: 12Last Post: 26th Apr 2010, 13:30 -
Aspect ratio help
By kkiller23 in forum Newbie / General discussionsReplies: 5Last Post: 27th Sep 2008, 07:21 -
aspect ratio help
By thecrock in forum Newbie / General discussionsReplies: 2Last Post: 3rd Jan 2008, 13:41