Page 1 of 1

Streaming to Sony Ericsson mobile phones without DSS

Posted: 26 Jul 2009 19:34
by markostamcar
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!

Re: Streaming to Sony Ericsson mobile phones without DSS

Posted: 06 Aug 2009 02:29
by markostamcar
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

Re: Streaming to Sony Ericsson mobile phones without DSS

Posted: 10 Aug 2009 20:13
by kdh
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!

Re: Streaming to Sony Ericsson mobile phones without DSS

Posted: 10 Aug 2009 21:48
by markostamcar
Yup, it works just fine with the latest VLC :)

Re: Streaming to Sony Ericsson mobile phones without DSS

Posted: 17 Aug 2009 01:04
by markostamcar
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.