Could someone help me please with the avisynth frameserving. What I am trying to complete is to perform resizing using avisynth. I use the following script (for PAL svcd):
AVISource("C:\Data\....xxx.avi").BilinearResize(48 0,576,8,0,704,570)
ResampleAudio(44100)
The same issues are as follows regardless resize attributes:
CCE 2.50:
If I try to load .avs -file to the CCE crashes
If I use VFAPI and load the ...vfapi.avi it states "Frame size 916x56 is not supported. Supported frame size is up to 720x576"
CCE 2.64:
If I try to load .avs -file to the CCE it states "NewMovieFromFile() failed (0)"
If I use VFAPI and load the ...vfapi.avi it states "Frame size 916x56 is not supported. Supported frame size is up to 720x576"
I am wondering what might cause this, a problem with the vfapi or the cce? I am really puzzled what causes this?!?!?!
+ Reply to Thread
Results 1 to 11 of 11
-
-
You should be able to load the .avs directly into CCE sp 2.5, v.2.6x do not read .avs.
When you use VFAPI, do you convert the .avs to *vfapi.avi?
Do you get any error message, when cce 2.5 is crashing?
If you have an Athlon, did you disable the audio? -
-I have Intel processor, no AMD issues.
-Yes, I converted the avs to ...vfapi.avi (at least I tried)
-there is a memory problem (cannot read memory...or something like that) -
I guess 916x56 is the "framesize" of Avisynth's error message.
Try to play the .avs with windows media player. -
gives me an error message: "unrecognized exception (c:\data\...\xxx.avs, line2)"
-
Unfortunately still the same problem. I am wondering whether the avs-files are correctly registered. The VFAPI regognizes the extension, but seems like the media player does not recognize this. Could this be the reason?
-
No I don't think so, because media player accept the .avs.
You registered the filetype .avs to windows by running the install.reg, that came with Avisynth. If .avs would not be a registered filetype, media player would not even show the error message.
So it is something wrong with the script.
This is your script:
AVISource("C:\Data\....xxx.avi").BilinearResize(48 0,576,8,0,704,570)
ResampleAudio(44100)
So your source is avi 720x570, is it?
If you delete line2 (ResampleAudio(44100) ), you will get a different error message if any. Which one? -
As far as I know...if this is EXACTLY ho your script is written"
"AVISource("C:\Data\....xxx.avi").BilinearResize(4 80,576,8,0,704,570)
ResampleAudio(44100) "
The problem is PERIOD in the middle, and there should be a seperateline for each command I think., try making your script look like this:
AVISource("C:\Data\....xxx.avi")
BilinearResize(480,576,8,0,704,570)
ResampleAudio(44100)
Also, I assume you did indeed ad the avisynth reg file to your registry & have the avisynth.dll in the proper folder windows folder? -
This is totally weird. If I create an .avs file with only Version statement the media player plays the 10sec version info ok. If I comment out the avisource it states "the script's return value was not a video clip". Seems like the .avs is registered ok. If I try to use any statement I get the same error message as before, e.g. when using trim (800,1300). If I only use avisource and no other statements the windows media player just shows the name of the file on the upper left corner of the window.
My environment is win2000. The avisynth version is v1 beta5. I already uninstalled and installed the avisynth once, but it did not seem to help. -
This was solved with help of Truman, thanks (but the answers were lost yesterday). The problem was that the source file was DV-type1 format. One has to use directshowsource instead of avisource statement.
DirectShowSource("C:\Data\xxx.avi")
BilinearResize(480,576,8,0,704,570)
Thanks again.
Similar Threads
-
CCE, MP4 and AviSynth Error
By Maikeru-sama in forum Video ConversionReplies: 28Last Post: 11th Jun 2008, 04:24 -
CCE, AviSynth and MP4 Question
By Maikeru-sama in forum Video ConversionReplies: 5Last Post: 31st Mar 2008, 11:19 -
MKV, CCE and AviSynth Question
By Maikeru-sama in forum Video ConversionReplies: 10Last Post: 14th Jan 2008, 16:35 -
Questions about CCE, H264 and AviSynth
By Maikeru-sama in forum Video ConversionReplies: 18Last Post: 21st Dec 2007, 20:38 -
How to frameserve (dvd2avi / VirtualDub / Avisynth / VFAPI)
By Truman in forum User guidesReplies: 32Last Post: 20th Nov 2007, 08:38