GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
"handle" GnomeVFSHandle* : Read / Write "iradio-genre" gchar* : Read "iradio-mode" gboolean : Read / Write "iradio-name" gchar* : Read "iradio-title" gchar* : Read "iradio-url" gchar* : Read "location" gchar* : Read / Write "random-access" gboolean : Read / Write
This plugin reads data from a local or remote location specified by an URI. This location can be specified using any protocol supported by the GnomeVFS library. Common protocols are 'file', 'http', 'ftp', or 'smb'.
In case the "iradio-mode" property is set and the location is a http resource, gnomevfssrc will send special icecast http headers to the server to request additional icecast metainformation. If the server is not an icecast server, it will display the same behaviour as if the "iradio-mode" property was not set. However, if the server is in fact an icecast server, gnomevfssrc will output data with a media type of application/x-icy, in which case you will need to use the GstICYDemux element as follow-up element to extract the icecast meta data and to determine the underlying media type.
gst-launch -v gnomevfssrc location=file:///home/joe/foo.xyz ! fakesink
gst-launch -v gnomevfssrc location=smb://othercomputer/foo.xyz ! filesink location=/home/joe/foo.xyz
gst-launch -v gnomevfssrc location=http://music.foobar.com/demo.mp3 ! mad ! audioconvert ! audioresample ! alsasink
plugin | gnomevfs |
author | Bastien Nocera <hadess@hadess.net> GStreamer maintainers <gstreamer-devel@lists.sourceforge.net> |
class | Source/File |
"iradio-mode"
property"iradio-mode" gboolean : Read / Write
Enable internet radio mode (extraction of shoutcast/icecast metadata).
Default value: FALSE
"iradio-title"
property"iradio-title" gchar* : Read
Name of currently playing song.
Default value: NULL
"iradio-url"
property"iradio-url" gchar* : Read
Homepage URL for radio stream.
Default value: NULL
"location"
property"location" gchar* : Read / Write
Location of the file to read.
Default value: NULL