View Full Version : DirectShowSource with Karaoke-DX?
mc510
29th April 2007, 17:42
I'm trying to open a karaoke CDG file with avisynth and am getting "the script's return value was not a video clip." I've got Karaoke-DX installed, which is a DirectShow filter for CDG files, and it is working -- I can view the CDG file properly in Windows Media Player. But not with avisynth?
My script has only this one line:
DirectShowSource("test.cdg")
Thanks for any help!
Wilbert
29th April 2007, 18:01
1) Does your cdg file play in GraphEdit?
2) If so, post a screenshot of its graph.
mc510
29th April 2007, 23:03
Yep, graphedit is able to render it. The karaoke-dx settings allow you to choose whether or not to use the Microsoft Video Mixing Renderer 9 ... I don't know that that is, but I tried it both with and without; graphs are attached.
Wilbert
29th April 2007, 23:20
Save a graph with the test.cdg, CDG Parser and CDG2Video Transform filters (delete the Video Renderer and the other redundant stuff). Open the grf in AviSynth:
DirectShowSource("file.grf", audio=false)
Does that work?
mc510
30th April 2007, 01:57
Yes it does! Thanks, Wilbert!
I still need to bring in the mp3 audio; can I do that in my avisynth script or do I need to do that at virtualdub?
mc510
30th April 2007, 02:08
Okay, I figured that last bit out on my own:
v = DirectShowSource("test.grf", audio=false)
a = DirectShowSource("test.mp3", video=false)
AudioDub(v,a)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.