View Full Version : DirectShowSource() error - unable to decode MPEG2?
zyrill
4th March 2003, 13:09
Hello guys!
I'm having some serious problems decoding a worst quality NTSC dvd. i can't decode using DVD2AVI and mpeg2source(".d2v") because the result i get is just so badly combed and flickering respectively blocky and edgy i can't stand it! so i though why not use DirectShowSource to use the Cyberlink Video Decoder - it produces an exceptable quality. Unfortunately when i create following .avs file:
DirectShowSource("E:\ESB\Demux\ESB.m2v")
the only thing i get is a "DirectShowSource: the filter graph manager won't talk to me"-error! strangely enough yesterday it worked - i shut down the pc and now avisynth seems to be unable to perform the same action yesterday it was able to! could anybody please help me? this is driving me nuts! i didn't change a single line!
thanks in advance
DDogg
24th March 2003, 01:35
zyrill, I noticed you had posted something similar and also got no replies so allow this to bump.
yamyam
24th March 2003, 01:52
I have the same problem with avisynth as well when trying to open mpeg2 files can anyone offer any suggestions on this problem please ?
The only workaround ive found at the moment is to frameserve to avisynth from virtualdub (mpeg2 version) but this process doesnt seem to work when using certain filters in virtualdub.
trbarry
24th March 2003, 14:09
I have never felt that Directshowsource gave reliable or reproduceable results on any release. It is too dependent upon the search order of finding filters and the registry settings that you last specified for some of those filters.
I think about the best you can do to debug is drop the input file into Graphedit and try to understand all the filters (and their settings) that pop up. You will often be surprised at what you are actually using.
Microsoft never really intended Direct Show to be used this way, with automatic search. That was only supposed to be for testing, with production applications intended to specifically build their own filter graphs. But I don't think that is yet possible in Avisynth.
- Tom
zyrill
24th March 2003, 17:43
that's just too bad since i have been unable to playback that erratic .m2v properly... well actually playback works perfectly but i can't find the right way to deinterlace it in avisynth! it plays wonderfully in PowerDVD and MediaPlayer or any other player using DirectShow - but i just can't get it to work properly with MPEG2Source... :( i guess i'll have a look at graphedit and bury myself afterwards!
zyrill
24th March 2003, 18:02
i've had another idea: can i somehow use graphedit as a frameserver? or maybe graphedit is able to somehow write another output file, completely re-rendered, that i can use for encoding afterwards?
DDogg
24th March 2003, 22:45
Tom, I dusted off Graphedit today and it showed just a simple use of the old Ligos filters. Thet ought to be fairly benign. Anyway, I used regsvr32 /u and removed them and now directshowsource is playing the test avs in WMP using the mainconcept mpeg filters in my Vegas Directory. So for that advice I thank you. MPC still crashes with a complete vanishing act. I reported that to Gabest. Maybe he will have some input.
Tom, if Avisynth does not do directshow well then I would not have a problem if avisynth did not support it. What I don't understand is it having trouble playing a script that wmp 6.4 and many other apps will play using the directshow filters. Do you think that may be just the nature of some special technical interaction between avisynth and directshow filters?
/Edit resolution: http://forum.doom9.org/showthread.php?s=&postid=284435#post284435
zyrill
31st March 2003, 16:11
today i tried avisynth 2.08 and somehow DirectShowSource works now... but i'm desperate - MediaPlayer shows the movie perfectly only when i try to load my script in VirtualDub it says "Classfactory kann angeforderte Klasse nicht finden" which means roughly translated "ClassFactory cannot supply requested class"! i'm gonna KILL that dumbhead who encoded THIS dvd...
the script i'm using is trivial enough:
###
DirectShowSource("E:\StarWars-ESB\Demux\ESB.m2v")
Crop(12,106,700,276)
Tweak(0,0.9,-15,1)
###
any ideas how to work around THIS bug?
scmccarthy
31st March 2003, 16:52
@zyrill
I think finden does mean 'find' in english as I might assume, "ClassFactory cannot find requested class" sounds more like it to me.
Back to DVD2AVI not working for you, maybe it would work if you didn't use FORCE FILM. Maybe it would work it you did the 3/2 pulldown and them IVTC'd it. I believe DeComb can handle more cases than FORCE FILM, but once you use FORCE FILM DeComb can't undo the damage. I mean, sorry, I realize you did not mention whether you used FORCE FILM or not, but that is one possibility.
Stephen
zyrill
31st March 2003, 20:47
Originally posted by scmccarthy
@zyrill
I think finden does mean 'find' in english as I might assume, "ClassFactory cannot find requested class" sounds more like it to me.
Back to DVD2AVI not working for you, maybe it would work if you didn't use FORCE FILM. Maybe it would work it you did the 3/2 pulldown and them IVTC'd it. I believe DeComb can handle more cases than FORCE FILM, but once you use FORCE FILM DeComb can't undo the damage. I mean, sorry, I realize you did not mention whether you used FORCE FILM or not, but that is one possibility.
Stephen
hi stephen: i know finden means 'find' but i came around to encounter the english error as well, that's why i know the exact error message in english now... and it says suppy! :rolleyes:
my problem has nothing to do whatsoever with DVD2AVI - and you can't deinterlace it using ANY existing plugin... believe me, i have written scripts longer than the actual movie and it didn't work out - just think of the educt as one hell of badly interlaced frames, no way of getting by with any filter. the only way is through directshowsource and using the powerdvd decoder, which is really annoying since i can't reproduce anything that worked 2 seconds ago.
scmccarthy
1st April 2003, 01:00
My german extends far enough to translate 'hand' and 'winter', so I thought I recognized 'finden'. You said you "can't decode using DVD2AVI" and so I thought maybe FORCE FILM was the problem there.
Right now, I am struggling with a dropped (or extra) field in Four Weddings and a Funeral. It causes mispairing of fields in the entire scene. So far I tried selecting the odd fields with trim, separatefields, selectodd, and +.
Stephen
zyrill
2nd April 2003, 10:00
well, i have been able to decode and encode my .m2v now using DirectShowSource (with avisynth 2.08 it is no problem). The result is wonderful except for one little flaw: avisynth "thinks" the movie is shorter than it actually is; let me explain: somehow MP reports when opening the .m2v file that it is 1:50:18 long - and that's exactly how long avisynth keeps frameserving. problem is, it is actually LONGER than 1:50:18 (or the framecount is different, i can't tell since all headers are corrupt!) - how can i keep avisynth from stopping to frameserv?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.