Streaming to Sony Ericsson mobile phones without DSS

About encoding, codec settings, muxers and filter usage
markostamcar
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Jul 2009 19:16

Streaming to Sony Ericsson mobile phones without DSS

Postby markostamcar » 26 Jul 2009 19:34

Many newer SE phones support RTSP and AAC in their media player software. Sadly this player does not support listening to Shoutcast streams, so I figured I can convert the Shoutcast MP3/AAC HTTP streams to AAC RTSP streams on my server and listen to them on my mobile phone (SE W880). The problem is that the SDP/RTP/RTSP protocol "spoken" by VLC is not accepted by the media player on the phone.

I used the following command line with vlc 0.8.6h on Debian Lenny:

Code: Select all

vlc -vvv [STREAM_URL] --sout '#rtp{mp4a-latm,sdp=rtsp://[SERVER_IP]:554/stream.sdp}'
However my phone plays the stream from http://m.tuner2.com/ ( rtsp://64.202.98.91:554/gs.sdp ) perfectly... the only difference is this one uses the Darwin Streaming Server. I tried it using this tutorial and it works for me, too.

VLC client output: VLC server and DSS server @ tuner2

My questions are:

- would upgrading vlc to 1.0.0 improve mobile phone compatibility in this case?
- why the need for DSS? VLC should work, too, right?

Thanks for your help!
Last edited by markostamcar on 13 Aug 2009 02:25, edited 1 time in total.

markostamcar
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Jul 2009 19:16

Re: Streaming to Sony Ericsson mobile phones without DSS

Postby markostamcar » 06 Aug 2009 02:29

To reply to myself: :P

Upgrading to the latest dev version of vlc helped! Now the command line code from my previous post works! :)

And as a bonus, here's my DSS uninstall script:

Code: Select all

rm -f /usr/local/sbin/DarwinStreamingServer rm -f /usr/local/bin/PlaylistBroadcaster rm -f /usr/local/bin/MP3Broadcaster rm -f /usr/local/bin/qtpasswd rm -f /usr/local/sbin/streamingadminserver.pl rm -f /usr/local/bin/streamingadminserver.pl rm -f /usr/local/bin/SpamPro rm -f /usr/local/bin/StreamingLoadTool rm -rf /usr/local/sbin/StreamingServerModules rm -f /usr/local/bin/createuserstreamingdir rm -rf /etc/streaming rm -rf /var/streaming rm -rf /usr/local/movies rm -f /etc/init.d/dss

kdh
Cone that earned his stripes
Cone that earned his stripes
Posts: 224
Joined: 16 Jun 2009 22:38

Re: Streaming to Sony Ericsson mobile phones without DSS

Postby kdh » 10 Aug 2009 20:13

this is really good information. more so for what I am doing.

Are you still using the above command line in your first post with success?

thanks for the share!

markostamcar
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Jul 2009 19:16

Re: Streaming to Sony Ericsson mobile phones without DSS

Postby markostamcar » 10 Aug 2009 21:48

Yup, it works just fine with the latest VLC :)

markostamcar
Blank Cone
Blank Cone
Posts: 20
Joined: 26 Jul 2009 19:16

Re: Streaming to Sony Ericsson mobile phones without DSS

Postby markostamcar » 17 Aug 2009 01:04

Here's a more advanced shell script I wrote:

Code: Select all

if [ -n "$1" ]; then killall vlc screen -S stream -d -m vlc -vvv $1 --sout '#transcode{acodec=mp4a,ab=64,channels=2}:rtp{mp4a-latm,sdp=rtsp://[SERVER_IP]:554/stream.sdp}' else echo "Missing stream URL" fi
Usage:

Code: Select all

./stream.sh [STREAM_URL]
Note: You need GNU screen installed to use it.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests