Unable to re-stream http stream
Posted: 09 Jul 2014 21:02
Hello,
Got strange VLC behavior with http://radarmaquinas.no-ip.org/SBMT stream:
1. VLC Media player can play this url stream and I can hear voice as expected
2. When I am trying to "Stream" "http://radarmaquinas.no-ip.org/SBMT" to "127.0.0.1:8080" using #http{mux=asf,dst=:8080/} or #http{mux=mp3,dst=:8080/} I can see time bar counting seconds passed. Windows Media Player tells me Connecting to media, Opening media and stuck here
3. When I am trying to use libvlc_vlm_add_broadcast this url I even can't connect to 127.0.0.1:8080
Also tried mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf with #std{access=mmsh,mux=asfh,dst=:8080/} - same
Can you please suggest what I am doing wrong? All other stream (like icy) works ok.
Debug for case 2:
qt4 debug: MRL passed to the Sout: mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf
qt4 debug: Adding option: network-caching=1000
qt4 debug: Adding option: :sout=#http{mux=mp3,dst=:8080/}
qt4 debug: Adding option: sout-keep
main debug: adding item `Streaming' ( mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf )
qt4 debug: Adding a new MRL to recent ones: mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf
main debug: processing request item: Streaming, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 1
main debug: starting playback of the new playlist item
main debug: resyncing on Streaming
main debug: Streaming is at 1
main debug: creating new input thread
main debug: no fetch required for (null) (art currently (null))
main debug: Creating an input for 'Streaming'
main debug: using sout chain=`http{mux=mp3,dst=:8080/}'
main debug: stream=`http'
main debug: looking for sout stream module matching "http": 42 candidates
main debug: set config option: sout-standard-mux to mp3
main debug: set config option: sout-standard-dst to :8080/
main debug: looking for sout access module matching "http": 16 candidates
main debug: net: listening to * port 8080
main debug: using sout access module "access_output_http"
main debug: looking for sout mux module matching "mp3": 20 candidates
main debug: no sout mux modules matched
stream_out_standard debug: Couldn't open mux `mp3', trying `raw' instead
main debug: looking for sout mux module matching "raw": 20 candidates
mux_dummy debug: Dummy/Raw muxer opened
mux_dummy info: Open
main debug: using sout mux module "mux_dummy"
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: using `http/mp3://:8080/'
main debug: using sout stream module "stream_out_standard"
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Alex\AppData\Local\Temp'
main debug: `mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' gives access `mmsh' demux `' path `radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf'
main debug: creating demux: access='mmsh' demux='' location='radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' file='\\radarmaquinas.no-ip.org\SBMT?MSWMExt=.asf'
main debug: looking for access_demux module matching "mmsh": 24 candidates
main debug: no access_demux modules matched
main debug: creating access 'mmsh' location='radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf', path='\\radarmaquinas.no-ip.org\SBMT?MSWMExt=.asf'
main debug: looking for access module matching "mmsh": 40 candidates
main debug: net: connecting to radarmaquinas.no-ip.org port 80
qt4 debug: IM: Setting an input
main debug: connection succeeded (socket = 1704)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms debug: content-length = 4992
access_mms debug: stream type = broadcast
access_mms error: cannot read data 2
access_mms debug: complete header size=4980
access_mms debug: packet count=4294967295 packet size=1119
access_mms debug: starting stream
main debug: net: connecting to radarmaquinas.no-ip.org port 80
main debug: connection succeeded (socket = 1708)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms debug: Content-Type: application/x-mms-framed
access_mms debug: Server: Cougar/9.6.7600.16564
access_mms debug: Date: Wed, 09 Jul 2014 18:51:29 GMT
access_mms debug: Pragma: no-cache, client-id=1335751110, xResetStrm=1, features="broadcast", AccelBW=0, AccelDuration=0, Speed=1.000
access_mms debug: Cache-Control: no-cache
access_mms debug: Last-Modified: Wed, 09 Jul 2014 18:51:29 GMT
access_mms debug: Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile
access_mms debug: Connection: keep-alive
main debug: using access module "access_mms"
main debug: Using block method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: prebuffering done 4980 bytes in 0s - 4863281 KiB/s
main debug: looking for stream_filter module matching "any": 12 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 12 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='mmsh' demux='' location='radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' file='\\radarmaquinas.no-ip.org\SBMT?MSWMExt=.asf'
main debug: looking for demux module matching "asf": 126 candidates
asf debug: + 'Unknown'
asf debug: | + 'Header'
asf debug: | | + 'Stream Bitrate Properties'
asf debug: | | + 'File Properties'
asf debug: | | + 'Header Extension'
asf debug: | | | + 'Language List'
asf debug: | | | + 'Extended Stream Properties'
asf debug: | | | + 'Unknown'
asf debug: | | | + 'Metadata'
asf debug: | | | + 'Padding'
asf debug: | | + 'Stream Properties'
asf debug: | | + 'Extended content description'
asf debug: | | + 'Codec List'
asf debug: | + 'Data'
asf debug: found 1 streams
asf debug: added new audio stream(codec:0xa,ID:1)
main debug: selecting program id=0
main warning: 0 bytes need to be skipped (access non seekable)
main debug: using demux module "asf"
main debug: looking for packetizer module matching "any": 42 candidates
main debug: using packetizer module "packetizer_copy"
main debug: starting in async mode
main debug: looking for meta reader module matching "any": 4 candidates
lua debug: Trying Lua scripts in C:\Users\Alex\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.luac
lua debug: Trying Lua scripts in C:\Users\Alex\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.luac
main debug: no meta reader modules matched
main debug: `mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' successfully opened
main debug: Buffering 0%
main debug: switching to sync mode
main debug: Buffering 43%
main debug: Buffering 43%
main debug: adding a new sout input (sout_input:0285e530)
main debug: adding a new input
main debug: Buffering 87%
mux_dummy debug: adding input
main debug: Stream buffering done (1175 ms in 0 ms)
main debug: Decoder buffering done in 0 ms
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 32%
main debug: Stream buffering done (1219 ms in 0 ms)
main debug: Decoder buffering done in 0 ms
main warning: late buffer for mux input (317000)
mux_dummy debug: writing header data
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 2978 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 14%
main debug: Buffering 29%
main debug: Buffering 43%
main debug: Buffering 58%
main debug: Buffering 73%
main debug: Buffering 87%
main debug: Stream buffering done (3047 ms in 2961 ms)
main debug: Decoder buffering done in 0 ms
main warning: late buffer for mux input (426000)
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 4762 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 9%
main debug: Buffering 18%
main debug: Buffering 27%
main debug: Buffering 36%
main debug: Buffering 45%
main debug: Buffering 54%
main debug: Buffering 64%
main debug: Buffering 73%
main debug: Buffering 82%
main debug: Buffering 91%
main debug: Stream buffering done (4790 ms in 3758 ms)
main debug: Decoder buffering done in 0 ms
main warning: late buffer for mux input (425000)
Got strange VLC behavior with http://radarmaquinas.no-ip.org/SBMT stream:
1. VLC Media player can play this url stream and I can hear voice as expected
2. When I am trying to "Stream" "http://radarmaquinas.no-ip.org/SBMT" to "127.0.0.1:8080" using #http{mux=asf,dst=:8080/} or #http{mux=mp3,dst=:8080/} I can see time bar counting seconds passed. Windows Media Player tells me Connecting to media, Opening media and stuck here
3. When I am trying to use libvlc_vlm_add_broadcast this url I even can't connect to 127.0.0.1:8080
Also tried mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf with #std{access=mmsh,mux=asfh,dst=:8080/} - same
Can you please suggest what I am doing wrong? All other stream (like icy) works ok.
Debug for case 2:
qt4 debug: MRL passed to the Sout: mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf
qt4 debug: Adding option: network-caching=1000
qt4 debug: Adding option: :sout=#http{mux=mp3,dst=:8080/}
qt4 debug: Adding option: sout-keep
main debug: adding item `Streaming' ( mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf )
qt4 debug: Adding a new MRL to recent ones: mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf
main debug: processing request item: Streaming, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 2 items, index 1
main debug: starting playback of the new playlist item
main debug: resyncing on Streaming
main debug: Streaming is at 1
main debug: creating new input thread
main debug: no fetch required for (null) (art currently (null))
main debug: Creating an input for 'Streaming'
main debug: using sout chain=`http{mux=mp3,dst=:8080/}'
main debug: stream=`http'
main debug: looking for sout stream module matching "http": 42 candidates
main debug: set config option: sout-standard-mux to mp3
main debug: set config option: sout-standard-dst to :8080/
main debug: looking for sout access module matching "http": 16 candidates
main debug: net: listening to * port 8080
main debug: using sout access module "access_output_http"
main debug: looking for sout mux module matching "mp3": 20 candidates
main debug: no sout mux modules matched
stream_out_standard debug: Couldn't open mux `mp3', trying `raw' instead
main debug: looking for sout mux module matching "raw": 20 candidates
mux_dummy debug: Dummy/Raw muxer opened
mux_dummy info: Open
main debug: using sout mux module "mux_dummy"
main debug: muxer support adding stream at any time
main debug: muxer prefers to wait for all ES before starting to mux
stream_out_standard debug: using `http/mp3://:8080/'
main debug: using sout stream module "stream_out_standard"
main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Alex\AppData\Local\Temp'
main debug: `mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' gives access `mmsh' demux `' path `radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf'
main debug: creating demux: access='mmsh' demux='' location='radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' file='\\radarmaquinas.no-ip.org\SBMT?MSWMExt=.asf'
main debug: looking for access_demux module matching "mmsh": 24 candidates
main debug: no access_demux modules matched
main debug: creating access 'mmsh' location='radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf', path='\\radarmaquinas.no-ip.org\SBMT?MSWMExt=.asf'
main debug: looking for access module matching "mmsh": 40 candidates
main debug: net: connecting to radarmaquinas.no-ip.org port 80
qt4 debug: IM: Setting an input
main debug: connection succeeded (socket = 1704)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms debug: content-length = 4992
access_mms debug: stream type = broadcast
access_mms error: cannot read data 2
access_mms debug: complete header size=4980
access_mms debug: packet count=4294967295 packet size=1119
access_mms debug: starting stream
main debug: net: connecting to radarmaquinas.no-ip.org port 80
main debug: connection succeeded (socket = 1708)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms debug: Content-Type: application/x-mms-framed
access_mms debug: Server: Cougar/9.6.7600.16564
access_mms debug: Date: Wed, 09 Jul 2014 18:51:29 GMT
access_mms debug: Pragma: no-cache, client-id=1335751110, xResetStrm=1, features="broadcast", AccelBW=0, AccelDuration=0, Speed=1.000
access_mms debug: Cache-Control: no-cache
access_mms debug: Last-Modified: Wed, 09 Jul 2014 18:51:29 GMT
access_mms debug: Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile
access_mms debug: Connection: keep-alive
main debug: using access module "access_mms"
main debug: Using block method for AStream*
main debug: starting pre-buffering
main debug: received first data after 0 ms
main debug: prebuffering done 4980 bytes in 0s - 4863281 KiB/s
main debug: looking for stream_filter module matching "any": 12 candidates
main debug: no stream_filter modules matched
main debug: looking for stream_filter module matching "record": 12 candidates
main debug: using stream_filter module "record"
main debug: creating demux: access='mmsh' demux='' location='radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' file='\\radarmaquinas.no-ip.org\SBMT?MSWMExt=.asf'
main debug: looking for demux module matching "asf": 126 candidates
asf debug: + 'Unknown'
asf debug: | + 'Header'
asf debug: | | + 'Stream Bitrate Properties'
asf debug: | | + 'File Properties'
asf debug: | | + 'Header Extension'
asf debug: | | | + 'Language List'
asf debug: | | | + 'Extended Stream Properties'
asf debug: | | | + 'Unknown'
asf debug: | | | + 'Metadata'
asf debug: | | | + 'Padding'
asf debug: | | + 'Stream Properties'
asf debug: | | + 'Extended content description'
asf debug: | | + 'Codec List'
asf debug: | + 'Data'
asf debug: found 1 streams
asf debug: added new audio stream(codec:0xa,ID:1)
main debug: selecting program id=0
main warning: 0 bytes need to be skipped (access non seekable)
main debug: using demux module "asf"
main debug: looking for packetizer module matching "any": 42 candidates
main debug: using packetizer module "packetizer_copy"
main debug: starting in async mode
main debug: looking for meta reader module matching "any": 4 candidates
lua debug: Trying Lua scripts in C:\Users\Alex\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.luac
lua debug: Trying Lua scripts in C:\Users\Alex\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.luac
main debug: no meta reader modules matched
main debug: `mmsh://radarmaquinas.no-ip.org/SBMT?MSWMExt=.asf' successfully opened
main debug: Buffering 0%
main debug: switching to sync mode
main debug: Buffering 43%
main debug: Buffering 43%
main debug: adding a new sout input (sout_input:0285e530)
main debug: adding a new input
main debug: Buffering 87%
mux_dummy debug: adding input
main debug: Stream buffering done (1175 ms in 0 ms)
main debug: Decoder buffering done in 0 ms
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 32%
main debug: Stream buffering done (1219 ms in 0 ms)
main debug: Decoder buffering done in 0 ms
main warning: late buffer for mux input (317000)
mux_dummy debug: writing header data
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 2978 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 14%
main debug: Buffering 29%
main debug: Buffering 43%
main debug: Buffering 58%
main debug: Buffering 73%
main debug: Buffering 87%
main debug: Stream buffering done (3047 ms in 2961 ms)
main debug: Decoder buffering done in 0 ms
main warning: late buffer for mux input (426000)
main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 4762 ms)
main error: ES_OUT_RESET_PCR called
main debug: Buffering 0%
main debug: Buffering 9%
main debug: Buffering 18%
main debug: Buffering 27%
main debug: Buffering 36%
main debug: Buffering 45%
main debug: Buffering 54%
main debug: Buffering 64%
main debug: Buffering 73%
main debug: Buffering 82%
main debug: Buffering 91%
main debug: Stream buffering done (4790 ms in 3758 ms)
main debug: Decoder buffering done in 0 ms
main warning: late buffer for mux input (425000)