View Full Version : Opening FLV files in Avisynth?
Messed
27th June 2006, 09:08
Hi, hope I'm in the right forum!
I try this line of script:
DirectShowSource("C:\~\clip.flv",fps=29.97,convertfps=true)
Won't open in VDubMod? Error message is:
DirectShowSource: Could not open as video or audio.
Video returned: "DirectShowSource: The filter graph manager won't talk to me"
Audio returned: "DirectShowSource: couldn't open file...specified module not found"
I have FLVSplitter.ax installed into System32 folder, and DGDecode.dll in Avisynth Plug-ins folder etc.
Any ideas? Thanks.
hanfrunz
27th June 2006, 12:08
can you play the file with graphedit or mplayer2.exe?
screw
27th June 2006, 14:08
FLVSplitter, AFAIK, does not decode FLV1 video streams, just VP6. If your file is FLV1, you should use FFDSHOW as decoder and allow FLV1 decoding there (by default it is disabled).
Check this thread:
http://forum.doom9.org/showthread.php?t=108070
Messed
27th June 2006, 21:46
I can only play the file with FLVPlayer. I have ffdshow, but how do I enable the flv decoding? Thanks.
hanfrunz
28th June 2006, 12:48
just click on ffdshow/videodecoder configuration in your windowsstartmenu.
Or type this in the console: (first change to your ffdshow-directory) C:\WINDOWS\system32\rundll32.exe ffdshow.ax,configure
Then the click on codecs->and enable FLV1 (set to libavcodec)
hanfrunz
Messed
28th June 2006, 13:21
Mr HanFrunz, goddamn thanks a lot!!! THAT WORKED!!!
I have no "ffdshow" in my start menu. NOR in my "System32" folder I discovered! So, I copied the ffdshow.ax from my Program Files/ffdshow folder into System32, then, typed "C:\WINDOWS\system32\rundll32.exe ffdshow.ax,configure" into my START/RUN.
It worked! I just enabled the FLV1 to "libavcodec" (as you suggested)!!!
Now I can open my FLV file in VDubMod!
THANKS!!!
spanky123
22nd February 2007, 13:59
Sorry to resurect this thread, but I've enable flv decoding through ffdshow and the flv's play fine in MPC now, but they don't open with AviSynth.
Atm, I'm using just:
DirectShowSource("video.flv)
and it comes up with "could not open the file. The file is not supported"
I'm just trying to open the flv with avisynth
foxyshadis
22nd February 2007, 21:34
You need to have gabest's flvsplitter (http://ffdshow.faireal.net/mirror/Media%20Player%20Classic/external%20filters/unicode/) apart from MPC, as well. (It's built-in to MPC, so the rest of the system doesn't get it.) Then just put it somewhere and run "regsvr32 path\to\filter.dll", and DSS should start co-operating.
spanky123
22nd February 2007, 23:36
You need to have gabest's flvsplitter (http://ffdshow.faireal.net/mirror/Media%20Player%20Classic/external%20filters/unicode/) apart from MPC, as well. (It's built-in to MPC, so the rest of the system doesn't get it.) Then just put it somewhere and run "regsvr32 path\to\filter.dll", and DSS should start co-operating.
Thanks so much.:thanks:
btw. the filter was .ax, but it all worked great.
Downloaded, extracted, reg'd and that's it.
FriendFX
3rd February 2009, 23:29
Hi,
I would like to open a FLV file from a AviSynth script. VLC Player can play this file without problems and reports VP6F as video codec and MP3 as audio codec. I have installed ffdshow and activated the FLV1, VP3, VP5, VP6 and VP6F formats in the ffdshow video decoder and VFW configuration dialogs (selected libavcodec for each one of them).
I also installed the FLV Splitter 1.0.0.1 from the guliverkli SourceForge project http://sourceforge.net/project/showfiles.php?group_id=82303
...but when I open the FLV file in MPC, it only plays the audio. Other FLVs (using video codec FLV1) play fine in MPC, but wouldn't open using AviSynth's DirectShowSource (Error: "Media Player Classic could not render some of the pins in the graph...")
The FLV file I would like to open is here:
http://proxy-56.dailymotion.com/14/848x480/on2/12914263.on2?653a0fabdf55a95f3db8acb4565a999b139ca3f
...but be warned: it's 481MB!
Any suggestions?
poisondeathray
4th February 2009, 01:24
FriendFX - I haven't tested on your huge file, but you might try a newer FLV splitter 1.0.0.5, which support newer .flv formats (e.g. h264/aac in .flv). You may have to raise the merit on this , or unregister your older version
http://sourceforge.net/project/showfiles.php?group_id=205650&package_id=246121
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.