Stream from BlackMagic Decklink to RTSP
Posted: 16 Oct 2013 17:48
Hi,
I'm trying to stream from a BlackMagic Decklink card to RTSP. It works fine on Ubuntu, but know I have to do it on Windows...
I managed to get the video from the card in VLC using this command :
But when I try to stream, using this :
It doesn't work. Here is the log :
If I open another VLC to try to play the stream with -I rc -vvv, I obtain this log :
If I use mp4v codec, the log starts printing "avencoder warning: almost fed libavcodec with a frame in the past" repetitively. According to this post : https://forum.videolan.org/viewtopic.ph ... ng#p348969, mp4v seams to be unable to stream from a DirectShow - Decklink card.
It may be a problem with my h264, because if I try :
It only shows one image after about 1mn whereas this :
Is working perfectly.
Some help would be very appreciated !
EDIT : the -I rc -vvv screen:// :sout="#transcode{vcodec=h264}:display" command gave me the same result (very long delay and only one frame) on Ubuntu and on another Windows 7 pc, is it normal ?
I'm trying to stream from a BlackMagic Decklink card to RTSP. It works fine on Ubuntu, but know I have to do it on Windows...
I managed to get the video from the card in VLC using this command :
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="Decklink Video Capture" :dshow-chroma="UYVY" :dshow-fps="25" :dshow-size="1920x1080" :dshow-aspect-ratio="16:9"
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" -I rc -vvv dshow:// :dshow-vdev="Decklink Video Capture" :dshow-chroma="UYVY" :dshow-fps="25" :dshow-size="1920x1080" :dshow-aspect-ratio="16:9" :sout="#transcode{width=200,vcodec=h264,fps=25,vb=5}:rtp{sdp=rtsp://myip:myport/stream}"
Code: Select all
[01912a0c] oldrc interface: VLC media player - 2.1.0 Rincewind
[01912a0c] oldrc interface: Copyright © 1996-2013 the VideoLAN team
[01912a0c] oldrc interface:
Attention : si vous n'avez plus accès à l'interface graphique, ouvrez une invite
de commande, allez dans le dossier où vous avez installé VLC, et lancez « vlc -
I qt ».
Interface de commande à distance initialisée, tapez « help » pour obtenir de l'a
ide.
[01912a0c] main interface debug: using interface module "oldrc"
[0196cb84] main playlist debug: processing request item: null, node: Liste de le
cture, skip: 0
[0196cb84] main playlist debug: rebuilding array of current - root Liste de lect
ure
[0196cb84] main playlist debug: rebuild done - 1 items, index -1
[0196cb84] main playlist debug: starting playback of the new playlist item
[0196cb84] main playlist debug: resyncing on dshow://
[0196cb84] main playlist debug: dshow:// is at 0
[0196cb84] main playlist debug: creating new input thread
[019214fc] main input debug: Creating an input for 'dshow://'
[0193115c] main stream output debug: using sout chain=`transcode{width=200,vcode
c=h264,fps=25,vb=5}:rtp{sdp=rtsp://134.246.60.148:3000/stream}'
[0193115c] main stream output debug: stream=`rtp'
[019310c4] main stream out debug: looking for sout stream module matching "rtp":
21 candidates
[019310c4] main stream out debug: set config option: sout-rtp-sdp to rtsp://134.
246.60.148:3000/stream
[019310c4] stream_out_rtp stream out warning: "134.246.60.148" RTSP host might b
e ignored in multiple-host configurations, use at your own risks.
[019310c4] stream_out_rtp stream out: Consider passing --rtsp-host=IP on the com
mand line instead.
[019310c4] stream_out_rtp stream out debug: RTSP stream at /stream
[019310c4] main stream out debug: net: listening to 134.246.60.148 port 3000
[019310c4] main stream out debug: using sout stream module "stream_out_rtp"
[0193115c] main stream output debug: stream=`transcode'
[0193128c] main stream out debug: looking for sout stream module matching "trans
code": 21 candidates
[0193128c] main stream out debug: set config option: sout-transcode-width to 200
[0193128c] main stream out debug: set config option: sout-transcode-vcodec to h2
64
[0193128c] main stream out debug: set config option: sout-transcode-fps to 25
[0193128c] main stream out debug: set config option: sout-transcode-vb to 5
[0193128c] stream_out_transcode stream out debug: codec video=h264 200x0 scaling
: 0.000000 5kb/s
[0193128c] main stream out debug: using sout stream module "stream_out_transcode
"
[019214fc] main input debug: using timeshift granularity of 50 MiB, in path 'C:\
Users\ADMINI~1\AppData\Local\Temp'
[019214fc] main input debug: `dshow://' gives access `dshow' demux `' path `'
[019214fc] main input debug: creating demux: access='dshow' demux='' location=''
file='(null)'
[01960564] main demux debug: looking for access_demux module matching "dshow": 1
2 candidates
[01960564] dshow demux debug: dshow-vdev: Decklink Video Capture
[01960564] dshow demux debug: dshow-adev:
[01960564] dshow demux debug: width x height 1920x1080
[01960564] dshow demux debug: found device: Blackmagic WDM Capture
[01960564] dshow demux debug: found device: Decklink Video Capture
[01960564] dshow demux debug: asking for device: Decklink Video Capture
[01960564] dshow demux debug: asked for Decklink Video Capture, binding to Deckl
ink Video Capture
[01960564] dshow demux debug: using device: Decklink Video Capture
[01960564] dshow demux debug: EnumDeviceCaps: output pin: Capture
[01960564] dshow demux debug: EnumDeviceCaps: output pin: ~VANC
[01960564] dshow demux debug: EnumDeviceCaps: output pin: ~Timecode
[01960564] dshow demux debug: EnumDeviceCaps: trying pin Capture
[01960564] dshow demux debug: EnumDeviceCaps: input pin default format configure
d
[01960564] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: UYVY, wi
dth:1920, height:1080, fps:25.000000
[01960564] dshow demux debug: CaptureFilter::JoinFilterGraph
[01960564] dshow demux debug: connecting filters
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::ConnectedTo [not connected]
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::QueryFilterInfo
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryAccept [OK] (width=1920, height=1
080, chroma=UYVY, fps=25.000000)
[01960564] dshow demux debug: CapturePin::ReceiveConnection [OK]
[01960564] dshow demux debug: CapturePin::NotifyAllocator
[01960564] dshow demux debug: ConnectFilters: graph_builder2 available.
[01960564] dshow demux warning: ConnectFilters: No crossBar routes found (incomp
atible pin types)
[01960564] dshow demux debug: filters connected successfully !
[01960564] dshow demux debug: MEDIATYPE_Video
[01960564] dshow demux debug: selected video pin accepts format: UYVY
[01960564] dshow demux debug: found device: Decklink Audio Capture
[01960564] dshow demux debug: found device: Entrée arrière (SoundMAX Integr
[01960564] dshow demux debug: found device: Microphone (SoundMAX Integrated
[01960564] dshow demux debug: asking for default device: Decklink Audio Capture
[01960564] dshow demux debug: asked for Decklink Audio Capture, binding to Deckl
ink Audio Capture
[01960564] dshow demux debug: using device: Decklink Audio Capture
[01960564] dshow demux debug: EnumDeviceCaps: output pin: Capture
[01960564] dshow demux debug: EnumDeviceCaps: trying pin Capture
[01960564] dshow demux debug: EnumDeviceCaps: input pin accepts format: araw, ch
annels:2, samples/sec:48000 bits/sample:16
[01960564] dshow demux debug: CaptureFilter::JoinFilterGraph
[01960564] dshow demux debug: connecting filters
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::ConnectedTo [not connected]
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::QueryFilterInfo
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryAccept [OK] (channels=2, samples/
sec=48000, bits/samples=16, format=araw)
[01960564] dshow demux debug: CapturePin::ReceiveConnection [OK]
[01960564] dshow demux debug: CapturePin::NotifyAllocator
[01960564] dshow demux debug: filters connected successfully !
[01960564] dshow demux debug: MEDIATYPE_Audio
[01960564] dshow demux debug: selected audio pin accepts format: araw
[01960564] dshow demux debug: Playing...
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::QueryPinInfo
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::ConnectedTo [OK]
[01960564] dshow demux debug: CaptureFilter::EnumPins
[01960564] dshow demux debug: CapturePin::QueryDirection
[01960564] dshow demux debug: CapturePin::ConnectedTo [OK]
[01960564] dshow demux debug: CaptureFilter::SetSyncSource
[01960564] dshow demux debug: CaptureFilter::SetSyncSource
[01960564] dshow demux debug: CaptureFilter::Pause
[01960564] dshow demux debug: CaptureFilter::Pause
[01960564] dshow demux debug: CaptureFilter::Run
[01960564] dshow demux debug: CaptureFilter::Run
[019214fc] main input debug: selecting program id=0
[01960564] main demux debug: using access_demux module "dshow"
[0198a6f4] main decoder debug: looking for packetizer module matching "any": 21
candidates
[0198a6f4] main decoder debug: using packetizer module "rawvideo"
[0199d564] main decoder debug: looking for packetizer module matching "any": 21
candidates
[0199d564] main decoder debug: using packetizer module "packetizer_copy"
[019214fc] main input debug: starting in async mode
[01912b8c] main demux meta debug: looking for meta reader module matching "any":
2 candidates
[01912b8c] lua demux meta debug: Trying Lua scripts in C:\Users\Administrateur\A
ppData\Roaming\vlc\lua\meta\reader
[01912b8c] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN
\VLC\lua\meta\reader
[01912b8c] lua demux meta debug: Trying Lua playlist script C:\Program Files\Vid
eoLAN\VLC\lua\meta\reader\filename.luac
[01912b8c] main demux meta debug: no meta reader modules matched
[019214fc] main input debug: `dshow://' successfully opened
[019214fc] main input debug: Buffering 0%
[019214fc] main input debug: switching to sync mode
[019214fc] main input debug: [Buffering 0%0193115c] main stream output debug:
adding a new sout input (sout_input:0198f978)
[0193128c] stream_out_transcode stream out debug: creating video transcoding fro
m fcc=`UYVY' to fcc=`h264'
[01982ee4] main generic debug: looking for decoder module matching "any": 39 can
didates
[01982ee4] main generic debug: using decoder module "rawvideo"
[0198498c] main encoder debug: looking for encoder module matching "any": 17 can
didates
[0198498c] x264 encoder debug: version x264 0.135.X
[0198498c] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[0198498c] x264 encoder: profile High, level 3.0
[0198498c] main encoder debug: using encoder module "x264"
[0198498c] main encoder debug: removing module "x264"
[0198498c] x264 encoder debug: framecount still in libx264 buffer: 0
[0198498c] x264 encoder: final ratefactor: 68.15
[019214fc] main input warning: clock gap, unexpected stream discontinuity
[019214fc] main input warning: feeding synchro with a new reference point trying
to recover from clock gap
[019214fc] main input debug: Buffering 0%
[019214fc] main input debug: Buffering 0%
[0193115c] main stream output debug: adding a new sout input (sout_input:025f37b
0)
[0193128c] stream_out_transcode stream out debug: not transcoding a stream (fcc=
`s16l')
[019310c4] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes
[019310c4] stream_out_rtp stream out debug: RTSP: adding /stream/trackID=0
[019310c4] stream_out_rtp stream out debug: sdp=
v=0
o=- 15422910989797382101 15422910989797382101 IN IP4 NTPFROV8
s=Unnamed
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 2.1.0
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 0 RTP/AVP 96
b=AS:1536
b=RR:0
a=rtpmap:96 L16/48000/2
[019214fc] main input debug: Buffering 13%
[019214fc] main input debug: Buffering 13%
[019214fc] main input debug: Buffering 26%
[019214fc] main input debug: Buffering 26%
[019214fc] main input debug: Buffering 40%
[019214fc] main input debug: Buffering 40%
[019214fc] main input debug: Buffering 53%
[019214fc] main input debug: Buffering 53%
[019214fc] main input debug: Buffering 66%
[019214fc] main input debug: Buffering 66%
[019214fc] main input debug: Buffering 80%
[019214fc] main input debug: Buffering 80%
[019214fc] main input debug: Buffering 93%
[019214fc] main input debug: Buffering 93%
[019214fc] main input debug: Stream buffering done (320 ms in 320 ms)
[019214fc] main input debug: Decoder buffering done in 0 ms
[0193128c] stream_out_transcode stream out debug: drift is too high (27614075999
, resetting master sync
[0193128c] stream_out_transcode stream out debug: decoder aspect is 1.777778:1
[0193128c] stream_out_transcode stream out debug: source pixel aspect is 1.00000
0:1
[0193128c] stream_out_transcode stream out debug: scaled pixel aspect is 1.00000
0:1
[0193128c] stream_out_transcode stream out debug: source 1920x1080, destination
200x112
[0193128c] stream_out_transcode stream out debug: encoder aspect is 44800:25200
[0e300cd4] main filter debug: looking for video filter2 module matching "any": 5
5 candidates
[0e300cd4] swscale filter debug: 1920x1080 chroma: UYVY -> 200x112 chroma: I420
with scaling using Bicubic (good quality)
[0e300cd4] main filter debug: using video filter2 module "swscale"
[0193128c] main stream out debug: Filter 'Swscale' (0e300cd4) appended to chain
[0193128c] stream_out_transcode stream out debug: destination (after video filte
rs) 200x112
[0198498c] main encoder debug: looking for encoder module matching "any": 17 can
didates
[0198498c] x264 encoder debug: version x264 0.135.X
[0198498c] x264 encoder: using SAR=224/225
[0198498c] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[0198498c] x264 encoder: profile High, level 1.1
[0198498c] main encoder debug: using encoder module "x264"
[019310c4] stream_out_rtp stream out debug: maximum RTP packet size: 1400 bytes
[019310c4] stream_out_rtp stream out debug: we found a startcode for NAL with TY
PE:7
[019310c4] stream_out_rtp stream out debug: we found a startcode for NAL with TY
PE:8
[019310c4] stream_out_rtp stream out debug: RTSP: adding /stream/trackID=1
[019310c4] stream_out_rtp stream out debug: sdp=
v=0
o=- 15422910991335135012 15422910991335135012 IN IP4 NTPFROV8
s=Unnamed
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 2.1.0
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 0 RTP/AVP 96
b=AS:1536
b=RR:0
a=rtpmap:96 L16/48000/2
m=video 0 RTP/AVP 96
b=AS:5
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64000b;sprop-parameter-sets=Z2QA
C6zZQ0/l//AOAA4RAAADAAEAAAMAMo8UKZY=,aOvssiw=;
[0193128c] stream_out_transcode stream out debug: drift is too high (27614076000
), resetting master sync
[0193128c] stream_out_transcode stream out debug: drift is too high (-1380690000
2, resetting master sync
[0198498c] x264 encoder warning: invalid DTS: PTS is less than DTS
[0198498c] x264 encoder warning: invalid DTS: PTS is less than DTS
[0198498c] x264 encoder warning: invalid DTS: PTS is less than DTS
Code: Select all
Received 270 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:40 GMT
Transport: RTP/AVP/UDP;unicast;client_port=52032-52033;server_port=52034-52035;s
src=C4378728;mode=play
Session: 893e06ee829c5153;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 5
[0132ccf4] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Session: 893e06ee829c5153
Range: npt=0.000-
Received 351 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:40 GMT
RTP-Info: url=rtsp://134.246.60.148:3000/stream/trackID=0;seq=57378;rtptime=6627
06192, url=rtsp://134.246.60.148:3000/stream/trackID=1;seq=406;rtptime=124257411
0
Range: npt=0.000000-
Session: 893e06ee829c5153;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 6
[0132ccf4] live555 demux debug: We have a timeout of 60 seconds
[0132ccf4] live555 demux debug: spawned timeout thread
[0132ccf4] live555 demux debug: play start: 0.000000 stop:0.000000
[0132ccf4] main demux debug: using access_demux module "live555"
[012b4b3c] main decoder debug: looking for decoder module matching "any": 39 can
didates
[012b4b3c] araw decoder debug: samplerate:48000Hz channels:2 bits/sample:16
[012b4b3c] main decoder debug: using decoder module "araw"
[01d9d2ec] main decoder debug: looking for decoder module matching "any": 39 can
didates
[01d9d2ec] avcodec decoder debug: trying to use direct rendering
[01d9d2ec] avcodec decoder debug: allowing 4 thread(s) for decoding
[01d9d2ec] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) st
arted
[01d9d2ec] avcodec decoder debug: using frame thread mode with 4 threads
[01d9d2ec] main decoder debug: using decoder module "avcodec"
[037e2abc] main packetizer debug: looking for packetizer module matching "any":
21 candidates
[037e2abc] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0)
[037e2abc] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0)
[037e2abc] main packetizer debug: using packetizer module "packetizer_h264"
[012e2adc] main demux meta debug: looking for meta reader module matching "any":
2 candidates
[012e2adc] lua demux meta debug: Trying Lua scripts in C:\Users\Administrateur\A
ppData\Roaming\vlc\lua\meta\reader
[012e2adc] lua demux meta debug: Trying Lua scripts in C:\Program Files\VideoLAN
\VLC\lua\meta\reader
[012e2adc] lua demux meta debug: Trying Lua playlist script C:\Program Files\Vid
eoLAN\VLC\lua\meta\reader\filename.luac
[012e2adc] main demux meta debug: no meta reader modules matched
[012f1234] main input debug: `rtsp://134.246.60.148:3000/stream' successfully op
ened
Sending request: GET_PARAMETER rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 7
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Session: 893e06ee829c5153
Received 166 new bytes of response data.
Received a complete GET_PARAMETER response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:40 GMT
Session: 893e06ee829c5153;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 7
[0132ccf4] live555 demux warning: no data received in 10s. Switching to TCP
Sending request: TEARDOWN rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 8
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Session: 893e06ee829c5153
[012b4b3c] main decoder debug: removing module "araw"
[012b4b3c] main decoder debug: killing decoder fourcc `s16b', 0 PES in FIFO
[01d9d2ec] main decoder debug: removing module "avcodec"
[01d9d2ec] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) sto
pped
[01d9d2ec] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[037e2abc] main packetizer debug: removing module "packetizer_h264"
[012f1234] main input debug: Program doesn't contain anymore ES
Opening connection to 134.246.60.148, port 3000...
...remote connection opened
Sending request: OPTIONS rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Received 124 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Content-Length: 0
Cseq: 2
Public: DESCRIBE,SETUP,TEARDOWN,PLAY,PAUSE,GET_PARAMETER
Sending request: DESCRIBE rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Accept: application/sdp
Received 210 new bytes of response data.
Have received 210 total bytes of a DESCRIBE RTSP response; awaiting 587 bytes mo
re.
Received 587 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:56 GMT
Content-Type: application/sdp
Content-Base: rtsp://134.246.60.148:3000/stream
Content-Length: 587
Cache-Control: no-cache
Cseq: 3
v=0
o=- 15422912123648978511 15422912123648978511 IN IP4 NTPFROV8
s=Unnamed
i=N/A
c=IN IP4 0.0.0.0
t=0 0
a=tool:vlc 2.1.0
a=recvonly
a=type:broadcast
a=charset:UTF-8
a=control:rtsp://134.246.60.148:3000/stream
m=audio 0 RTP/AVP 96
b=AS:1536
b=RR:0
a=rtpmap:96 L16/48000/2
a=control:rtsp://134.246.60.148:3000/stream/trackID=0
m=video 0 RTP/AVP 96
b=AS:5
b=RR:0
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64000b;sprop-parameter-sets=Z2QA
C6zZQ0/l//AOAA4RAAADAAEAAAMAMo8UKZY=,aOvssiw=;
a=control:rtsp://134.246.60.148:3000/stream/trackID=1
[0132ccf4] live555 demux debug: RTP subsession 'audio/L16'
Sending request: SETUP rtsp://134.246.60.148:3000/stream/trackID=0 RTSP/1.0
CSeq: 4
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Received 147 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 461 Unsupported transport
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:56 GMT
Content-Length: 0
Cache-Control: no-cache
Cseq: 4
Sending request: SETUP rtsp://134.246.60.148:3000/stream/trackID=0 RTSP/1.0
CSeq: 5
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Transport: RTP/AVP;unicast;client_port=52036-52037
Received 270 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:56 GMT
Transport: RTP/AVP/UDP;unicast;client_port=52036-52037;server_port=52038-52039;s
src=96D38317;mode=play
Session: 1e49ddfe8d0a1dc0;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 5
[01355274] main decoder debug: looking for decoder module matching "any": 39 can
didates
[01355274] araw decoder debug: samplerate:48000Hz channels:2 bits/sample:16
[01355274] main decoder debug: using decoder module "araw"
[0132ccf4] live555 demux debug: RTP subsession 'video/H264'
Sending request: SETUP rtsp://134.246.60.148:3000/stream/trackID=1 RTSP/1.0
CSeq: 6
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Transport: RTP/AVP/TCP;unicast;interleaved=2-3
Session: 1e49ddfe8d0a1dc0
Received 185 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 461 Unsupported transport
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:56 GMT
Session: 1e49ddfe8d0a1dc0;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 6
Sending request: SETUP rtsp://134.246.60.148:3000/stream/trackID=1 RTSP/1.0
CSeq: 7
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Transport: RTP/AVP;unicast;client_port=52040-52041
Session: 1e49ddfe8d0a1dc0
Received 270 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:56 GMT
Transport: RTP/AVP/UDP;unicast;client_port=52040-52041;server_port=52042-52043;s
src=C4378728;mode=play
Session: 1e49ddfe8d0a1dc0;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 7
[0134eb14] main decoder debug: looking for decoder module matching "any": 39 can
didates
[0134eb14] avcodec decoder debug: trying to use direct rendering
[0134eb14] avcodec decoder debug: allowing 4 thread(s) for decoding
[0134eb14] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) st
arted
[0134eb14] avcodec decoder debug: using frame thread mode with 4 threads
[0134eb14] main decoder debug: using decoder module "avcodec"
[01e667b4] main packetizer debug: looking for packetizer module matching "any":
21 candidates
[01e667b4] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0)
[01e667b4] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0)
[01e667b4] main packetizer debug: using packetizer module "packetizer_h264"
[0132ccf4] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 8
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Session: 1e49ddfe8d0a1dc0
Range: npt=0.000-
Received 351 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
Server: VLC/2.1.0
Date: Wed, 16 Oct 2013 15:35:56 GMT
RTP-Info: url=rtsp://134.246.60.148:3000/stream/trackID=0;seq=57378;rtptime=6627
06192, url=rtsp://134.246.60.148:3000/stream/trackID=1;seq=406;rtptime=124257411
0
Range: npt=0.000000-
Session: 1e49ddfe8d0a1dc0;timeout=60
Content-Length: 0
Cache-Control: no-cache
Cseq: 8
[0132ccf4] live555 demux debug: play start: 0.000000 stop:0.000000
[0132ccf4] live555 demux error: no data received in 10s, aborting
[012f1234] main input debug: EOF reached
[[01355274] main decoder debug: 0removing module "araw"133eeb4] main playlist de
bug:
finished input
[01355274] main decoder debug: killing decoder fourcc `s16b', 0 PES in FIFO
[0134eb14] main decoder debug: removing module "avcodec"
[0134eb14] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) sto
pped
[0134eb14] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[01e667b4] main packetizer debug: removing module "packetizer_h264"
[0132ccf4] main demux debug: removing module "live555"
Sending request: TEARDOWN rtsp://134.246.60.148:3000/stream RTSP/1.0
CSeq: 9
User-Agent: LibVLC/2.1.0 (LIVE555 Streaming Media v2012.12.18)
Session: 1e49ddfe8d0a1dc0
[012f1234] main input debug: Program doesn't contain anymore ES
[0133eeb4] main playlist debug: dead input
[0133eeb4] main playlist debug: changing item without a request (current 0/1)
[0133eeb4] main playlist debug: nothing to play
It may be a problem with my h264, because if I try :
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" -I rc -vvv screen:// :sout="#transcode{vcodec=h264}:display"
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" -I rc -vvv screen:// :sout="#transcode{vcodec=mp4v}:display"
Some help would be very appreciated !
EDIT : the -I rc -vvv screen:// :sout="#transcode{vcodec=h264}:display" command gave me the same result (very long delay and only one frame) on Ubuntu and on another Windows 7 pc, is it normal ?