can anyone explain to me in plain english what to do to get a correct aspect ratio for avi file, Ive got a Avi file that i wanna hard encode subs to, the avi has letterbox ontop and below, the file info is below
Format : AVI
Format/Info : Audio Video Interleave
File size : 700 MiB
Duration : 2h 3mn
Overall bit rate : 795 Kbps
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2h 3mn
Bit rate : 689 Kbps
Width : 704 pixels
Height : 288 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.142
Stream size : 607 MiB (87%)
Writing library : XviD 1.0.0 RC4 (Hola) (UTC 2004-04-05)
I used auto gordian knot to add the subs, however the file comes out slight vertically streched, I dont know what to do to get it right, the log from auto gk is
[27/12/2009 5:47:17 PM] AutoGK 2.55
[27/12/2009 5:47:17 PM] OS: WinXP (5.1.2600).2
[27/12/2009 5:47:17 PM] Job started.
[27/12/2009 5:47:17 PM] Input file: C:\Documents and Settings\Administrator\Desktop\Windstruck\Windstru ck.2004.DVDRip.XviD.AC3.2CH.avi
[27/12/2009 5:47:17 PM] Input codec: XviD
[27/12/2009 5:47:17 PM] Source duration: 2h 3mn 10s 891ms
[27/12/2009 5:47:17 PM] Output file: C:\Documents and Settings\Administrator\Desktop\Windstruck.2004.DVD Rip.XviD.AC3.2CH_agk2.avi
[27/12/2009 5:47:17 PM] Output codec: XviD
[27/12/2009 5:47:17 PM] Audio 1: 96 Kbps AC3 2ch
[27/12/2009 5:47:17 PM] Subtitles: from external file: C:\Documents and Settings\Administrator\Desktop\Windstruck\Windstru ck.2004.DVDRip.XviD.AC3.2CH.srt
[27/12/2009 5:47:17 PM] Format: AVI
[27/12/2009 5:47:17 PM] Target quality: 100%
[27/12/2009 5:47:17 PM] Audio 1 settings: Auto
[27/12/2009 5:47:17 PM] Started encoding.
[27/12/2009 5:47:17 PM] Source resolution: 704x288
[27/12/2009 5:47:17 PM] Source fps: 23.976
[27/12/2009 5:47:17 PM] Output will contain 177204 frames
[27/12/2009 5:47:17 PM] Demuxing audio.
[27/12/2009 5:48:22 PM] Preparing subtitles.
[27/12/2009 5:48:22 PM] Using VAQ in XviD
[27/12/2009 5:48:22 PM] Running single pass encoding.
[27/12/2009 5:48:22 PM] Writing the following script to C:\Documents and Settings\Administrator\Desktop\agk_tmp\Windstruck. 2004.DVDRip.XviD.AC3.2CH_agk2_movie.avs
================================================== =========
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dl l")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\vsfilter.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrain SSE2.dll")
movie = DirectShowSource("C:\Documents and Settings\Administrator\Desktop\Windstruck\Windstru ck.2004.DVDRip.XviD.AC3.2CH.avi",23.976).KillAudio ()
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples= 10,aspect=0,threshold=0,samplestartframe=0,leftadd =0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
out_width = 704
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples= 10,aspect=new_aspect,threshold=0,samplestartframe= 0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
TextSub("C:\Documents and Settings\Administrator\Desktop\Windstruck\Windstru ck.2004.DVDRip.XviD.AC3.2CH.srt")
================================================== =========
[27/12/2009 8:15:55 PM] Duration was: 2 hours 27 minutes 32 seconds
[27/12/2009 8:15:55 PM] Speed was: 20.02 fps.
[27/12/2009 8:15:55 PM] Job finished. Total time: 2 hours 28 minutes 37 seconds
new file info is
Format : AVI
Format/Info : Audio Video Interleave
File size : 1.03 GiB
Duration : 2h 3mn
Overall bit rate : 1 194 Kbps
Writing application : VirtualDubMod 1.5.4.1 (build 2178/release)
Writing library : VirtualDubMod build 2178/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 2h 3mn
Bit rate : 1 091 Kbps
Width : 704 pixels
Height : 288 pixels
Display aspect ratio : 2.40:1
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.224
Stream size : 961 MiB (91%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
the avi starts as 704/288 and ends up the same, but the letterboxing is gone and the video is slightly vertically streched, pls pls pls help me if anyone knows what to do
+ Reply to Thread
Results 1 to 6 of 6
-
-
Originally Posted by neds81
[27/12/2009 5:47:17 PM] Source resolution: 704x288
Audio 1: 96 Kbps AC3 2ch -
Hi manono, thanks for the info. when i open up the orig file in vdubmod there is no letterboxing, so must be the player adding them. why whould the player add black bars to the orig file, but not add them to the reencoded subbed file i make?
well my only question now i guess is if there any way to fix this avi file? -
Originally Posted by neds81
-
Thanks manono, yeh it seem to be that way, only thing i can figure is perhaps the orig file is not in the right aspect anyway (croped top/bottom) and when i encode it, it gets fixed to correct aspect but that squishes the image. Anyway thanks for the help. I think itll just be easier to rerip the dvd
Similar Threads
-
need to correct Aspect Ratio by padding/adding black bars - author AVCHD
By texas1 in forum Authoring (Blu-ray)Replies: 3Last Post: 24th Nov 2011, 11:44 -
Need help with Aspect Ratio of video when using AutoGK adding subs to movie
By boylove69 in forum Newbie / General discussionsReplies: 5Last Post: 10th Jul 2011, 23:05 -
Correct aspect ratio
By dfisher052 in forum DVB / IPTVReplies: 8Last Post: 25th Oct 2008, 23:34 -
how to correct the aspect ratio of AVI
By edong in forum Authoring (DVD)Replies: 4Last Post: 17th Jul 2008, 18:04 -
how to add the correct aspect ratio flag in an avi file?
By graysky in forum DVD RippingReplies: 15Last Post: 23rd Nov 2007, 04:23