I'm trying to stream SiriusXM to my iPhone the "back way" because the official app doesn't work. There is a python script called pyxis that pipes data into mplayer and plays it locally. Is it possible to grab this data and pipe to vlc or something else and have it stream it over http for me?

The original mplayer command looks like this and can be replaced in the pyxis config:

mplayer -slave -really-quiet -nojoystick -nolirc -user-agent NSPlayer-nomouseinput -prefer-ipv4 -cache 32 -cache-min 4

What i think i need is a similar command for vlc that will pack up the data in a http stream instead of playing locally.

Using Ubuntu 10.10 on Amazon EC2.

UPDATE:

Streaming a local file over http works no problem.

cat /home/*/test.mp3 | vlc -vvv -I dummy - --sout '#transcode{acodec=mp3,ab=64,channels=2,samplerate=48000}:std{access=http,mux=dummy,dst=0.0.0.0:8080}'

However if i put the same command into the pyxis config file, the socket is listening on 8080 again but i dont hear anything on my client. Is there a way to make vlc log its output to a file? --logfile=/home/*/vlc.log didnt work.

No audio on client side and vlc stops after 2-3 seconds (Stream info shows mp3 64kbis in VLC):

vlc -vvv -I dummy - --sout '#transcode{acodec=mp3,ab=64,channels=2,samplerate=48000}:std{access=http,mux=dummy,dst=0.0.0.0:8080}'

UPDATE 2: Here is sauce info http://pastie.org/private/ocs1buyro3f14wgnjzysw Sirius appears to be using asf and wma v2.

link|improve this question

71% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.