View Full Version : DirectShowSource: Unable to determine the duration
Zarxrax
4th May 2006, 19:47
I have a video in a proprietary .GBM (gameboy movie) format. I can play the file through directshow, but I am not able to load it into avisynth.
It returns the error: "DirectShowSource: Unable to determine the duration of the video."
Is there any way to enable this to show through avisynth?
D..S..S..() in 2.5.7 Alpha 3 now has a framecount=nnnn option precisely to deal with these informationally challanged codecs.
Wilbert
5th May 2006, 10:48
Great! It's finally possible to load pictures with DSS!
DirectShowSource("D:\Captures\graph_picture.grf", fps=1, audio=false, framecount=1)
@Wilbert,
Do you need the "Color Space Converter", it generally does a pretty crappy job. What formats does the
"Generate Still Video" negotiate, I would expect YUY2 at the least.
Wilbert
5th May 2006, 15:50
Do you need the "Color Space Converter"
Yes. It doesn't render without it.
What formats does the "Generate Still Video" negotiate, I would expect YUY2 at the least.
According to GSpot it gives RGB24 to the Color Space Converter which gives RGB565 (???; 16 bit) to the video renderer. How is it possible to load such a 16 bit picture in AviSynth?
Btw, I don't know how to get that info from GraphEdit. According to this site (http://progdigy.com/modules.php?name=Forums&file=viewtopic&t=1810) the "Generate Still Video" filter is something from DirectX. It's not listed in the directshow filter list.
If I use the free DCImageSource file i get the same problem: http://dsp-worx.de/?n=13
It returns RGB24 with a Negative height, which indicate the image is upside down (which all RGB images are, DOH!) AVS doesn't like the negative height.
Fix in next version!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.