Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 15 Apr 2011, 05:32 PM   #1
Junior Member
Junior Member
 
Join Date: Apr 2011
Posts: 2
Default Wrong aspect ratio in Staxrip - Please help a dummy

Recently I switch from TMPGEnc to Staxrip because I wanted to be able to insert hard-subs into my rips (the original recording is .ts-file). Ever since I started using Staxrip I keep getting aspect ratio errors. This is what I do:

1. I play the unprocessed .ts-file in VLC, making sure picture ratio is set to standard (this is default in VLC).
2. I do a print screen and paste the screen shot into Paint (Start -> Run -> type mspaint and press return).
3. I use the Select-tool to select the portion of the picture I want to keep (i. e. black borders are left out). In the lower right corner in Paint I can read the size in pixels of the selected area. Let's assume the selected area was 704 x 562 pixels.
4. I take the pixel dimensions found in step 3 and put them into an Excel sheet. I then create a bunch of dimensions that have equal pixel ratios. For example:
704 562 (Original aspect ration is 1.253, with black borders cropped)

600 478.977 (This has aspect ration 1.253)
598 477.381 (This has aspect ration 1.253)
596 475.784 (This has aspect ration 1.253)
594 474.187 (This has aspect ration 1.253)
.
.
.

5. I pick an appropriate size (I usually make sure width x height is about 200000) and tell Staxrip to resize to that size (of course, I round the height to the closest even integer, thus introducing an error of less than 1%). I also crop and then start ripping.
6. When my ripped file is inspected for upload, I am informed it has 10% error in aspect ratio. How is this possible? Where did I go wrong? I am a newbie who doesn't know much about video technology so please keep your answers on a "dummy-level". Thank you.
snoffer is offline   Reply With Quote
Old 16 Apr 2011, 10:18 AM   #2
Eclectician
 
MilesAhead's Avatar
 
Join Date: Nov 2006
Posts: 2,615
Default

I haven't used StaxRip in a long time. But I believe it accepts AviSynth scripts(.avs files.) Rather than calculate by hand I would try loading your video clip into FitCD. Make sure on the right hand side Anamorphic is selected(if you are trying to get 16x9 output) and PAL checked or not as appropriate(unchecked for NTSC DVD.)

About 1/4 way down this thread is a mini-tutorial for FitCD:
http://forum.videohelp.com/threads/2...ect-ratio-woes

Don't worry if FitCD complains about no DirectShow filter or whatever. The only important thing is that it generates a script with the resize info. It will probably say LanczosResize(x,y,xx,yy) but you can change the size filter to whatever you want such as BilinearResize.. just use the numbers it gives. Also if it has a line AddBorders() use that line as suggested by the script.

Last edited by MilesAhead; 16 Apr 2011 at 10:22 AM
MilesAhead is offline   Reply With Quote
Old 16 Apr 2011, 05:54 PM   #3
Junior Member
Junior Member
 
Join Date: Apr 2011
Posts: 2
Default

Quote:
Originally Posted by MilesAhead View Post
...Make sure on the right hand side Anamorphic is selected(if you are trying to get 16x9 output) ...
Why would I in this case want to resize to a standard aspect ratio like 16:9 or 4:3? Since I cropped the black borders and the cropping was not done in proportion to the original aspect ratio, the aspect ratio has truly changed. By forcing it to be a standard aspect ration I would introduce do unnecessary stretching. The ratio I really want is 704:562.
snoffer is offline   Reply With Quote
Old 17 Apr 2011, 04:42 PM   #4
Eclectician
 
MilesAhead's Avatar
 
Join Date: Nov 2006
Posts: 2,615
Default

If you try FitCD you'll see what happens. Let it calculate the cropping. Works for me.
MilesAhead is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
StaxRip Aspect Ratio Problem dbeg MP4, MKV, MPEG-4 AVC (H.264) 0 6 Jun 2008 02:53 AM
aspect (aspect ratio, frame size and avi bitrate calculator) jeo Off Topic 6 14 Nov 2005 03:50 PM
AVI to MPEG2 wrong aspect ratio Reiss DVD Authoring and Editing 4 2 Jan 2005 02:46 AM



All times are GMT +10. The time now is 05:04 PM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com