View Single Post
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#38
Originally Posted by phako View Post
Yes, shell access is sufficient. Didn't notice that there is a stand-alone terminal now, that's why I said "developer mode". I hope to put said tool to store during this week.
DLNA certification? Guess we'll have to wait.

Enabling the other transcoding options doesn't make sense for the normal user since there are too my knowledge no mpeg2/mp3 encoders and the AAC and H.264 transcoders are horribly broken from the GStreamer side (related to encodebin and muxing).
Hmm indeed, even lame mp3 encoder is missing. That's software patents hard at work for you. Ah well, PCM works fine and on WLAN the extra bandwidth doesn't really matter.

Regarding AAC, this works:

N9:

Code:
~ $ gst-launch-0.10 -v pulsesrc device=sink.headphone.monitor ! nokiaaacenc ! rtpmp4apay ! udpsink host=<YOUR_PC_IP> port=5000
PC:

Code:
C:\>gst-launch udpsrc port=5000  caps = "application/x-rtp, media=(string)audio, clock-rate=(int)44100, encoding-name=(string)MP4A-LATM, cpresent=(string)0, config=(string)40002420, payload=(int)96, ssrc=(uint)626726979, clock-base=(uint)297812686, seqnum-base=(uint)47800" ! gstrtpjitterbuffer latency=500 ! rtpmp4adepay ! decodebin ! directsoundsink
(Note: this is on Windows. On *nix you could probably just swap the directsoundsink with alsasink or pulsesink. Also, I used UDP here because the Windows build 0.10.7 beta of gstreamer doesn't support tcp?! Also note: you actually have to plug in a set of headphones for this to work. (How do you get the actual unfiltered output in gstreamer?))

So, either GStreamer is tolerant of the AAC produced by the N9, or AAC encoding just works?

I haven't tested H.264.

Either way, UPnP-support would be nice, even better if it would be possible to stream the actual screen contents as video as well! Alternatively it might be possible to provide a icecast/shoutcast stream. That has a very broad client-support as well.

Last edited by Fuzzillogic; 2012-03-05 at 20:46. Reason: Updated link to windows binaries project