PDA

View Full Version : Attempting to feed .vc1 files into DirectShowSource() call


halim
25th October 2006, 20:09
When I attempted to feed DirectShowSource() with a .vc1 file, it complained with the following message

Video returned: "DirectShowSource: unable to determine the duration of the video". From specs of DirectShowSource() command, it uses the same system WMP uses. I am able to play .vc1 files with WMP, yet not with AVISynth. The command I called is

v1 = DirectShowSource("testfile.vc1", fps=30)

I appreciate your feedback.
thanks.

IanB
26th October 2006, 04:01
"DirectShowSource: unable to determine the duration of the video".All avisynth clips must have a framecount. vc1 files stupidly do not confess the length of the stream. In the 2.5.7 version of DSS there is now a FrameCount=n option just for such occasions.v1 = DirectShowSource("testfile.vc1", fps=30, framecount=12345) # 2.5.7 feature, User must supply valid framecount!