The aspect ratio on my ripped footage is different

The old Video Software Help forum, left visible as an archive.
User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Thu Jul 20, 2006 7:54 pm

VirtualDub's resize filter can do it. Just make sure that the borders (and by extension, the viewable area) are both multiples of 16 - i.e. for true 16:9 footage, get the viewable area to 640x352 and add 64-pixel borders to the top and bottom. The explanation for this (because by VDMod_Resize's calculations it would normally be 640x368) is because having the border between letterbox and actual footage in the middle of a macroblock causes garbage at the edges. A height of 368 would make even borders on a 480-height video be 56 pixels each - 3.5 16x16 macroblocks, which causes problems. 352 makes it an even 4, and solves that issue (it also technically makes the image 9:5 ratio instead of 16:9, but most people can't really tell the difference).

The regular resize filter handles this by enabling the Letterboxing option, just input the intended height.

Example:
Image

I don't know whether WMM natively lets you work with 640-width images, though (actually, not so much that it won't let you work with them, but moreso whether it'll let you export them, since it's always a good idea to export at the dimensions of your source rather than let the editing program do any resizing - that's the job of postprocessing software). If you need them in 720-width, just change the width value on the top.

But generally, yes, AviSynth would be the easier option, as it would only require a script like, say:

Code: Select all

AVISource("test.avi").LanczosResize(640,352).AddBorders(0,64,0,64)
And then you'd just have to export that from VirtualDub as another AVI (or make a fake AVI with whatever tool does that, but I generally distrust stuff like that).


All of that is assuming you're working with anamorphic footage rather than video that's already letterboxed.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

User avatar
MarlinBeta
Joined: Sat Oct 16, 2004 9:23 pm
Location: Michigan, United States
Contact:
Org Profile

Post by MarlinBeta » Thu Jul 20, 2006 8:08 pm

Yeah. I'm actually working with anime raws ripped from Japan TV, so I'm not sure if the original widescreen video is true 16:9, however I've been editing those "wide" anime clips in the 16:9 format and it all seems to be working fine. I've worked with video editing software before (mostly movie maker) but I've never attempted to mix widescreen and full screen. This will be an interesting endeavor for me. Any other advice?
Murder of the body is tragic, but murder of the idea is unforgivable.
>> Anime Watch List <<

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Thu Jul 20, 2006 9:35 pm

Not really, as far as WMM is concerned. I don't use it, and have next to nil experience with it.

Seeing as how these are RAWs you're working with, it may be possible that they're billed as 120fps (or 119.something fps). If that's the case, use the avi_tc utility to remove the null frames, which saves a lot of unneeded frustration. It can be found here:
http://www.missouri.edu/~kes25c/#c3

The reason some RAWs are made as 120fps is because they mix 23.976fps and 29.97fps video, something which AVI doesn't support. Inserting null frames to get the two to match the least common denominator (120, or 119.something) allows those two framerates to be mixed, but that's a pretty nasty hack. VirtualDub, unfortunately, sees those null frames as real frames, and you wind up with more frames than you'd want to (and using Decimate or whatever else to handle it isn't foolproof), which slows down editing and causes other problems. What avi_tc does is completely make it irrelevant by removing those null frames, thus restoring the video to how it should be (although the output will be a single framerate; sections will be slower or faster or whatever, but for editing that kind of stuff doesn't matter).

In addition to that, it would only be to use a lossless codec (like HuffYUV or Lagarith) to edit with. I can't think of anything else.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “Video Software Help Archive”