Reply
Thread Tools
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#1
I'd like to know how I can send audio from my desktop, using a gst-launch pipe to my N900 for output.

If that was hard to understand...
PC -> Gstreamer pipe -> Network -> Gstreamer pipe -> N900 speakers/headphone jack

All I want is audio, but I can't understand the tutorials on this, as they also include video and also don't target gst-launch for playback.
I'm not really handy with Gstreamer yet, I only understand minor parts of it.
As a point of entrance I've tried these:
On PC
Code:
gst-launch -e pulsesrc device="alsa....devicethingy" ! audioconvert ! mulawenc ! rtppcmupay mtu=1438 ! tcpserversink host=(localhost) port=5004
On N900
Code:
gst-launch tcpclientsrc host=(PC's IP) port=5004 ! mulawdec ! pulsesink
What am I doing wrong..?
On PC side, this is the output:
Code:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstAudioSrcClock
On N900, there is something about internal data flow, reason non-negotiated (-4), pipe doesn't want to preroll.

I'm sorry if I'm a truckload of failure with Gstreamer.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:14.