View Single Post
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#56
Stereo(!) microphone from N9 to PC:

PC:
Code:
gst-launch udpsrc port=3200 ! "application/x-rtp,media=(string)audio, clock-rate=(int)44100, encoding-name=(string)L16, channels=(int)2, payload=(int)96" ! gstrtpjitterbuffer latency=1000 ! rtpL16depay ! audioconvert ! autoaudiosink
N9:
Code:
~ $ gst-launch-0.10 autoaudiosrc ! audioconvert ! audio/x-raw-int,channels=2,depth=16,rate=44100 ! rtpL16pay ! udp
sink host=<IP of PC> port=3200
The PC-side actually works in both Linux as Windows (GST .10.7 beta, as mentioned before)

This is uncompressed audio. But still the two problems remain: how to get the original audio from example the music player, without the need for pluging-in headphones? And why won't TCP work? (Well, the Windows version seems to lack TCP...)

Also, the jitter buffer is at full second. Much lower and it breaks.

More interesting stuff ahead: using the N9 as Dolby Headphone decoder:

Code:
~ $ gst-inspect-0.10 | grep Dolby
nokiadhmmix:  nokiadhmmix: Dolby Headphones Mobile mixer
nokiaddpdec:  nokiaddpdec: Dolby Digital/Dolby Digital Plus decoder
But I don't know how to use them, and what the exact options are.

Of course, GStreamer can stream video as well. It should be possible to stream video directly to VLC on a PC right over the internet. I don't know about the streaming possibilities of HTML5 or Flash. Would be cool though to embed a videostream in a website. Any suggestions here too?
 

The Following User Says Thank You to Fuzzillogic For This Useful Post: