Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
How To Tell What Is Missing In A Graph Chain
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
-vdub-
Posted: May 2 2011, 09:21 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



How to debug with virtualdub or other method so it will show details. Of what is missing in the graph chain, of a loded file that has hung virtualdub. Or even a file that doesn't load correctly with virtualdub, where may only loads part of the graph chain.

Details of filters missing could make it easier to figure out what is needed. What do i selected or need to do to get this info from virtualdub ?
 
    Top
ale5000
Posted: May 2 2011, 09:32 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



VirtualDub use only ACM/VFW codecs so there isn't any graph.
Look in File => File Information, you can see the video fourcc and the audio tag of the opened file, with these you know that codecs you need.

For the DirectShow input plugin, open the video in GraphStudio to see how would be the graph.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
-vdub-
Posted: May 3 2011, 01:55 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Soory yes i meant for direct show i can view in a graph software which will build a graph and play. But is not the same with virtual dub since you know we cannot connect virtualdub to a graph software. So unknown what virtualdub is missing in the chain when a video doesn't load. It could be any componment in the chain but how do we know. So we can go and fix it.

This could be any container or foramt file. When virtualdub doesn't load we need to fix it. At the moment do we all do this blind not knowing which part of the graph chain hasn't loaded. Or can virtualdub give some feeedback to what it knows is missing, demux, video or audio codec, video or audio renderer etc.

Hate to even attempt a windows media format doing this blind with all the filters those formats use.

Then a debug or other way that virtualdub has to give feedback. On what part of the chain has failed to load or is missing, so we can easily fix it. What is there and how do we invoke it to get this feedback information. Anything that can do this in virtualdub ?
 
    Top
ale5000
Posted: May 3 2011, 07:10 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



QUOTE (-vdub- @ May 3 2011, 02:55 PM)
Then a debug or other way that virtualdub has to give feedback. On what part of the chain has failed to load or is missing, so we can easily fix it. What is there and how do we invoke it to get this feedback information. Anything that can do this in virtualdub ?

There isn't any way to know this.
However, I never had any real problems.
I see all problems (when they exist) in GraphStudio.

Beside that, you get better result if you don't use DirectShow; most of the time you don't need the DirectShow input plugin.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
-vdub-
Posted: May 3 2011, 07:45 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Graphstudio isn't enough. I see what you mean if it loads there it should load in virtualdub. But when it doesn't left wondering why without a way of knowing why.

Then we wait and see what phearon has for us. With the next release of his DShowInputDriver plugin smile.gif
 
    Top
ale5000
Posted: May 3 2011, 08:04 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



In Graphstudio it isn't so hard, if it doesn't load the audio pin at all, it is probably the splitter (so the solution is change to another splitter for the video extension), instead if it load but it isn't connected to an audio decoder then probably you are missing the proper audio decoder, same for video.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
-vdub-
Posted: May 4 2011, 01:16 AM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



If loads ok with GraphStudio or with Graph Edit. But then doesn't load correctly in virtualdub, there is no way to tell atm what the problem is.


Will wait for the DShowInputDriver plugin update smile.gif
 
    Top
ale5000
Posted: May 4 2011, 02:46 AM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



If you are using Haali spliter + ffdshow-tryouts on Win XP for *.ts files, they should be opened correctly.
On Win 7 it may be different, try on a PC win Win XP.

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
-vdub-
Posted: May 4 2011, 12:09 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Nothing to do with ffdshow or haali splitter as can easily happen using those. Its about when vitualdub doesn't load a file. Then gives the user some feedback what part of the filter is broken or missing nothing more. Also its not only about directshow it can and does happen at other times, even with a known working virtualdub plugin loaded.

Reason for saying 'will wait to see' for what the next DShowInputDriver plugin update has for this.


Question was answered in your second post.
QUOTE (ale5000)
There isn't any way to know this.



This is situation right now with virtualdub... Thanks for the feedback info smile.gif
 
    Top
phaeron
Posted: May 7 2011, 10:24 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



First, the other load paths within VirtualDub do not use a DirectShow filter graph. When a load failure occurs you will receive a message saying which component couldn't be found or failed to initialize.

As for the DirectShow filter plugin, the main issue there is that I use the media detector class, which doesn't have this level of error reporting. Even without that, though, I think you're overestimating the amount of data that's available when a failure occurs. The filter graph works by plugging together filters until it completes the connection, being mostly agnostic to the data that's being transformed except for knowing what it starts with and what it's trying to get to. That means you're not likely to get much more useful information than knowing whether you're missing the multiplexer or decoder.
 
    Top
-vdub-
Posted: May 9 2011, 07:34 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Have been testing with directshow using graph softwares, wmp, mpc-hc and mpc.

Test playing in player remote connected to graph software. This is after uninstalling ffdshow_tryouts. Since i have found it of no use, and prefer to use directshow codecs instead.

WMP (v9.00.00.4503)

Video - Elecard Mpeg-2 Video Decoder HD > Video Render (setting doesn't seem to have videorender 9 option, which is ok during testing those that did have it i found ghosted the picture more for some reason)

Audio - through windvd IVIAudio with four extra dmo transforms that are default for use with wmp9 (never use them myself)
MPC-HC - Loads


MPC (v6.4.8.3)
and
MPC-HC (v1.2908.0)

Video - MPEG-2 Video Decoder > Overlay Mixer > Video Renderer

Audio - MPEG-1 Audio Decoder > Audio Switcher > SoundCardName WAV Render

Removing Audio switcher in setting does remove the same filter.


VirtualDub

Unknown since i cannot connect to it or tell what it needs or is missing.





Been able to remote connect virtualdub to a graph software would help greatly for many formats to load or see where problem lies. This is method i think should be prefered for all. As only one microsoft .dll needs to do this. A simple option for all to gain much needed info for fixing problems. That are asked many times in this forum and others, i cannot load x file what is wrong. Is nearly always fault of a filter or codec.

Have you had a look around for other source spliiters you could use. Lav_filter is one to look for (open source), seems to be making a name for itself. Maybe you have a look and input to it, so able to be tested and used with virtualdub if of any use ?
 
    Top
ale5000
Posted: May 9 2011, 08:22 PM


Advanced Member


Group: Members
Posts: 1114
Member No.: 22180
Joined: 30-September 07



You haven't understood that directshow is only a fallback when there aren't other alternatives in VirtualDub.

Also saying that there is no use for ffdshow-tryouts place you in a newbie level biggrin.gif (ffdshow-tryouts contains directshow codecs for most formats).
ffdshow-tryouts also is better than original codecs for decoding Xvid/Divx under directshow.

The best combination to decode almost everything under directshow is haali splitter (the library source is available upon request) + ffdshow-tryouts (open source).

Also:
Latest MPC is 6.4.9.1
Latest MPC-HC is 1.5.2.xxxx

--------------------
New VirtualDub forum
VirtualDub AIO (All-in-One installer for VirtualDub and plugins)
Codec Toolbox RS (A tool to read/change merit of codecs and many other things)
Input plugins for VirtualDub / ACM codecs / VFW codecs
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
11 replies since May 2 2011, 09:21 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion