Log in

View Full Version : Can't use best directshow filters :(


charley
17th September 2008, 06:38
Hi,

I'm having trouble being able to have the powerdvd decoder filter used when playing avisynth files :(

When i try to connect the powerdvd 8 decoder filter to Haali Media Splitter filter i get this message "These filters cannot aggree on a connection. Verify type compatibility of input pin and output pin."

Here's a pic of the filters used for the h.264 ts file. No problems here with the powerdvd 8 decoder filter connecting to the Haali Media Splitter filter.
http://i36.tinypic.com/xol1xi.jpg

And here's a pic of the filters used when the avisynth script is loaded into graphedit. It plays in a direct show player but cant do hardware acceleration because the poweredvd 8 decoder isnt used.

DirectShowSource("Wipeout.ts")
EnsureVBRMP3Sync()
Crop(240, 0, -256, -0)

http://i36.tinypic.com/250tl5i.jpg

Any ideas on how to resolve this?

squid_80
17th September 2008, 07:28
It's not possible to use hardware acceleration with directshowsource.

Alex_ander
17th September 2008, 07:31
That's OK: output of the script already includes both video/audio filters of your first graph, passed via DirectShowSource. Since you have decompressed streams, you can't attach a decoder.

charley
17th September 2008, 07:56
ah ok thanks for the reply's :)

Is their another way to play the ts file cropped on the fly?

Jeremy Duncan
17th September 2008, 08:03
ah ok thanks for the reply's :)

Is their another way to play the ts file cropped on the fly?

you wanna play a ripped dvd?
will you get pulldown artifacts/lines?
ever do that before or are you just trying to piece it all togther?

Alex_ander
17th September 2008, 08:10
In case you want to manually add filters (as you probably did for .ts file) instead of default configuration, save new circuit to .grf file and open it as DirectShowSource (separately for audio/video streams). Alternatively you can try to change preferences for DS filters used by default with a utility like RADLight Filter Manager.

charley
17th September 2008, 08:46
How do you do a script to include both audio and video through grf and DirectShowSource?

Alex_ander
17th September 2008, 09:42
Like this:
a=DirectShowSource("video.GRF", audio=false)
b=DirectShowSource("audio.GRF",video=false)
audiodub(a,b)
For making video.grf remove audio branch and video rendering device, correspondingly for audio.grf remove video branch and audio rendering device.

charley
17th September 2008, 17:58
Thanks but i get this error :confused:
http://i35.tinypic.com/2vci7ue.jpg

Alex_ander
17th September 2008, 18:30
Did you delete video rendering device from the graph (that's the 'open video pin' wanted) before saving to .grf?

charley
17th September 2008, 18:50
Here's screens of the 2 grf files.
http://i35.tinypic.com/24fzc5c.jpg
http://i35.tinypic.com/5nodxc.jpg

a=DirectShowSource("Wipeout-video.grf", audio=false)
b=DirectShowSource("Wipeout-audio.grf", video=false)
audiodub(a,b)

Alex_ander
17th September 2008, 18:56
Delete both Video Renderer and Default DirectSound device, then save.

charley
17th September 2008, 19:02
Cool thanks that worked :D