View Full Version : Opening Video Files
nnigam
13th February 2005, 01:57
I see that there are many types of files, like vcd files, dvd files, other mpeg files that open directly in virtualdub and other applications. But I am unable to find an avisynth command to open them. No matter what I select, I get an error in the line that opens the video file. I am unable to find any other source command in the avisynth docs. Please help.
Dark-Cracker
13th February 2005, 03:30
try to use :
directshowsource("c:\...\mymovie.mpg",audio=true,fps=25)
if you can open the video directly with the media player this avisynth script should work.
PS : you perhaps have problem because you don't have a mpeg directshow filter.
PS2 : next time try to post the avisynth script and the error msg returned else it can be difficult to help u.
Bye.
nnigam
8th March 2005, 22:03
I already tried this. The lataest file that I tried this with was an m2v file created from pgcdemux. The file opened just fine when I directly opened in vdubmod. But my avisynth script below just would not work with any combination of the comment lines uncommented.
#LoadPlugin("c:\hd\yv12\YV12InterlacedReduceBy2.dll")
#DirectShowSource(".\VideoFile.m2v")
DirectShowSource(".\VideoFile.m2v", "YV12")
BiCubicResize(768,432)
Sorry about the delay in getting back to you, but I took an extended vacation, and then a major rush job at the office kept me pretty busy for anything else.
Wilbert
8th March 2005, 22:44
Just use DGIndex (new version of dvd2avi) to create a d2v file.
Btw, have a look at http://www.avisynth.org/Section+2%3A+AviSynth+and+frameserving#q2.8 (and q2.9) to import stuff in AviSynth (it's a bit outdated, but ok ...).
nnigam
8th March 2005, 23:13
Thanks, Now why didn't I think of that.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.