PDA

View Full Version : Can't render script


Kokoro9
29th April 2008, 18:27
I have two computers and I'm trying to render a script that loads an FLV video.
PC1 can render the script but PC2 can't.

The rendering of the FLV video on both computers has the following graph:
http://i93.photobucket.com/albums/l58/Quang99/Image1.jpg

The script (video.avs) has this single line:
DirectShowSource("c:\video.flv", audio=false)

The rendering of the script on PC1 has this graph:
http://i93.photobucket.com/albums/l58/Quang99/Image2.jpg

When I try to render the script on PC2 I get this message:
http://i93.photobucket.com/albums/l58/Quang99/Image3.jpg

PC1 has XP SP1, PC2 has XP SP2. Both have the same version of ffdshow, MSW, FLV Splitter and Avisynth (2.5.7).

How can I solve this problem?

thetoof
29th April 2008, 20:46
Have you tried ffmpegsource?

jeffy
29th April 2008, 20:52
The error should be:
VFW_E_NO_DECOMPRESSOR Cannot play back the video stream: could not find a suitable decompressor. 0x80040255
http://msdn2.microsoft.com/en-us/library/ms783645(VS.85).aspx

Check your ffdshow settings.

Kokoro9
29th April 2008, 21:43
Have you tried ffmpegsource?

Yes, same thing. PC1 can render the video, PC2 gives the same error message.
Script:
LoadPlugin("FFmpegSource.dll")
FFmpegSource("c:\video.flv")

The error should be:

http://msdn2.microsoft.com/en-us/library/ms783645(VS.85).aspx

Check your ffdshow settings.

Any idea what should I be looking for?
I've reinstalled ffdshow from both computers. I don't know what could be different.

Adub
29th April 2008, 22:37
It shouldn't be the exact same error message.

If you load that ffmpegsource script into MPC (Media Player Classic) what does it say?

jeffy
29th April 2008, 22:55
Unofrtunately I am having the same problem now, the error in GraphEdit is different: 0x80040265 :confused: (the source is FLV file)

Taken from the link above:
VFW_E_UNSUPPORTED_STREAM Cannot play back the file: the format is not supported. 0x80040265

With ffmpegsource, the graphedit works (the same graph like yours: http://i93.photobucket.com/albums/l58/Quang99/Image2.jpg)

Kokoro9
29th April 2008, 23:36
It shouldn't be the exact same error message.
Yep, I've just double checked.

If you load that ffmpegsource script into MPC (Media Player Classic) what does it say?
This:
http://i93.photobucket.com/albums/l58/Quang99/mpc2.gif

And the script with DirectShowSource:
http://i93.photobucket.com/albums/l58/Quang99/mpc1.gif

PC1 can render both scripts with MPC.

Unofrtunately I am having the same problem now, the error in GraphEdit is different: 0x80040265 :confused: (the source is FLV file)

Taken from the link above:
VFW_E_UNSUPPORTED_STREAM Cannot play back the file: the format is not supported. 0x80040265

With ffmpegsource, the graphedit works (the same graph like yours: http://i93.photobucket.com/albums/l58/Quang99/Image2.jpg)
That's odd. I'm using ffmpegsource 1.18

jeffy
30th April 2008, 08:09
mpc1 & mpc2 errors: you probably don't have the YV12 decoder installed, try installing xvid.

Adub
30th April 2008, 08:58
ffdshow will work. Just make sure that Raw video is enabled. In both vfw and directshow, just to be sure it will always work.

Note: I am pretty sure it is the RAW option. If not, I know that it is in there somewhere, so you don't have to install xvid.

Kokoro9
30th April 2008, 10:26
mpc1 & mpc2 errors: you probably don't have the YV12 decoder installed, try installing xvid.

ffdshow will work. Just make sure that Raw video is enabled. In both vfw and directshow, just to be sure it will always work.

Note: I am pretty sure it is the RAW option. If not, I know that it is in there somewhere, so you don't have to install xvid.

Both solutions worked. First I enabled Raw video in directshow and worked. Then I restored the configuration and installed xvid on PC2 and worked again. PC1 already had xvid, that explains a lot.

Thanks for the help guys :thanks:

Bull-winkle
2nd May 2008, 04:12
I want to say thank you as well.

My scripts all of a sudden quit working on one pc this morning and after reinstalling AVIsynth & ffdshow with no luck i finally found this thread and after resetting my ffdshow settings all is fine again.

I did have to actually disable all the codecs in ffdshow then enable the ones I use again.

Thanks again

Adub
3rd May 2008, 02:51
Glad to know your issue is resolved!