View Full Version : Using AutoCrop for AVI Output
lantern
30th March 2008, 23:31
Can I use autocrop in the filter editor if I am going to encode to avi?
I'm using DVD-RB 1.27.3 and the video was ripped with DVDFabHD Decrypter.
Here is what I have in the filter editor:
loadplugin("C:\Program Files\AviSynth 2.5\plugins\autocrop.dll")
autocrop(mode=3, wMultOf=16, hMultOf=16)
The plugin seems to work. If I open the avs files in the working directory they are cropped and playback fine in virtualdub, but there is nothing output by ffmpeg.
Thanks!
jdobbs
31st March 2008, 00:19
The MOBILE output automatically does some sizing adjustments unless you explicitly tell it not to... can you post the entry from MOBILE.INI (in the TEMPLATES folder) that you are using?
lantern
31st March 2008, 00:25
I think I got it working. I should have held off about 10 minutes from posting. I'll post it after it finishes encoding if it doesn't work this time.
Thanks!
lantern
31st March 2008, 13:50
Here is the template I am using from mobile.ini:
[XviD (DivX Compatible) AVI 4:3 (480x360) 768Kbs]
hSize=480
vSize=360
vBitrate=672
vMaxrate=2500
aBitrate=96
vCodec=xvid
aCodec=mp3
bFrames=2
Passes=1
muxFormat=avi
gopsize=12
Deinterlace=0
AudioAmplify=1.5
ivtc=0
When I open the avs file in the working directory, they appear to be cropped correctly. However, the final encoded video is not cropped. Virtualdub lists the avs info as 720x352 (and there are no black bars on the video. VDub lists the final video as 480x272, but there are black bars on the video when played back.
jdobbs
1st April 2008, 18:53
Try adding "AspectResize=0" to the template for that profile. It should tell DVD-RB to leave the aspect alone. Hopefully that will correct it. If you want the output to be 720x352 you also need to change the hSize and vSize parameters as well (I'm not sure whether that was your intention).
lantern
2nd April 2008, 17:08
Thank you!
jdobbs
2nd April 2008, 20:47
Let me know how it comes out...
lantern
25th April 2008, 01:19
Sorry for the delay in getting back with the outcome. It finally worked. I had to use the "AspectResize=0" in the template and then I had to put a resize statement in the filter editor because it wasn't resizing it down to 352x240.
Thank you for all your help!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.