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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Gew
    Dysfunctional
    • Jul 2008
    • 4

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

    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.
Working...