Streaming from IP camera with authentication is not possible

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Streaming from IP camera with authentication is not possible

pumba

Hi, I have an IP camera: http://www.vstarcam.com/C7823WIP-Mini-WIFI-IP-Camera-137.html

I'm trying recieve the rtsp stream (only video is needed) from it.


Here's a list of things I've done so far, and experimented with:

1. my working pipeline, when I've used live555 for rtsp source (never mind the audio part, Its not important here):

gst-launch-1.0 -v rtspsrc location=<a class="moz-txt-link-rfc2396E" href="rtsp://192.168.100.105:8554/video1a.264">"rtsp://192.168.100.105:8554/video1a.264" !
 queue ! rtph264depay ! h264parse ! queue ! mpegtsmux name=mux ! tsparse ! rtpmp2tpay ! udpsink host=192.168.100.104 port=5000 alsasrc ! audio/x-raw,channels=2,format=S16LE,rate=44100 ! audioconvert ! audio/x-raw,channels=2,format=S16LE,rate=44100 ! voaacenc ! audio/mpeg,stream-format=adts,channels=2,rate=44100 ! mux.

2. Now, I'm trying to change the respsrc location to that one of my IP Camera, which is, <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_1">rtsp://192.168.100.101:10554/tcp/av0_1 and it's not working. My modified pipeline looks like this:

... rtspsrc location=<a class="moz-txt-link-rfc2396E" href="rtsp://192.168.100.101:10554/tcp/av0_0">"rtsp://192.168.100.101:10554/tcp/av0_0" debug=true user-id="admin" user-pw="xxxxxxx" ...

I've tested these pipelines as well:

A. ... rtspsrc location=<a class="moz-txt-link-rfc2396E" href="rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0">"rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0" debug=true user-id="admin" user-pw="xxxxx"...

B. ... rtspsrc location=<a class="moz-txt-link-rfc2396E" href="rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0">"rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0" debug=true ...

[three of the above pipelines resulted in one set of errors, that I'll be adding at the very end to make this post look nice]

3. To check whether streaming is working, I've used VLC plater to stream, and it worked.

A. When used <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0 it prompted the username and password two times, before starts playing.

B. When used <a class="moz-txt-link-freetext" href="rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0">rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0 it never asked the username and password, and took almost same time as above before starts playing.

[My VLC Log is also given at the bottom]

I don't know what else to do, please help, thanks.


GST LAUNCH Error:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to <a class="moz-txt-link-freetext" href="rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0">rtsp://admin:888888@192.168.100.101:10554/tcp/av0_0
RTSP request message 0x7f80724aac60
 request line:
Progress: (open) Retrieving server options
   method: 'OPTIONS'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
   version: '1.0'
 headers:
   key: 'User-Agent', value: 'RealMedia Player Version 6.0.9.1235 (linux-2.0-libc6-i386-gcc2.95)'
   key: 'ClientChallenge', value: '9e26d33f2984236010ef6253fb1887f7'
   key: 'CompanyID', value: 'KnKV4M4I/B2FjJ1TToLycw=='
   key: 'GUID', value: '00000000-0000-0000-0000-000000000000'
   key: 'RegionData', value: '0'
   key: 'PlayerStarttime', value: '[28/03/2003:22:50:23 00:00]'
   key: 'ClientID', value: 'Linux_2.4_6.0.9.1235_play32_RN01_EN_586'
 body:
RTSP response message 0x7f80724aacc0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '1'
   key: 'Date', value: 'Wed, Oct 05 2016 09:26:33 GMT'
   key: 'Public', value: 'OPTIONS'
   key: 'Public', value: 'DESCRIBE'
   key: 'Public', value: 'SETUP'
   key: 'Public', value: 'TEARDOWN'
   key: 'Public', value: 'PLAY'
   key: 'Public', value: 'PAUSE'
   key: 'Public', value: 'GET_PARAMETER'
   key: 'Public', value: 'SET_PARAMETER'
 body: length 0
RTSP request message 0x7f80724aac60
 request line:
   method: 'DESCRIBE'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
   version: '1.0'
 headers:
Progress: (open) Retrieving media info
   key: 'Accept', value: 'application/sdp'
 body:
RTSP response message 0x7f80724aacc0
 status line:
   code:   '401'
   reason: 'Unauthorized'
   version: '1.0'
 headers:
   key: 'CSeq', value: '2'
   key: 'WWW-Authenticate', value: 'Digest realm="RTSPD",nonce="r6121a95827o456tj794uf2iftr07853"'
 body: length 0
RTSP request message 0x7f80724aac60
 request line:
   method: 'DESCRIBE'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
   version: '1.0'
 headers:
   key: 'Accept', value: 'application/sdp'
   key: 'Date', value: 'Wed, 05 Oct 2016 09:23:17 GMT'
 body:
RTSP response message 0x7f80724aacc0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '3'
   key: 'Date', value: 'Wed, Oct 05 2016 09:26:33 GMT'
   key: 'Content-Type', value: 'application/sdp'
   key: 'Content-Length', value: '385'
 body: length 386
00000000 (0x7f806c015630): 76 3d 30 0d 0a 6f 3d 56 53 54 43 20 33 36 38 34  v=0..o=VSTC 3684
00000010 (0x7f806c015640): 36 34 38 34 34 38 20 33 36 38 34 36 34 38 34 34  648448 368464844
00000020 (0x7f806c015650): 38 20 49 4e 20 49 50 34 20 31 39 32 2e 31 36 38  8 IN IP4 192.168
00000030 (0x7f806c015660): 2e 31 30 30 2e 31 30 31 0d 0a 73 3d 73 74 72 65  .100.101..s=stre
00000040 (0x7f806c015670): 61 6d 65 64 20 62 79 20 74 68 65 20 56 53 54 41  amed by the VSTA
00000050 (0x7f806c015680): 52 43 41 4d 20 52 54 53 50 20 73 65 72 76 65 72  RCAM RTSP server
00000060 (0x7f806c015690): 0d 0a 65 3d 4e 4f 4e 45 0d 0a 63 3d 49 4e 20 49  ..e=NONE..c=IN I
00000070 (0x7f806c0156a0): 50 34 20 30 2e 30 2e 30 2e 30 0d 0a 74 3d 30 20  P4 0.0.0.0..t=0
00000080 (0x7f806c0156b0): 30 0d 0a 6d 3d 76 69 64 65 6f 20 30 20 52 54 50  0..m=video 0 RTP
00000090 (0x7f806c0156c0): 2f 41 56 50 20 39 36 0d 0a 62 3d 41 53 3a 31 30  /AVP 96..b=AS:10
000000a0 (0x7f806c0156d0): 32 34 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74 72  24..a=control:tr
000000b0 (0x7f806c0156e0): 61 63 6b 30 0d 0a 61 3d 72 74 70 6d 61 70 3a 39  ack0..a=rtpmap:9
000000c0 (0x7f806c0156f0): 36 20 48 32 36 34 2f 39 30 30 30 30 0d 0a 61 3d  6 H264/90000..a=
000000d0 (0x7f806c015700): 66 6d 74 70 3a 39 36 20 70 61 63 6b 65 74 69 7a  fmtp:96 packetiz
000000e0 (0x7f806c015710): 61 74 69 6f 6e 2d 6d 6f 64 65 3d 31 3b 70 72 6f  ation-mode=1;pro
000000f0 (0x7f806c015720): 66 69 6c 65 2d 6c 65 76 65 6c 2d 69 64 3d 34 32  file-level-id=42
00000100 (0x7f806c015730): 30 30 31 46 3b 73 70 72 6f 70 2d 70 61 72 61 6d  001F;sprop-param
00000110 (0x7f806c015740): 65 74 65 72 2d 73 65 74 73 3d 5a 30 49 41 48 35  eter-sets=Z0IAH5
00000120 (0x7f806c015750): 57 6f 46 41 46 75 51 41 3d 3d 2c 61 4d 34 38 67  WoFAFuQA==,aM48g
00000130 (0x7f806c015760): 41 3d 3d 0d 0a 6d 3d 61 75 64 69 6f 20 30 20 52  A==..m=audio 0 R
00000140 (0x7f806c015770): 54 50 2f 41 56 50 20 38 09 20 0d 0a 62 3d 41 53  TP/AVP 8. ..b=AS
00000150 (0x7f806c015780): 3a 34 38 0d 0a 61 3d 63 6f 6e 74 72 6f 6c 3a 74  :48..a=control:t
00000160 (0x7f806c015790): 72 61 63 6b 31 0d 0a 61 3d 72 74 70 6d 61 70 3a  rack1..a=rtpmap:
00000170 (0x7f806c0157a0): 38 20 50 43 4d 41 2f 38 30 30 30 2f 31 0d 0a 0d  8 PCMA/8000/1...
00000180 (0x7f806c0157b0): 0a 00                                            ..             
sdp packet 0x7f806c015440:
 version:       '0'
 origin:
  username:     'VSTC'
  sess_id:      '3684648448'
  sess_version: '3684648448'
  nettype:      'IN'
  addrtype:     'IP4'
  addr:         '192.168.100.101'
 session_name:  'streamed by the VSTARCAM RTSP server'
 information:   '(NULL)'
 uri:           '(NULL)'
 emails:
  email 'NONE'
 connection:
  nettype:      'IN'
  addrtype:     'IP4'
  address:      '0.0.0.0'
  ttl:          '0'
  addr_number:  '0'
 key:
  type:         '(NULL)'
  data:         '(NULL)'
 medias:
  media 0:
   media:       'video'
   port:        '0'
   num_ports:   '0'
   proto:       'RTP/AVP'
   formats:
    format  '96'
   information: '(NULL)'
   bandwidths:
    type:         'AS'
    bandwidth:    '1024'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'control' : 'track0'
    attribute 'rtpmap' : '96 H264/90000'
    attribute 'fmtp' : '96 packetization-mode=1;profile-level-id=42001F;sprop-parameter-sets=Z0IAH5WoFAFuQA==,aM48gA=='
  media 1:
   media:       'audio'
   port:        '0'
   num_ports:   '0'
   proto:       'RTP/AVP'
   formats:
    format  '8'
    format  ''
   information: '(NULL)'
   bandwidths:
    type:         'AS'
    bandwidth:    '48'
   key:
    type:       '(NULL)'
    data:       '(NULL)'
   attributes:
    attribute 'control' : 'track1'
    attribute 'rtpmap' : '8 PCMA/8000/1'
Progress: (request) SETUP stream 0
RTSP request message 0x7f80724aaa60
 request line:
   method: 'SETUP'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0/track0">rtsp://192.168.100.101:10554/tcp/av0_0/track0'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP;unicast;client_port=59434-59435'
 body:
RTSP response message 0x7f80724aaac0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '4'
   key: 'Date', value: 'Wed, Oct 05 2016 09:26:33 GMT'
   key: 'Session', value: '3914531604740095455'
   key: 'Transport', value: 'RTP/AVP;unicast;client_port=59434-59435;server_port=57232-57233'
 body: length 0
RTSP request message 0x7f80724aaa60
 request line:
Progress: (request) SETUP stream 1
   method: 'SETUP'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0/track1">rtsp://192.168.100.101:10554/tcp/av0_0/track1'
   version: '1.0'
 headers:
   key: 'Transport', value: 'RTP/AVP;unicast;client_port=50298-50299'
 body:
RTSP response message 0x7f80724aaac0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '5'
   key: 'Date', value: 'Wed, Oct 05 2016 09:26:33 GMT'
   key: 'Session', value: '3914531604740095455'
   key: 'Transport', value: 'RTP/AVP;unicast;client_port=50298-50299;server_port=59884-59885'
 body: length 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
RTSP request message 0x7f80724aac30
 request line:
   method: 'PLAY'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
   version: '1.0'
 headers:
   key: 'Range', value: 'npt=0-'
 body:
RTSP response message 0x7f80724aac90
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '6'
   key: 'Date', value: 'Wed, Oct 05 2016 09:26:33 GMT'
   key: 'Session', value: '3914531604740095455'
 body: length 0
Progress: (request) Sent PLAY request
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(4230): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Unhandled return value -8.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(4301): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Parse error)
Execution ended after 0:00:00.051346615
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
RTSP request message 0x7f80724aac60
 request line:
   method: 'PAUSE'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
   version: '1.0'
 headers:
 body:
Setting pipeline to NULL ...
RTSP request message 0x7f80724aac60
 request line:
   method: 'TEARDOWN'
   uri:    '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
   version: '1.0'
 headers:
 body:
Freeing pipeline ...

VLC LOG:


main debug: processing request item: <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0, node: Playlist, skip: 0
main debug: resyncing on <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0
main debug: <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0 is at 3
main debug: starting playback of the new playlist item
main debug: resyncing on <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0
main debug: <a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0 is at 3
main debug: creating new input thread
main debug: Creating an input for '<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0'
main debug: using timeshift granularity of 50 MiB, in path '/tmp'
main debug: `<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0' gives access `rtsp' demux `' path `192.168.100.101:10554/tcp/av0_0'
main debug: creating demux: access='rtsp' demux='' location='192.168.100.101:10554/tcp/av0_0' file='(null)'
main debug: looking for access_demux module matching "rtsp": 20 candidates
live555 debug: version 2014.01.13
qt4 debug: IM: Setting an input
live555 debug: authentication failed
live555 debug: retrying with user=admin
live555 debug: RTP subsession 'video/H264'
main debug: selecting program id=0
live555 debug: RTP subsession 'audio/PCMA'
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: We have a timeout of 60 seconds
live555 debug: spawned timeout thread
live555 debug: play start: 0.000000 stop:0.000000
main debug: using access_demux module "live555"
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: looking for packetizer module matching "any": 21 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
main debug: looking for decoder module matching "any": 39 candidates
g711 debug: samplerate:8000Hz channels:1
main debug: using decoder module "g711"
main debug: looking for meta reader module matching "any": 2 candidates
lua debug: Trying Lua scripts in /home/iamjbn/.local/share/vlc/lua/meta/reader
lua debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader
lua debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac
lua debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader
main debug: no meta reader modules matched
main debug: `<a class="moz-txt-link-freetext" href="rtsp://192.168.100.101:10554/tcp/av0_0">rtsp://192.168.100.101:10554/tcp/av0_0' successfully opened
live555 warning: no data received in 10s. Switching to TCP
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: removing module "packetizer_h264"
main debug: removing module "g711"
main debug: killing decoder fourcc `alaw', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
live555 debug: authentication failed
live555 debug: retrying with user=admin
live555 debug: RTP subsession 'video/H264'
main debug: looking for decoder module matching "any": 39 candidates
avcodec debug: trying to use direct rendering
avcodec debug: allowing 4 thread(s) for decoding
avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
avcodec debug: using frame thread mode with 4 threads
main debug: using decoder module "avcodec"
main debug: looking for packetizer module matching "any": 21 candidates
packetizer_h264 debug: found NAL_SPS (sps_id=0)
packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0)
main debug: using packetizer module "packetizer_h264"
live555 debug: RTP subsession 'audio/PCMA'
main debug: looking for decoder module matching "any": 39 candidates
g711 debug: samplerate:8000Hz channels:1
main debug: using decoder module "g711"
live555 debug: setup start: 0.000000 stop:0.000000
live555 debug: play start: 0.000000 stop:0.000000
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Stream buffering done (12102 ms in 47 ms)
main debug: Decoder buffering done in 0 ms
main debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Building font databases.
freetype debug: Took 0 microseconds
freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: looking for video filter2 module matching "any": 55 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: looking for video filter2 module matching "any": 55 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: Opening vout display wrapper
main debug: looking for vout display module matching "any": 12 candidates
main debug: looking for vout window xid module matching "qt4,any": 4 candidates
qt4 debug: requesting video window...
qt4 debug: Video was requested 0, 0
main debug: using vout window xid module "qt4"
main debug: looking for inhibit module matching "any": 2 candidates
dbus_screensaver debug: found service org.freedesktop.ScreenSaver
main debug: using inhibit module "dbus_screensaver"
xcb_xv debug: connected to X11.0 server
xcb_xv debug: vendor : The X.Org Foundation
xcb_xv debug: version: 11701000
xcb_xv debug: using screen 0xd6
xcb_xv debug: using XVideo extension v2.2
xcb_xv debug: using adaptor Intel(R) Textured Video
xcb_xv debug: using port 75
xcb_xv debug: using image format 0x30323449
xcb_xv debug: using X11 visual ID 0x20 (depth: 24)
xcb_xv debug: using X11 window 0x05200000
xcb_xv debug: using X11 graphic context 0x05200002
main debug: VoutDisplayEvent 'fullscreen' 0
main debug: VoutDisplayEvent 'resize' 1280x720 window
main debug: using vout display module "xcb_xv"
main debug: original format sz 1280x720, of (0,0), vsz 1280x720, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: removing module "freetype"
main debug: looking for text renderer module matching "any": 2 candidates
freetype debug: Building font databases.
freetype debug: Took 0 microseconds
freetype debug: Using Serif Bold as font from file /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
avcodec warning: disabling direct rendering
xcb_xv debug: display is visible
main debug: VoutDisplayEvent 'resize' 683x664 window
main error: Failed to resize display
xcb_xv debug: display is visible
main debug: VoutDisplayEvent 'resize' 1280x720 window
main debug: End of video preroll
main debug: reusing audio output
pulse debug: using mono channel map
pulse debug: changed buffer metrics: maxlength=4194304, tlength=1920, prebuf=0, minreq=640
pulse debug: connected to sink alsa_output.pci-0000_00_1b.0.analog-stereo
main debug: output 's16l' 44100 Hz Mono frame=1 samples/2 bytes
main debug: looking for audio volume module matching "any": 2 candidates
main debug: using audio volume module "integer_mixer"
main debug: input 's16l' 8000 Hz Mono frame=1 samples/2 bytes
main debug: looking for audio filter module matching "scaletempo": 14 candidates
scaletempo debug: format: 8000 rate, 1 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 240.000 stride_in, 240 stride_out, 192 standing, 48 overlap, 112 search, 400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: conversion: 's16l'->'f32l' 8000 Hz->8000 Hz Mono->Mono
main debug: looking for audio converter module matching "any": 12 candidates
pulse debug: base volume: 65536
pulse debug: changing sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
audio_format debug: s16l->f32l, bits per sample: 16->32
main debug: using audio converter module "audio_format"
main debug: conversion pipeline complete
main debug: conversion: 'f32l'->'s16l' 8000 Hz->8000 Hz Mono->Mono
main debug: looking for audio converter module matching "any": 12 candidates
audio_format debug: f32l->s16l, bits per sample: 16->16
main debug: using audio converter module "audio_format"
main debug: conversion pipeline complete
main debug: looking for audio resampler module matching "any": 3 candidates
main debug: using audio resampler module "ugly_resampler"
main debug: End of audio preroll
main warning: buffer too late (-11110947 us): dropped
main warning: buffer too late (-10983012 us): dropped
main debug: looking for video blending module matching "any": 1 candidates
main debug: using video blending module "blend"
xcb_xv debug: display is visible
main debug: VoutDisplayEvent 'resize' 683x664 window
xcb_xv debug: display is visible
pulse debug: cannot synchronize start
pulse debug: deferring start (1999539 us)
pulse debug: deferring start (1871355 us)
pulse debug: deferring start (1839201 us)
pulse debug: deferring start (1711137 us)
pulse debug: deferring start (1679000 us)
pulse debug: deferring start (1550944 us)
pulse debug: deferring start (1518820 us)
pulse debug: deferring start (1390764 us)
pulse debug: deferring start (1358638 us)
pulse debug: deferring start (1230557 us)
main warning: picture is too late to be displayed (missing 185 ms)
main warning: picture is too late to be displayed (missing 89 ms)
main warning: picture is too late to be displayed (missing 40 ms)
pulse debug: deferring start (1052345 us)
pulse debug: deferring start (924257 us)
main debug: auto hiding mouse cursor
pulse debug: deferring start (732064 us)
pulse debug: deferring start (603988 us)
pulse debug: deferring start (422083 us)
pulse debug: deferring start (293945 us)
pulse debug: deferring start (231339 us)
main warning: picture is too late to be displayed (missing 1526 ms)
main warning: picture is too late to be displayed (missing 1477 ms)
main warning: picture is too late to be displayed (missing 1426 ms)
main warning: picture is too late to be displayed (missing 1326 ms)
main warning: picture is too late to be displayed (missing 1277 ms)
main warning: picture is too late to be displayed (missing 703 ms)
main warning: picture is too late to be displayed (missing 654 ms)
main warning: picture is too late to be displayed (missing 602 ms)
main warning: picture is too late to be displayed (missing 503 ms)
main warning: picture is too late to be displayed (missing 454 ms)
main warning: picture is too late to be displayed (missing 402 ms)
main warning: picture is too late to be displayed (missing 303 ms)
main warning: picture is too late to be displayed (missing 254 ms)
main warning: picture is too late to be displayed (missing 203 ms)
main warning: picture is too late to be displayed (missing 35 ms)
main debug: picture might be displayed late (missing 13 ms)
pulse debug: deferring start (82833 us)
pulse warning: starting late (-45243 us)
pulse debug: started
pulse debug: changing sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
main warning: playback too late (163638): up-sampling
main warning: playback way too late (272154): flushing buffers
pulse debug: underflow
main warning: playback way too early (-1036000): playing silence
main debug: inserting 45687 zeroes
main warning: playback too early (-83815): down-sampling
main warning: picture is too late to be displayed (missing 59 ms)
main debug: picture might be displayed late (missing 8 ms)
main warning: picture is too late to be displayed (missing 46 ms)
main warning: picture is too late to be displayed (missing 41 ms)
main warning: picture is too late to be displayed (missing 47 ms)
main warning: picture is too late to be displayed (missing 47 ms)
main warning: picture is too late to be displayed (missing 31 ms)
main warning: picture is too late to be displayed (missing 40 ms)
main debug: picture might be displayed late (missing 9 ms)
main debug: picture might be displayed late (missing 16 ms)
main debug: resampling stopped (drift: -20843 us)
main warning: playback too early (-57246): down-sampling
main debug: resampling stopped (drift: -18336 us)
main debug: picture might be displayed late (missing 19 ms)
main debug: auto hiding mouse cursor
main debug: incoming request - stopping current input
main debug: picture might be displayed late (missing 9 ms)
main debug: control: stopping input
main debug: incoming request - stopping current input
main debug: finished input
main warning: can't get output picture
main warning: can't get output picture
main debug: removing module "avcodec"
avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
main debug: killing decoder fourcc `h264', 0 PES in FIFO
main debug: saving a free vout
main debug: reusing provided vout
main debug: removing module "packetizer_h264"
main debug: removing module "g711"
main debug: killing decoder fourcc `alaw', 0 PES in FIFO
main debug: removing module "ugly_resampler"
main debug: removing module "audio_format"
main debug: removing module "scaletempo"
main debug: removing module "audio_format"
main debug: removing module "integer_mixer"
main debug: keeping audio output
main debug: removing module "live555"
main debug: Program doesn't contain anymore ES
main debug: incoming request - stopping current input
main debug: dead input
main debug: destroying useless vout
main debug: removing module "blend"
main debug: removing module "xcb_xv"
pulse debug: changing sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)
dbus_screensaver debug: got cookie 1760351553
main debug: removing module "dbus_screensaver"
qt4 debug: releasing video...
qt4 debug: IM: Deleting the input
qt4 debug: Video is not needed anymore
main debug: removing module "freetype"
main debug: removing module "yuvp"
main debug: removing module "swscale"
pulse debug: changing sink 1: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analog Stereo)


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Streaming from IP camera with authentication is not possible

pumba
Solved the problem. Just add rtspsrc property, protocols="tcp"  (worked for my case, VStarcam IP Camera model: C7823WIP)

example pipeline:

gst-launch-1.0 -v rtspsrc location= rtsp://192.168.100.102:10554/tcp/av0_0 user-id=admin user-pw=888888 protocols="tcp"  ! rtph264depay ! decodebin ! videoconvert ! autovideosink