I play a sound file on the local machine using playbin2 by setting the uri
parameter to file://path.to.file. Where can I get information about what other network protocols can be used here? I would like to be able to use the uri parameter to specify a sound file on another machine on the same LAN. Both machines run Ubuntu. I suppose that I could copy the file to a temporary directory on the local machine and then play it from there, but I suspect that there is a better way to do this. -- Jeffrey Barish ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
hi,
Jeffrey Barish wrote: > I play a sound file on the local machine using playbin2 by setting the uri > parameter to file://path.to.file. Where can I get information about what > other network protocols can be used here? I would like to be able to use > the uri parameter to specify a sound file on another machine on the same > LAN. Both machines run Ubuntu. I suppose that I could copy the file to a > temporary directory on the local machine and then play it from there, but I > suspect that there is a better way to do this. > you can iterate the gstreamer registry and find all features that provide GstURIHandler. Check what "gst-inspect-0.10 -u" is doing. Stefan ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Stefan Kost wrote:
> Jeffrey Barish wrote: >> I play a sound file on the local machine using playbin2 by setting the >> uri >> parameter to file://path.to.file. Where can I get information about what >> other network protocols can be used here? I would like to be able to use >> the uri parameter to specify a sound file on another machine on the same >> LAN. Both machines run Ubuntu. I suppose that I could copy the file to >> a temporary directory on the local machine and then play it from there, >> but I suspect that there is a better way to do this. >> > you can iterate the gstreamer registry and find all features that > provide GstURIHandler. Check what "gst-inspect-0.10 -u" is doing. > > Stefan Whether I use ftp or sftp as the network protocol, I get the same result: gst-launch-0.10 playbin uri=ftp://jeffbarish@quartet:/home/jeffbarish/00.ogg (gst-launch-0.10:4633): GLib-WARNING **: g_set_prgname() called multiple times Setting pipeline to PAUSED ... ERROR: Pipeline doesn't want to pause. ERROR: from element /GstPlayBin:playbin0/GstGioSrc:source: Could not open resource for reading. Additional debug info: gstgiosrc.c(321): gst_gio_src_get_stream (): /GstPlayBin:playbin0/GstGioSrc:source: Location ftp://quartet:0/home/jeffbarish/00.ogg not mounted: The specified location is not mounted Setting pipeline to NULL ... Freeing pipeline ... I presume that I don't have the servers configured correctly, but I can't find any information about how they need to be configured for GStreamer. -- Jeffrey Barish ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Jeffrey Barish wrote:
> Stefan Kost wrote: > >> Jeffrey Barish wrote: >> >>> I play a sound file on the local machine using playbin2 by setting the >>> uri >>> parameter to file://path.to.file. Where can I get information about what >>> other network protocols can be used here? I would like to be able to use >>> the uri parameter to specify a sound file on another machine on the same >>> LAN. Both machines run Ubuntu. I suppose that I could copy the file to >>> a temporary directory on the local machine and then play it from there, >>> but I suspect that there is a better way to do this. >>> >>> >> you can iterate the gstreamer registry and find all features that >> provide GstURIHandler. Check what "gst-inspect-0.10 -u" is doing. >> >> Stefan >> > > Whether I use ftp or sftp as the network protocol, I get the same result: > > gst-launch-0.10 playbin uri=ftp://jeffbarish@quartet:/home/jeffbarish/00.ogg > (gst-launch-0.10:4633): GLib-WARNING **: g_set_prgname() called multiple > times > Setting pipeline to PAUSED ... > ERROR: Pipeline doesn't want to pause. > ERROR: from element /GstPlayBin:playbin0/GstGioSrc:source: Could not open > resource for reading. > Additional debug info: > gstgiosrc.c(321): gst_gio_src_get_stream (): > /GstPlayBin:playbin0/GstGioSrc:source: > Location ftp://quartet:0/home/jeffbarish/00.ogg not mounted: The specified > location is not mounted > Setting pipeline to NULL ... > Freeing pipeline ... > > I presume that I don't have the servers configured correctly, but I can't > find any information about how they need to be configured for GStreamer. > I guess passing the credentials like this is not supported. Check the debug log for giosrc and also search in bugzilla (imho there is a bug for it). Stefan ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |