VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member
    Join Date
    Dec 2008
    Location
    United States
    Search Comp PM
    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?
    Quote Quote  
  2. Member
    Join Date
    May 2007
    Location
    Australia
    Search Comp PM
    Under 'Resolution crop' in MeGui, check the box next to Resize and either choose or let MeGui choose an aspect ration / resolution for you (eg: 624 x 352).

    on closes inspection of the stats pic and 640 x 272 would be more appropriate for 2.35.
    Quote Quote  
  3. Originally Posted by llmercll
    and that uses a filter which is against the rules.
    Against what rules?

    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
    Quote Quote  
  4. Member
    Join Date
    Dec 2008
    Location
    United States
    Search Comp PM


    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
    Quote Quote  
  5. Member PuzZLeR's Avatar
    Join Date
    Oct 2006
    Location
    Toronto Canada
    Search Comp PM
    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 / PAR
    I hate VHS. I always did.
    Quote Quote  
  6. 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.
    Quote Quote  
  7. Member
    Join Date
    Dec 2008
    Location
    United States
    Search Comp PM
    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 =(
    Quote Quote  
  8. Member
    Join Date
    Dec 2008
    Location
    United States
    Search Comp PM
    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
    Quote Quote  
  9. are you guys saying the actual video pixels and resolution are that nasty squish?
    Yes. It's a 720x576 16:9 DVD and gets resized at playback time to 1024x576 (576 x 16/9 = 1024).
    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.
    Unless you want to set a PAR in the video and have the player do the resizing (and not all will do that), then your best bet is to resize it yourself, perhaps after cropping away the black bars.
    ...and i want the SAME aspect ratio that the dvd plays it as
    Then resize it before encoding.
    puzzler, are you sure the links arent working? they work fine for me =(
    The links don't work.
    Quote Quote  
  10. 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.
    Quote Quote  
  11. Member
    Join Date
    Dec 2008
    Location
    United States
    Search Comp PM
    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
    it still says resize, but i definitely didn't do any resizing, only the cropping, which took off a bit from the top and bottom.

    the final size was 720x 552, which is definitely different than PAL 16:9 but that's unavoidable because of the cropping no?
    Quote Quote  
  12. 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...)?
    Quote Quote  
  13. Member
    Join Date
    Dec 2008
    Location
    United States
    Search Comp PM
    Originally Posted by poisondeathray
    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...)?
    ahh do you mean DAR? what if i do the cropping before examining the video for the SAR? will it be ok then?

    i play these on my laptop
    Quote Quote  
  14. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!