1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't get the aspect ratio on X.264 right!

Discussion in 'Video to DVD' started by Gew, Jul 11, 2008.

  1. Gew

    Gew Member

    Joined:
    Feb 2, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    Oh, what a pity. I'm so sad, crying endlessly. Really need your help guys. I'll state my issue short. I just got a DV camera (I'm pretty/totally new on this whole video stuff anyways) and want to preserve my footage in a smooth way, where both quality _and_ those megabytes of storage is a real issue.

    So, I found that H264/X264 would be the perfect sollution, where X264 even offers a 'lossless' option for those really great moments (weddings, funerals, etc). So, perfect, I thought.

    Everything works fine. I needed a simple ACM hook that could integrate the encoder directly into Sony Vegas encoding options. So, X264vfW (http://sourceforge.net/projects/x264vfw/) seemed like the best solution around. Worked like a charm - almost(!!).

    Let me start from the beginning. My raw DV video is 720x576 (DAR 4:3). At first, when I encoded the video as MPEG1/MPEG2 streams, they appeared correct in my "to-be-burned-as-dvd simulation" (which I used Nero Vision for), with only some "black area" in the top/bottom area, just like when you watch a movie on your 4:3 television, if you know what I mean.

    However, then when I finally got to try out the Xvid codec, annoying black field in (not only) the bottom/top area appeared in the Nero Vision preview, but also in the left/right. From what I've heard, this flaw(?) is what's called "letterboxing", "panscan", or whatever.

    However, I'm not that interested in all the tech stuff, 'cuz I really just need a simple template to get the (to me) proper 4:3 look in my DVD 4:3 project. So, anyways. I was stuck to the more-megabyte-demanding MPEG2 encoding,, until..! One day, I found a new tab in the Xvid encoding dialogue box. I could chose encoding "via" Display Aspect Ratio (with choices square, 4:3, 16:9) and Pixel Aspect Ratio (same values). I had guessed that default would do, since I assumed that 4:3 _were_ default. However, just-simply-because, I tried entering DAR/4:3 and push just one more encode. Whoa, when I dragged the .avi into my Nero Vision project and previewed it, it looked alright. No loss of the video (croping or what-so-ever), just wonderful.

    So, anyways..

    Now I'm sitting here with the X264 codec. The problem is, I can't find any DAR/PAR dialogue (or even a command-line syntax for the pure x264.exe). All I find is a setting over "Sample Aspect Ratio". So, I've done some research, and found that SAR is apparantely the same as PAR, just a more "l33t" way of saying it, an expression to be used only by the most wise of the four wise guys, so to speak! ^^ Cool, so I tried entering "4:3" for SAR value; pushed encode. But when I drag the resulting .AVI file to my Nero Vision project, I have those annoying black "letterbox" (???) fields in the left plus right. Gaaaaaaaaaaaah, I thought I'd never have to see them again.

    I'm really stuck, and I only need a quick and easy "newbie template" on how to set this with X264. The worst answer I can get on this post is "I'm sorry, but you can't!". That would make me cry out a river. However, I hope for someone to have a smooth solution.

    Thanks for every single answer. And please excuse me for my poor english, I'm a Scandinavian boy under stress.
     
  2. Gew

    Gew Member

    Joined:
    Feb 2, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    So, after a bit more of research I guess my question would be: What's the correct Sample AR value for ordinary 720x576 DV material over DAR 4:3..? Would that be 12:11? Strange, in that case. I sort of tried 12:11 first thing I did ('cuz I had those digits somewhere in the back of my head, dunno where they came from, really), but it didn't work out.
     

Share This Page