Log in

View Full Version : problems loading a Flv video into VirtualDub


auto7890
23rd November 2013, 02:10
I need help loading Flv video into Virtuald. I have attached a screen shot - here - http://w1funurl.webs.com/virtuadub-error.jpg
http://w1funurl.webs.com/virtuadub-error.jpg
of Virtualdub with Gspot, and the VFW configuration of FFDSHOW.

Gspot is not sure if it is a flv video. The video plays ok on all my video players. My hope is to be able to load it into virtualdub.

I already have this program installed - https://code.google.com/p/lavfilters/downloads/detail?name=LAVFilters-0.59.1.exe
https://code.google.com/p/lavfilters/downloads/detail?name=LAVFilters-0.59.1.exe

, but not helping.:scared:

Guest
23rd November 2013, 02:26
Your JPG link is dead for me. Can't you tell us what it said?

Are you using the FLV import filter? Or are trying to open it via Avisynth?

LoRd_MuldeR
23rd November 2013, 03:44
VirtualDub only supports AVI files, not FLV files. At least not without a suitable VirtualDub input plugin ;)

Also installing LAV Filters does not help at all, because LAV Filters is "a set of open-source DirectShow filters" but VirtualDub does not use DirectShow. It uses VfW (Video for Windows).

Try this instead:
http://gral.y0.pl/~fcchandler/Plugins/FLV/index.html

Guest
23rd November 2013, 05:29
Also installing LAV Filters does not help at all, because LAV Filters is "a set of open-source DirectShow filters" but VirtualDub does not use DirectShow. It uses VfW (Video for Windows). You can open an Avisynth script containing DirectShowSource(), as I suggested above, and thereby access DirectShow.

auto7890
24th November 2013, 04:04
Mediainfo is telling me its a AVC codec, now I know what I have to do after I found this link - http://forum.videohelp.com/threads/325711-How-to-open-AVC-and-AAC-in-VirtualDub-%28AviSynth-DShowPlugin%29?p=2017042&viewfull=1#post2017042

http://forum.videohelp.com/threads/325711-How-to-open-AVC-and-AAC-in-VirtualDub-%28AviSynth-DShowPlugin%29?p=2017042&viewfull=1#post2017042

However there is a problem when I try toregister a required flvspiltter.ax file. The error message I get is "failed to register FLVsplitter.ax error code 0x80070005"
,please can you advise me how to register successfully ?

auto7890
25th November 2013, 00:10
will this also work with AVC video ? and if so, what do I need to do
to open an Avisynth script containing DirectShowSource(), so it will load in Virtualdub ?

obviously first I need to download Avisynth and then what do I do ?
is there a clip on youtube or something that shows this ?

Guest
25th November 2013, 01:22
You have to have an AVC capable DirectShow filter installed. If you can play AVC videos in MPC-HC, then that means you have one. Let's start there and you report whether you do or do not.

auto7890
25th November 2013, 09:09
You have to have an AVC capable DirectShow filter installed. If you can play AVC videos in MPC-HC, then that means you have one. Let's start there and you report whether you do or do not.

Thank you Neuron2 , yes I have one. Also I just upgraded my FFdshow cause I noticed it was version 2004, now I have 2011. Whats next ?

Guest
25th November 2013, 14:08
Make a script like this:

DirectShowSource("file.flv")

The script is just a text file with .avs extension. Then start VirtualDub and use File/Open video file... to open this script. Please report your results.

auto7890
26th November 2013, 04:47
Just to be sure where you wrote "file.flv" thats the file I want to load right ? which in my case is called - vvvvvideov1.flv, so therefore in the script I
DirectShowSource("vvvvvideov1.flv")

correct ?
So I think something has run into difficulty because Im not sure that virtualdub knows what directory the script and the flv file is located, unless it happens automatically.
when I try to locate and open the script with virtuladub, it brings up this error screen -
http://w1funurl.webs.com/error-script.jpg

Guest
26th November 2013, 15:15
Can you post a link to a small FLV file that I can use to try to duplicate the problem?

raffriff42
26th November 2013, 19:21
> Im not sure that virtualdub knows what directory the script and the flv file is located
It won't unless you tell it, or unless the file(s) happen to be in the working directory (http://en.wikipedia.org/wiki/Working_directory).
It's best to specify the full path ("C:\whatever\whatever.flv")

Guest
26th November 2013, 20:05
Thanks, raffriff42, for clarifying that.

auto7890
26th November 2013, 23:31
Can you post a link to a small FLV file that I can use to try to duplicate the problem?


Ok, I have changed the script from DirectShowSource("vvvvvideov1.flv") to DirectShowSource("‪C:\Users\budda\Videos\vvvvvideov1.flv") ,but when I when I click ok, nothing happens and nothing gets Loaded into virtualdub.

Also my question ,when I click on "Run Script" in virtualdub , I choose the script you asked me to create, and for some strange reason Virtualdub can not find Diresctshow even though I have it installed, please see the screen shot -http://w1funurl.webs.com/VDcanotfinddshow.jpg

raffriff42
27th November 2013, 00:28
You don't click "Run script..." you click "Open video file..." - it's confusing but "run script" is for a different kind of script.

Guest
27th November 2013, 01:48
Thanks again, raffriff42. I guess the OP is not reading carefully, as I had said that already:

http://forum.doom9.org/showthread.php?p=1655240#post1655240

auto7890
27th November 2013, 23:18
Thanks again, raffriff42. I guess the OP is not reading carefully, as I had said that already:

http://forum.doom9.org/showthread.php?p=1655240#post1655240


Ok, I followed the procedure as you suggested, virtualdub came up with this message - http://w1funurl.webs.com/Avisynth-failure.jpg

when I click on ok, nothing happens, and virtualdub window remains blank, now what do I do ?

Guest
28th November 2013, 14:23
Tell us the size of your video and then we can give you the correct Crop() call to put in your script.

auto7890
28th November 2013, 23:09
its 854 x 480 in video resolution.

Guest
29th November 2013, 00:04
Put this at the end of your script:

Crop(852,480)

Groucho2004
29th November 2013, 00:19
Put this at the end of your script:

Crop(852,480)

Hm, I think that should be
Crop(2,0,0,0)

raffriff42
29th November 2013, 00:23
From a typical StaxRip input script: Crop(0,0, -Width % 8,-Height % 8)

Guest
29th November 2013, 00:42
Oops too much thanksgiving wine
Was thinking of resized
Thanks for correcting

auto7890
29th November 2013, 01:26
Put this at the end of your script:

Crop(852,480)

You mean like this ?

DirectShowSource("‪C:\Users\budda\Videos\vvvvvideov1.flv") Crop(0,0,852,480) , excelent its Loading now , thank you very much to all of you, specially Neuron2.

Also I was interested to know that apparently there are suppose to be 2 methods. "This one you just showed me is the directshow Script method."

The other method is using the flv plugin, which I also wanted to try -after I installed the flv plugin, virtualdub loaded 2 black windows with the words 'missing AVC1 codec' on it. So does that mean I also need a AVC1 codec plugin for virtualdub ? and is there one on the internet ? I googled , but found nothing for virtualdub.

LoRd_MuldeR
29th November 2013, 16:06
The FLV plugin just allows VirtualDub to read FLV files. Out of the box, it only reads AVI and MPEG-1 files. Still, you need a suitable audio/video decoder! An AVC (H.264) decoder, in this case ;)

And, as explained before, VirtualDub only supports Video for Windows (VfW) decoders, but not DirectShow decoders. If you which to use DirectShow decoders, you can only do this indirectly, by going the Avisynth route.

While FFdshow is a DirectShow filters, it also does have a VfW interface, for legacy applications, such as VirtualDub. So you should be able to use FFdshow for this job.

Just install an up-to-date FFdshow (http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/) and then open the FFdshow "VFW configuration" (not "Video decoder configuration") from the start menu. Now switch to the "Decoder" tab (http://www.digital-digest.com/images/articleimages/hddvd_test/ffdshow_vfw_codec_config.gif) and make sure that "H.264/AVC" is enabled!

(BTW: When using the Avisynth method, you may which to give FFVideoSource (http://code.google.com/p/ffmpegsource/) a try instead of DirectShowSource. In contrast to DirectShowSource, FFVideoSource is fully self-contained)

auto7890
29th November 2013, 23:22
The FLV plugin just allows VirtualDub to read FLV files. Out of the box, it only reads AVI and MPEG-1 files. Still, you need a suitable audio/video decoder! An AVC (H.264) decoder, in this case ;)

And, as explained before, VirtualDub only supports Video for Windows (VfW) decoders, but not DirectShow decoders. If you which to use DirectShow decoders, you can only do this indirectly, by going the Avisynth route.

While FFdshow is a DirectShow filters, it also does have a VfW interface, for legacy applications, such as VirtualDub. So you should be able to use FFdshow for this job.

Just install an up-to-date FFdshow (http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/generic%20builds/) and then open the FFdshow "VFW configuration" (not "Video decoder configuration") from the start menu. Now switch to the "Decoder" tab (http://www.digital-digest.com/images/articleimages/hddvd_test/ffdshow_vfw_codec_config.gif) and make sure that "H.264/AVC" is enabled!

(BTW: When using the Avisynth method, you may which to give FFVideoSource (http://code.google.com/p/ffmpegsource/) a try instead of DirectShowSource. In contrast to DirectShowSource, FFVideoSource is fully self-contained)

my version of ffdshow is January this year, is that why it does not have VFW configuration ?

LoRd_MuldeR
30th November 2013, 01:21
my version of ffdshow is January this year, is that why it does not have VFW configuration ?

You should install an up-to-date version. Anyway, VfW interface exists since ages and, hopefully, has not been removed ;)

So please try re-installing FFdshow and make sure you install the VfW interface (http://adubvideo.net/wp-content/uploads/2010/05/Decoding_Chain_General_FFDShow_settings_1.png) too!

auto7890
2nd December 2013, 00:17
You should install an up-to-date version. Anyway, VfW interface exists since ages and, hopefully, has not been removed ;)

So please try re-installing FFdshow and make sure you install the VfW interface (http://adubvideo.net/wp-content/uploads/2010/05/Decoding_Chain_General_FFDShow_settings_1.png) too!

Now I see why VFW has not come on January version, I just trid to install the latest which is November and the installation program came up with the message - VFW interface is not compatible with windows 8 64 bit version on the latest ffdshow.
I find this strange because on some other version I had , but can not remember which version, VFW was working on my pc.

what are your suggestions ?

LoRd_MuldeR
3rd December 2013, 01:41
what are your suggestions ?

Do not use Windows 8 :sly:

(Honestly, if Windows 8 x64 removed/broke VfW support, there's not much you can do about that)

Guest
3rd December 2013, 01:52
what are your suggestions ? Just use the Avisynth method and be happy. You will soon discover that Avisynth is a very powerful tool for processing and manipulating your source material, in addition to its ability to simply open your material. Have a look at our Avisynth Usage forum to get an idea of the wonderful things you can do with Avisynth.

poisondeathray
3rd December 2013, 17:03
Another option is to use the vdub ffinputdriver. It can load anything that ffmpeg can into vdub (which is almost everything) . The benefit is it doesn't rely on your system installed VFW or directshow codecs and splitters

https://code.google.com/p/ffinputdriver/

ty2010
21st December 2013, 23:39
I've been using mkvmerge for flv lately, ffdshow likes them a little better.