Stefano Zacchiroli: rhythmbox gstreamer pipeline
Looking for a Gstreamer Pipeline for Remote Audio with
Rhythmbox
Dear Lazyweb,
i'm looking for a gstreamer custom pipeline
for configuring Rhythmbox so that I
can execute it remotely via X and deliver audio to the local
machine.
Can you help me out?
In exchange to your help I offer:
PS oh, yes, a way to configure the remote Rhytmbox so
that the local esd server is used would be fine too ...
-
recipe for obtaining remote audio playing with XMMS using EsounD:
-
on the local machine run esd as follows
$ esd -nobeeps -tcp -public - on the remote machine run XMMS, enter the preferences (CTRL-P), "Audio I/O Plugins" tab, choose "eSound Output Plugin" as "Output Plugin", click "Configure" and enter the address of the local machine, TCP port is 16001
-
on the local machine run esd as follows
-
recipe for playing an ogg/mp3/whatever file located on the
remote machine via network using Gstreamer pipelines, postponing
the audio decoding on the local machine so that network usage is
minimized:
- on both local and remote machines install the gstreamer-tools package
-
on the local machine run
$ gst-launch tcpserversrc host=0.0.0.0 port=3000 ! decodebin ! audioconvert ! alsasink -
on the remote machine run
$ gst-launch filesrc location=yourfile.mp3 ! tcpclientsink host=localmachine port=3000
PS oh, yes, a way to configure the remote Rhytmbox so
that the local esd server is used would be fine too ...