I am using Avisynth 2.5 to convert a 1.28 MB, 10 second .wmv video clip to div3x .avi.
I open up the file in Virtualdubmod using the following Avisynth script script:
DirectShowSource("C:\1.wmv", fps=29).
I can see the video being processed correctly in the Virtualdub window However, when the 10 second mark is reached, it keeps on processing and eventually produces a 16 MB video that is corrupt and won't play back.
Does anyone know what I'm doing wrong?
Thanks in advance for any advice/help.
+ Reply to Thread
Results 1 to 9 of 9
-
-
If you just select the 10 second part then? select start and end in virtualdub.
-
Hi,
The file is only 10 seconds long, so I didn't think I needed to select the beginning and end since I'm processing the whole movie.
But I tried selecting the beginning and end as you suggested and the problem is still there.
With some .wmv movies, I get this problem, others not. Don't know what's causing this?.... -
Have you selected Audio Compression?
Just tried using TMPGEnc to convert .wmv->.avi (div3x). Seems to work fine. -
Ignore -I missed where you said the whole clip was 10 seconds.
Do you have a line in your avs file that says
trim(#starting frame no,#ending frame number)? -
This is the script I'm using at present:
DirectShowSource("C:\1.wmv", fps=29)
Could you write out the full script I need with the 'trim' part in it?
Thanks -
For the Trim command:
Add the line: Trim(1st frame number to keep,last frame number to keep)
right after the line with your Directshowsource command
Frame number 1 in Virtual Dub =frame 0 in Avisynth
so your second line would be somethimg like:
Trim(20,317)
Similar Threads
-
PIP Problem using AviSynth
By wakeup in forum EditingReplies: 4Last Post: 20th Feb 2012, 18:14 -
never mind, fixed audio sync problem in avisynth
By spiritgumm in forum Video ConversionReplies: 0Last Post: 16th May 2010, 10:58 -
W7 + AviSynth + VC-1 = problem?
By follz20 in forum Video ConversionReplies: 5Last Post: 5th May 2010, 12:16 -
AviSynth Script Problem
By Eva-Unit01 in forum EditingReplies: 21Last Post: 29th Dec 2009, 12:00 -
Avisynth Directshowsource Problem
By Robert Simandl in forum Video ConversionReplies: 3Last Post: 2nd Jan 2008, 07:41