shout2send
shout2send pushes a media stream to an Icecast server
Example launch line
gst-launch-1.0 uridecodebin uri=file:///path/to/audiofile ! audioconvert ! vorbisenc ! oggmux ! shout2send mount=/stream.ogg port=8000 username=source password=somepassword ip=server_IP_address_or_hostname
This pipeline demuxes, decodes, re-encodes and re-muxes an audio media file into oggvorbis and sends the resulting stream to an Icecast server. Properties mount, port, username and password are all server-config dependent.
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBaseSink ╰──shout2send
Factory details
Authors: – Wim Taymans
Classification: – Sink/Network
Rank – none
Plugin – gstshout2
Package – GStreamer Good Plug-ins
Pad Templates
sink
application/ogg:
audio/ogg:
video/ogg:
audio/mpeg:
mpegversion: 1
layer: [ 1, 3 ]
video/webm:
audio/webm:
Signals
connection-problem
connection_problem_callback (GstElement * param_0, gint arg0, gpointer udata)
def connection_problem_callback (param_0, arg0, udata):
#python callback for the 'connection-problem' signal
function connection_problem_callback(param_0: GstElement * param_0, arg0: gint arg0, udata: gpointer udata): {
// javascript callback for the 'connection-problem' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run Cleanup
Properties
blocksize
“blocksize” guint
Size in bytes to pull per buffer (0 = default)
Flags : Read / Write
Default value : 4096
enable-last-sample
“enable-last-sample” gboolean
Enable the last-sample property
Flags : Read / Write
Default value : true
max-bitrate
“max-bitrate” guint64
The maximum bits per second to render (0 = disabled)
Flags : Read / Write
Default value : 0
max-lateness
“max-lateness” gint64
Maximum number of nanoseconds that a buffer can be late before it is dropped (-1 unlimited)
Flags : Read / Write
Default value : 18446744073709551615
processing-deadline
“processing-deadline” guint64
Maximum processing time for a buffer in nanoseconds
Flags : Read / Write
Default value : 20000000
protocol
“protocol” GstShout2SendProtocol *
Connection Protocol to use
Flags : Read / Write
Default value : http (3)
public
“public” gboolean
If the stream should be listed on the server's stream directory
Flags : Read / Write
Default value : false
qos
“qos” gboolean
Generate Quality-of-Service events upstream
Flags : Read / Write
Default value : false
render-delay
“render-delay” guint64
Additional render delay of the sink in nanoseconds
Flags : Read / Write
Default value : 0
stats
“stats” GstStructure *
Sink Statistics
Flags : Read
Default value :
application/x-gst-base-sink-stats, average-rate=(double)0, dropped=(guint64)0, rendered=(guint64)0;
throttle-time
“throttle-time” guint64
The time to keep between rendered buffers (0 = disabled)
Flags : Read / Write
Default value : 0
timeout
“timeout” guint
Max amount of time to wait for network activity, in milliseconds
Flags : Read / Write
Default value : 10000
Named constants
GstShout2SendProtocol
Members
xaudiocast
(1) – Xaudiocast Protocol (icecast 1.3.x)
icy
(2) – Icy Protocol (ShoutCast)
http
(3) – Http Protocol (icecast 2.x)
The results of the search are