Re-stream Sirius with VLC

About encoding, codec settings, muxers and filter usage
cloak33
New Cone
New Cone
Posts: 9
Joined: 26 Apr 2009 21:28

Re-stream Sirius with VLC

Postby cloak33 » 27 Jul 2011 22:08

Hello everyone. I've been able to successfully stream music/video to multiple computers in my house using VLC. It's awesome! I've run into a little problem I was hoping you could help me with.

I have a Sirius subscription that I use with the SiriusXMStreamer. It's far superior to the web-based player as it doesn't time out every 30 minutes. It also acts as a server from what I understand. For example, I enter my Sirius credentials and it connects to Sirius and gives me access to all the channels. I can either use the built in player, or I can take one of the stream outputs and enter it into VLC or WMP. An example of the stream output options are, http://127.0.0.1:51710/sirius?channel=34&format=asx or mms://127.0.0.1:51710/sirius?channel=34. Entering wither of those in VLC or WMP works fine. The problem I'm having is when I try and use one of those in VLC using the Stream option. I want to stream it through RTP to multiple locations throughout my house. When I do that it just won't go. When I try with HTTP I get the error "main playlist: stopping playback." When I try the MMS I get "cannot connect to server." Same link works in WMP.

Is it possible to re-stream a stream so to speak? The main reason I want to use VLC instead of connecting directly to the SiriusXMPlayer is because VLC can keep everything in perfect sync.

Thanks

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Re-stream Sirius with VLC

Postby Sébastien Escudier » 28 Jul 2011 08:26

Is it possible to re-stream a stream so to speak?
Yes. If vlc can open the stream, it probably can re-stream it.
Use sout like:
--sout '#rtp{mux=ts,sdp=rtsp://yourip:8554/mystream}'
For example.

Or any other output method.

cloak33
New Cone
New Cone
Posts: 9
Joined: 26 Apr 2009 21:28

Re: Re-stream Sirius with VLC

Postby cloak33 » 28 Jul 2011 21:03

Thanks for the reply. I'm somewhat new to VLC so I'm not exactly sure where that sout command fits in. Here is what I'm currently doing. VLC version 1.1.11.

1) Click Media > Streaming.
2) Select Network tab and enter in "http://127.0.0.1:51710/sirius?channel=25&format=asx" and click Stream.
3) On the Destinations tab I select RTP/MPEG Transport Stream and click Add.
4) Enter in 239.1.1.1 and port 5004 for the address.
5) Uncheck Transcoding.
6) Click Stream.
7) Nothing happens.

The debug window shows the following:
[0099c68c] main playlist: stopping playback
[0099c68c] main playlist: stopping playback

Would you be able to explain exactly what I need to do? Thanks for the help.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Re-stream Sirius with VLC

Postby Sébastien Escudier » 29 Jul 2011 08:38

show the complete logs when you open (without streaming) http://127.0.0.1:51710/sirius?channel=34&format=asx in vlc
tools -> message -> verbosity = 2

cloak33
New Cone
New Cone
Posts: 9
Joined: 26 Apr 2009 21:28

Re: Re-stream Sirius with VLC

Postby cloak33 » 29 Jul 2011 19:57

When I try to open up the stream as directed this is the result. Nothing actually ends up playing.

Code: Select all

qt4 warning: Input option: http-caching=1200 main debug: adding item `http://127.0.0.1:51710/sirius?channel=34&format=asx' ( http://127.0.0.1:51710/sirius?channel=34&format=asx ) qt4 debug: Adding a new MRL to recent ones: http://127.0.0.1:51710/sirius?channel=34&format=asx main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item http://127.0.0.1:51710/sirius?channel=34&format=asx node Playlist skip 0 main debug: resyncing on http://127.0.0.1:51710/sirius?channel=34&format=asx main debug: http://127.0.0.1:51710/sirius?channel=34&format=asx is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'http://127.0.0.1:51710/sirius?channel=34&format=asx' main debug: thread (input) created at priority 1 (../.././src/input/input.c:220) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\XXXX\AppData\Local\Temp' main debug: `http://127.0.0.1:51710/sirius?channel=34&format=asx' gives access `http' demux `' path `127.0.0.1:51710/sirius?channel=34&format=asx' main debug: creating demux: access='http' demux='' path='127.0.0.1:51710/sirius?channel=34&format=asx' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "http" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'http' path='127.0.0.1:51710/sirius?channel=34&format=asx' main debug: looking for access module: 2 candidates access_http debug: http: server='127.0.0.1' port=51710 file='/sirius?channel=34&format=asx' main debug: net: connecting to 127.0.0.1 port 51710 main debug: connection succeeded (socket = 1516) main debug: meta ok for (null), need to fetch art qt4 debug: IM: Setting an input access_http debug: protocol 'HTTP' answer code 200 access_http debug: Pragma: no-cache access_http debug: Connection: keep-alive access_http debug: this frame size=546 access_http debug: Content-Type: video/x-ms-asf access_http debug: Server: main debug: using access module "access_http" main debug: TIMER module_need() : 431.000 ms - Total 431.000 ms / 1 intvls (Avg 431.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 546 bytes in 0s - 533203 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: creating demux: access='http' demux='' path='127.0.0.1:51710/sirius?channel=34&format=asx' main debug: looking for demux module: 52 candidates playlist debug: found valid ASX playlist main debug: using demux module "playlist" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\XXXX\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: `http://127.0.0.1:51710/sirius?channel=34&format=asx' successfully opened main info: stopping playback main debug: deleting item `http://127.0.0.1:51710/sirius?channel=34&format=asx' main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\XXXX\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: removing module "lua" main debug: searching art for Sirius 34 - Lithium main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\XXXX\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.lua main debug: EOF reached main debug: removing module "playlist" main debug: removing module "stream_filter_record" main debug: removing module "access_http" main debug: waitpipe: object killed main debug: thread ended main debug: incoming request - stopping current input main debug: dead input lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms) main debug: art not found for http://127.0.0.1:51710/sirius?channel=34&format=asx main debug: meta ok for Sirius 34 - Lithium, need to fetch art main debug: thread times: real 0m0.442044s, kernel 0m0.015600s, user 0m0.000000s main debug: processing request item 1 Sirius 34 - Lithium node Playlist skip 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for '1 Sirius 34 - Lithium' main debug: thread (input) created at priority 1 (../.././src/input/input.c:220) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\XXXX\AppData\Local\Temp' main debug: `http://a264.l2896460475.c28964.g.lm.akamaistream.net/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' gives access `http' demux `' path `a264.l2896460475.c28964.g.lm.akamaistream.net/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' main debug: creating demux: access='http' demux='' path='a264.l2896460475.c28964.g.lm.akamaistream.net/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "http" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'http' path='a264.l2896460475.c28964.g.lm.akamaistream.net/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' main debug: looking for access module: 2 candidates access_http debug: http: server='a264.l2896460475.c28964.g.lm.akamaistream.net' port=80 file='/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' main debug: net: connecting to a264.l2896460475.c28964.g.lm.akamaistream.net port 80 qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'http://127.0.0.1:51710/sirius?channel=34&format=asx' : 435.000 ms - Total 435.000 ms / 1 intvls (Avg 435.000 ms) qt4 debug: IM: Setting an input main debug: connection succeeded (socket = 1512) access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: video/x-ms-asf access_http debug: Server: Cougar/9.5.6001.18223 access_http debug: this frame size=802 access_http debug: Pragma: no-cache, xResetStrm=1 access_http debug: Connection: close main debug: using access module "access_http" main debug: TIMER module_need() : 458.000 ms - Total 458.000 ms / 1 intvls (Avg 458.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: pre-buffering done 802 bytes in 0s - 783203 KiB/s main debug: looking for stream_filter module: 2 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating demux: access='http' demux='' path='a264.l2896460475.c28964.g.lm.akamaistream.net/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' main debug: looking for demux module: 52 candidates playlist debug: found valid ASX playlist main debug: using demux module "playlist" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\XXXX\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: `http://a264.l2896460475.c28964.g.lm.akamaistream.net/D/264/28964/v0001/reflector:60475?aifp=abcd&partner=canada_online_player&stream=90salternative&auth=db.aYdKb7dKadbfdmb5dodDdiaWaHaUaWbC-bomVob-8-vga-lm7S9Txptcech-rjodtbs7rim7pdrfrbjcqPsdp6mfohlfq8ncsercr6ni&token=85ecf4fc39ecf340cadc52189eca9651&login_type=subscriber&login=5199904671&campaign=null&bitrate=high&wmcache=0&mswmext=.asx' successfully opened main info: stopping playback main debug: deleting item `1 Sirius 34 - Lithium' main debug: EOF reached main debug: incoming request - stopping current input main debug: waitpipe: object killed main debug: dying input main debug: removing module "playlist" main debug: removing module "stream_filter_record" main debug: removing module "access_http" main debug: thread ended main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\XXXX\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua main debug: dead input main debug: thread times: real 0m0.468046s, kernel 0m0.000000s, user 0m0.015600s main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: removing module "lua" main debug: searching art for Sirius 34 - Lithium main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\XXXX\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms) main debug: art not found for 1 Sirius 34 - Lithium qt4 debug: IM: Deleting the input main debug: TIMER input launching for '1 Sirius 34 - Lithium' : 468.000 ms - Total 468.000 ms / 1 intvls (Avg 468.000 ms)

cloak33
New Cone
New Cone
Posts: 9
Joined: 26 Apr 2009 21:28

Re: Re-stream Sirius with VLC

Postby cloak33 » 03 Aug 2011 02:53

No joy?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Re-stream Sirius with VLC

Postby Sébastien Escudier » 16 Aug 2011 08:32

You have the actual URL opened by vlc in the logs.
You can restream that url.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests