i have question to experts. I have Security Cam which have output stream in [rtsp,h264] format. I want to play it in HTML5 webpage, so i need [http,h264] format. Is possible to do it?
I have this command and it is no working.
Code: Select all
vlc.exe -I dummy -vvv rtsp://admin:1234@10.0.71.15/live/ch03_0 --sout "#standard{access=http,dst=:8081/c.mp4}"
But in logs when i try run stream repeating i have this:
Code: Select all
[021cf0c4] dummy interface: VLC media player - 2.1.2 Rincewind
[021cf0c4] dummy interface: Copyright c 1996-2013 the VideoLAN team
[021cf0c4] dummy interface: Varování: Pokud nemůžete přistupovat k uživatelskému rozhraní programu, otevřet příkazovou řádku, běžte do adresáře, kde je nainstalován přehrávač VLC, a spuste příkaz "vlc -I qt"
[021cf0c4] dummy interface: using the dummy interface module...
[021cf0c4] main interface debug: using interface module "dummy"
[0060b7d4] main playlist debug: processing request item: null, node: Seznam skladeb, skip: 0
[0060b7d4] main playlist debug: rebuilding array of current - root Seznam skladeb
[0060b7d4] main playlist debug: rebuild done - 1 items, index -1
[0060b7d4] main playlist debug: starting playback of the new playlist item
[0060b7d4] main playlist debug: resyncing on rtsp://10.0.71.15/live/ch03_0
[0060b7d4] main playlist debug: rtsp://10.0.71.15/live/ch03_0 is at 0
[0060b7d4] main playlist debug: creating new input thread
[005dfbe4] main input debug: Creating an input for 'rtsp://10.0.71.15/live/ch03_0'
[021cd344] main stream output debug: using sout chain=`standard{access=http,dst=:8081/c.mp4}'
[021cd344] main stream output debug: stream=`standard'
[021cdf24] main stream out debug: looking for sout stream module matching "standard": 21 candidates
[021cdf24] main stream out debug: set config option: sout-standard-access to http
[021cdf24] main stream out debug: set config option: sout-standard-dst to :8081/c.mp4
[021cdf24] stream_out_standard stream out error: mov and mp4 mux are only valid with file output
[005b3d24] main access out debug: looking for sout access module matching "http : 8 candidates
[005b3d24] main access out debug: net: listening to * port 8081
[005b3d24] main access out debug: using sout access module "access_output_http"
[005e552c] main mux debug: looking for sout mux module matching "mp4": 10 canditates
[005e552c] mux_mp4 mux debug: Mp4 muxer opened
[005e552c] main mux debug: using sout mux module "mux_mp4"
[021cdf24] stream_out_standard stream out debug: using `http/mp4://:8081/c.mp4'
[021cdf24] main stream out debug: using sout stream module "stream_out_standard
[005dfbe4] main input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\DVORAK~1.RUD\AppData\Local\Temp'
[005dfbe4] main input debug: `rtsp://admin:i7aSg5TYzW@10.0.71.15/live/ch03_0' g
ves access `rtsp' demux `' path `admin:i7aSg5TYzW@10.0.71.15/live/ch03_0'
[005dfbe4] main input debug: creating demux: access='rtsp' demux='' location='a
min:i7aSg5TYzW@10.0.71.15/live/ch03_0' file='\\admin:i7aSg5TYzW@10.0.71.15\live\ch03_0'
[005d94fc] main demux debug: looking for access_demux module matching "rtsp": 1 candidates
[005d94fc] live555 demux debug: version 2013.12.05
Opening connection to 10.0.71.15, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://10.0.71.15:554/live/ch03_0 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.1.2 (LIVE555 Streaming Media v2013.12.05)
Received 105 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Server: UBNT Streaming Server v1.2
Public: DESCRIBE, SETUP, TEARDOWN, PLAY
Sending request: DESCRIBE rtsp://10.0.71.15:554/live/ch03_0 RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.1.2 (LIVE555 Streaming Media v2013.12.05)
Accept: application/sdp
Received 158 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
WWW-Authenticate: Digest realm="live/ch03_0", nonce="52dd9a00ccf9c5f3e8fac8914f
1d42894ccba4c04ad59076ebeb1fe19fe8057"
Resending...
Sending request: DESCRIBE rtsp://10.0.71.15:554/live/ch03_0 RTSP/1.0
CSeq: 4
Authorization: Digest username="admin", realm="live/ch03_0", nonce="52dd9a00ccf
c5f3e8fac8914f41d42894ccba4c04ad59076ebeb1fe19fe8057", uri="rtsp://10.0.71.15:5
4/live/ch03_0", response="d27a7f747f8e4949f56bf4c738bdf247"
User-Agent: LibVLC/2.1.2 (LIVE555 Streaming Media v2013.12.05)
Accept: application/sdp
Received 553 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Server: UBNT Streaming Server v1.2
Content-Base: rtsp://10.0.71.15:554/live/ch03_0/
Content-Type: application/sdp
Content-Length: 387
v=0
o=- 1 1 IN IP4 127.0.0.1
s=Ubiquiti Live
i=UBNT Streaming Media
c=IN IP4 0.0.0.0
t=0 0
m=video 0 RTP/AVP 99
b=AS:50000
a=framerate:25
a=x-dimensions:160,96
a=x-vendor-id:ubnt,a521
a=x-rtp-ts:4617405454576779360
a=rtpmap:99 H264/90000
a=fmtp:99 profile-level-id=42A01E;packetization-mode=1;sprop-parameter-sets=Z0I
HukFG1xIAG3dAAzf5gDYgQlA,aM4xUg==
a=control:trackID=0
[005d94fc] live555 demux debug: RTP subsession 'video/H264'
Sending request: SETUP rtsp://10.0.71.15:554/live/ch03_0/trackID=0 RTSP/1.0
CSeq: 5
Authorization: Digest username="admin", realm="live/ch03_0", nonce="52dd9a00ccf
c5f3e8fac8914f41d42894ccba4c04ad59076ebeb1fe19fe8057", uri="rtsp://10.0.71.15:5
4/live/ch03_0/", response="d3c9aa96f91beb8984533aa707783bd2"
User-Agent: LibVLC/2.1.2 (LIVE555 Streaming Media v2013.12.05)
Transport: RTP/AVP;unicast;client_port=51482-51483
Received 47 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 461 Unsupported Transport
CSeq: 5
Sending request: SETUP rtsp://10.0.71.15:554/live/ch03_0/trackID=0 RTSP/1.0
CSeq: 6
Authorization: Digest username="admin", realm="live/ch03_0", nonce="52dd9a00ccf
c5f3e8fac8914f41d42894ccba4c04ad59076ebeb1fe19fe8057", uri="rtsp://10.0.71.15:5
4/live/ch03_0/", response="d3c9aa96f91beb8984533aa707783bd2"
User-Agent: LibVLC/2.1.2 (LIVE555 Streaming Media v2013.12.05)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Received 107 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 6
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Session: 7FFC3C75F33943BF3208
[005dfbe4] main input debug: selecting program id=0
[005d94fc] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://10.0.71.15:554/live/ch03_0/ RTSP/1.0
CSeq: 7
Authorization: Digest username="admin", realm="live/ch03_0", nonce="52dd9a00ccf
c5f3e8fac8914f41d42894ccba4c04ad59076ebeb1fe19fe8057", uri="rtsp://10.0.71.15:5
4/live/ch03_0/", response="e167595aa6b23cf48206676565f77bcf"
User-Agent: LibVLC/2.1.2 (LIVE555 Streaming Media v2013.12.05)
Session: 7FFC3C75F33943BF3208
Range: npt=0.000-
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 7
Session: 7FFC3C75F33943BF3208
Range: npt=now-
RTP-Info: url=rtsp://10.0.71.15:554/live/ch03_0//trackID=0;seq=28923;rtptime=0
[005d94fc] live555 demux debug: play start: 0.000000 stop:0.000000
[005d94fc] main demux debug: using access_demux module "live555"
[021f7564] main decoder debug: looking for packetizer module matching "any": 21
candidates
[021f7564] packetizer_h264 decoder debug: found NAL_SPS (sps_id=0)
[021f7564] packetizer_h264 decoder debug: found NAL_PPS (pps_id=0 sps_id=0)
[021f7564] main decoder debug: using packetizer module "packetizer_h264"
[005dfbe4] main input debug: starting in async mode
[021d07c4] main demux meta debug: looking for meta reader module matching "any"
2 candidates
[021d07c4] lua demux meta debug: Trying Lua scripts in C:\Users\dvorak.ruda\App
ata\Roaming\vlc\lua\meta\reader
[021d07c4] lua demux meta debug: Trying Lua scripts in C:\Program Files (x86)\V
deoLAN\VLC\lua\meta\reader
[021d07c4] lua demux meta debug: Trying Lua playlist script C:\Program Files (x
6)\VideoLAN\VLC\lua\meta\reader\filename.luac
[021d07c4] main demux meta debug: no meta reader modules matched
[005dfbe4] main input debug: `rtsp://admin:i7aSg5TYzW@10.0.71.15/live/ch03_0' s
ccessfully opened
[005dfbe4] main input debug: switching to sync mode
[005dfbe4] main input debug: Buffering 0%
[005dfbe4] main input debug: Buffering 0%
[005dfbe4] main input debug: Buffering 0%
[005dfbe4] main input debug: Buffering 3%
[005dfbe4] main input debug: Buffering 6%[021cd344] main stream output debug:
adding a new sout input (sout_input:0061bc70)
[005e552c] main mux debug: adding a new input
[005e552c] mux_mp4 mux debug: adding input
[005dfbe4] main input debug: Buffering 13%
[005dfbe4] main input debug: Buffering 16%
[005dfbe4] main input debug: Buffering 19%
[005dfbe4] main input debug: Buffering 22%
[005dfbe4] main input debug: Buffering 26%
[005dfbe4] main input debug: Buffering 32%
[005dfbe4] main input debug: Buffering 35%
[005dfbe4] main input debug: Buffering 39%
[005dfbe4] main input debug: Buffering 42%
[005dfbe4] main input debug: Buffering 45%
[005dfbe4] main input debug: Buffering 52%
[005dfbe4] main input debug: Buffering 55%
[005dfbe4] main input debug: Buffering 58%
[005dfbe4] main input debug: Buffering 61%
[005dfbe4] main input debug: Buffering 65%
[005dfbe4] main input debug: Buffering 71%
[005dfbe4] main input debug: Buffering 74%
[005dfbe4] main input debug: Buffering 78%
[005dfbe4] main input debug: Buffering 81%
[005dfbe4] main input debug: Buffering 84%
[005dfbe4] main input debug: Buffering 91%
[005dfbe4] main input debug: Buffering 94%
[005dfbe4] main input debug: Buffering 97%
[005dfbe4] main input debug: Stream buffering done (1010 ms in 1008 ms)
[005dfbe4] main input debug: Decoder buffering done in 0 ms
[005d94fc] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[005dfbe4] main input error: ES_OUT_RESET_PCR called
[005dfbe4] main input debug: Buffering 0%
[005dfbe4] main input debug: Buffering 3%
[005dfbe4] main input debug: Buffering 6%
[005dfbe4] main input debug: Buffering 9%
[005dfbe4] main input debug: Buffering 16%
[005dfbe4] main input debug: Buffering 19%
[005dfbe4] main input debug: Buffering 22%
[005dfbe4] main input debug: Buffering 26%
[005dfbe4] main input debug: Buffering 29%
[005dfbe4] main input debug: Buffering 35%
[005dfbe4] main input debug: Buffering 39%
[005dfbe4] main input debug: Buffering 42%
[005dfbe4] main input debug: Buffering 45%
[005dfbe4] main input debug: Buffering 48%
[005dfbe4] main input debug: Buffering 55%
[005dfbe4] main input debug: Buffering 58%
[005dfbe4] main input debug: Buffering 61%
[005dfbe4] main input debug: Buffering 65%
[005dfbe4] main input debug: Buffering 68%
[005dfbe4] main input debug: Buffering 74%
[005dfbe4] main input debug: Buffering 78%
[005dfbe4] main input debug: Buffering 81%
[005dfbe4] main input debug: Buffering 81%
[005dfbe4] main input debug: Buffering 81%
[005dfbe4] main input debug: Buffering 84%
[005dfbe4] main input debug: Buffering 87%
[005dfbe4] main input debug: Buffering 94%
[005dfbe4] main input debug: Buffering 97%
[005dfbe4] main input debug: Stream buffering done (1010 ms in 985 ms)
[005dfbe4] main input debug: Decoder buffering done in 0 ms
[005e552c] mux_mp4 mux warning: i_length <= 0