[gst-devel] playbin question -- playing an audio -- filepath error on windows

cppb cpp.begin at gmail.com
Wed Feb 3 17:50:25 CET 2010


Dear all,

I am trying to play some audio files with the CLI example on this site:

http://pygstdocs.berlios.de/pygst-tutorial/playbin.html
http://pygstdocs.berlios.de/pygst-tutorial/playbin.html 

I am on windows and it is giving error while reading the file. I specified
the following path:

$ python cliplayer.py C:\\voice.mp3

0:00:00.125000000  3788   009DA010 ERROR                basesrc
gstbasesrc.c:2834:gst_base_src_activate_pull:<source> Failed to start in
pull mode
Error: Could not open resource for reading.
..\..\..\Source\gst-plugins-base\ext\gio\gstgiosrc.c(324):
gst_gio_src_get_stream ():
/GstPlayBin2:player/GstURIDecodeBin:uridecodebin0/GstGioSrc:source:
Could not open location file:///C:/file:/C:/voice.mp3 for reading: Error
opening file: Invalid argument

How should I specify the file path on windows??

Also, is there anything special I need to do in this line of code?

self.player.set_property("uri", "file://" + filepath)


Thank you!

-- 
View this message in context: http://n4.nabble.com/playbin-question-playing-an-audio-filepath-error-on-windows-tp1461396p1461396.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list