Well I'm trying to resize this video but whenever I run the avisynth in virtualdubmod; it simply goes through the routine and leaves me with nothing changed but my emotion going from hopeful to pissed off.
That's my script. I'm trying to resize it from 640x480 to 640x322.Code:# -= AviSynth v2.0.8.0 script by FitCD v1.2.8 =- AVISource("C:\Documents and Settings\xxxx\My Documents\DOWNLOADS\xxxxx\xxxx.avi") AddBorders(64,0,64,0) Trim(0,32792).FadeOut(150)
can someone please help me out? This is infuriating me :/
+ Reply to Thread
Results 1 to 21 of 21
-
-
The only size change in your script is to add borders but it will increase the horizontal size, not decrease the vertical size.
Edit: I'm not sure I understand your goal. Are you trying to resize (thus distorting the picture), or do you want to crop (preserving aspect ratio, but losing part of the picture)?"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
Hi-
And you sure as heck don't want a vertical height of 322 pixels as it's only Mod2. It's usually recommended that it be Mod16 (divisible by 16). That would make your height either 320 or 336. 640x320 has an AR of 2:1, almost unheard of. 640x336 is more common.
I'm with gadgetguy. What are you trying to accomplish? It also sounds to me like you want to crop it, perhaps turning fullscreen into widescreen (God knows why, because I sure don't). If that's your goal, then you might try this:
AVISource("C:\Documents and Settings\xxxx\My Documents\DOWNLOADS\xxxxx\xxxx.avi")
Crop(0,80,0,-80)
That will give you a 640x320 AVI, if the original was 640x480. And if you decide you want 640x336, then:
AVISource("C:\Documents and Settings\xxxx\My Documents\DOWNLOADS\xxxxx\xxxx.avi")
Crop(0,72,0,-72) -
Basically I'm trying to watch a video with subtitles that are cut off on my television so I would need to make the height smaller so I can see it all. I can see portions of the subtitles and maybe the width slightly bigger aswell.
-
To be able to watch the poorly encoded subtitles without distorting the picture you will need to add borders all the way around and then resize back to 640x480. You will have to experiment with the size of the borders to determine how big they need to be to get the subtitles within the safe area.
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
How might I go about doing that. Is there a tutorial in which I could do that? Or do the above posters answer that?
-
In your original script you have the addborders command.
Then use
Lanczos4Resize(640,480)
to resize it back."Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
Well, you have to choose a codec, set up the 2 passes with your settings including bitrate. That's what guides are for.
-
alright, also is there a way to mute vdubmod while it's encoding?
EDIT- Update
Code:LoadPlugin("C:\Documents and Settings\Jonathan\Desktop\Video Tools\VirtualDub\MPEG2DEC.dll") AVISource("C:\Documents and Settings\xxxx\My Documents\DOWNLOADS\xxxx\xxxx.avi") AddBorders(64,25,64,25) Lanczos4Resize(640,480)
-
Mute it? What do you mean?
Upgrade your AviSynth to v 2.56 to use Lanczos4Resize without having to load it as a plugin. Make sure you set Video for Fast Recompress for faster encoding. Also, your script will give your AVI a very bad aspect ratio For a better script, try:
LoadPlugin("C:\Documents and Settings\Jonathan\Desktop\Video Tools\VirtualDub\MPEG2DEC.dll")
AVISource("C:\Documents and Settings\xxxx\My Documents\DOWNLOADS\xxxx\xxxx.avi")
AddBorders(32,24,32,24)
Lanczos4Resize(640,480)
That's still a helluva lot of added black bars. -
ok I just upgraded avisynth and downloaded the new codec and ran one trial which did not save the video at all
here is my avisynth script:
Code:LoadPlugin("C:\Documents and Settings\Jonathan\Desktop\Video Tools\VirtualDub\MPEG2Dec3.dll") AVISource("C:\Documents and Settings\Jonathan\My Documents\DOWNLOADS\xxxx\xxxxx.avi") AddBorders(32,24,32,24) Lanczos4Resize(640,480)
-
When you run the script into Virtualdub it won't save anything until you tell it to. What format are you trying to end up with? What encoders or compression codecs do you have?
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
I'm trying to end up with the same format. I have xvid/divx for encoding. How do I tell it to save something? After the script runs in Virtualdub if I try to go to saveas it will try to reencode it. Am I suppose to do that?
-
Originally Posted by subcomplyIf in doubt, Google it.
-
Yes, but you need to select a compression codec first. Go to Video/Compression and select the xvid/divx encoding codec. Set parameters as you want it. Then Save As AVI.
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
Originally Posted by manono
-
Originally Posted by subcomply"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books -
When I run the avisynth script in virtualdub is plays the audio. Is there anyway to mute that? Weh nI save the AVI it does not.
-
-
But keep in mind that will remove the audio from encoding also.
"Shut up Wesley!" -- Captain Jean-Luc Picard
Buy My Books
Similar Threads
-
General Resizing HEIGHT/Avisynth understanding
By Krelmaneck in forum Newbie / General discussionsReplies: 27Last Post: 25th Nov 2011, 00:46 -
AviSynth best script for Resizing?
By VideoFanatic in forum RestorationReplies: 4Last Post: 30th Sep 2011, 13:19 -
problems when converting and resizing
By shaktiIIIgta in forum Video ConversionReplies: 13Last Post: 2nd Apr 2010, 19:32 -
Best option for resizing in AviSynth
By DRP in forum Video ConversionReplies: 7Last Post: 22nd Jan 2008, 06:09 -
Avisynth resizing/letterboxing problem
By czerro in forum Authoring (VCD/SVCD)Replies: 3Last Post: 3rd Jan 2008, 14:29