View Full Version : DirectShowSource: only 1 filename supported currently!
vishaw
4th March 2006, 17:34
I got this complain "DirectShowSource: only 1 filename supported currently!" while serve files from Avisynth 256 to VDub.
AviSource can feed more than one filenames but these clips can not be opened by AviSource.
These clips can not be opened directly by VDub either, so the earlier suggested frameserve from VDub to AviSynth by append segment is not possible:o . Any work-around?
Thanks in advance!
foxyshadis
4th March 2006, 20:05
Tried multiple directshowsource calls?
DSS("myfile.mp4")+DSS("yourfile.mp4)+....
IanB
7th March 2006, 04:54
Also SegmentedDirectShowSource() if the filenames are compatibly numbered.
file.00.asf, file.01.asf, ....
vishaw
12th March 2006, 19:21
Thanks!
The DSS call worked. But in case ffdshow involved, each file triggered one ffdshow icon on the task bar, when it reached 5, the whole process ended abruptly with no warning. I have to restrict the file number to 4 at a time, then save another Vdub compatible avi. After that, use AviSource to combine all the sencondary avi files. It took me several days to finish the job. Anyway, it worked. Thanks again:) .
IanB
13th March 2006, 00:29
Yes DirectShow is a real pig to drive and code for. From the render graph API interface we are using there is nothing we can do to help here.
SegmentedDirectShowSource() internally just does DSS("file.00.mp4")+DSS("file.01.mp4)+....
Dr.Who
20th March 2006, 10:33
Yes DirectShow is a real pig to drive and code for. From the render graph API interface we are using there is nothing we can do to help here.
SegmentedDirectShowSource() internally just does DSS("file.00.mp4")+DSS("file.01.mp4)+....
Yes, this works only if every File contains a (mpeg/avi) Header.
My Problem:
My TV/HD-Recorder store and split mpeg-Files every 200 MB, only the first File contains the MPEG-Header, rest of File nothing.
join the Files i do this "copy /b m001.mpg m002.mpg m003.mpg final.mpg"
this work: DSS("m001.mpg") + DSS("m001.mpg)
this dont work: DSS("m001.mpg") + DSS("m002.mpg)
Is there a Solution play these Files with Avisynth?
:thanks: 4 Help
communist
20th March 2006, 11:36
Why dont you use DGIndex/DGDecode?
IanB
20th March 2006, 13:00
Directly in DirectShowSource() there is not much hope, it can only strip what DirectShow can play.
However, I guess if you could find and install a replacement DirectShow file reader that managed multiple file volumes correctly, then it should do as you want. I am not aware of one currently but our friend google may reveal something.
Maybe a search of your registry will reveal a key that controls you capture apps segmenting behaviour.
Mug Funky
21st March 2006, 03:23
DGindex will take multiple files as input and output a single .d2v that refers to all of them.
you can also have DGindex export a single audio track for all the mpegs you choose to load.
so it would be best to use DGindex/DGdecode (mpeg2source in avisynth) instead of DSS - it'll be faster, better and give you much more control.
Dr.Who
21st March 2006, 12:30
Yeah, DGindex works fine, but
mpeg2source('m001.mpeg') + mpeg2source('m002.mpeg')
doesnt work, because missing Mpeg Header in File m002.mpeg
Create a single .d2v from DGindex, playing with DGindex is perfect.
Create test.avs contains mpeg2source('example.d2v')
and try playing mediaplayerclassic and/or mplayer:
Nothing happens, mpc/mplayer try open File "example.d2v" , Screen is black, look like freezing and no Error.
do i something wrong ?
update: I found a solution, not perfect, but it works... http://cowfishserver.sourceforge.net/
bagheera1
21st March 2006, 13:25
did you try to open example.d2v or test.avs in media player classic (it should be test.avs)?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.