Hi
I am using windows . I have a media file encoded using a customized format. I have written a directshow filter for decoding this filter. Simply dragging this file in graphedit, plays the video and audio well.
However how do I use the same within phonon?
I have the following code:
media = new MediaObject(this);
connect(media, SIGNAL(finished()), SLOT(slotFinished()));
media->setCurrentSource("/home/username/music/filename.ogg");
media->play();
However how do I make phonon aware about my format? Do I have to define mime type for my format? The above code snippet plays well with the std avi and other media files. (files for which I have directshow filters installed on my system)
Thanks for help
Rgds
Lilesh
Bookmarks