RTSP stream from ASTAK mole camera

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ozgur@mobilus.com.tr
New Cone
New Cone
Posts: 1
Joined: 06 Sep 2012 17:14

RTSP stream from ASTAK mole camera

Postby ozgur@mobilus.com.tr » 06 Sep 2012 17:35

Hello,

We are using VLC 2.0.2.

I am trying to access a stream from an ip camera. The stream plays fine with quicktime player.
When played with QT the following communication takes place between the camera and quicktime

GET /iphone/11 HTTP/1.1
User-Agent: QuickTime/7.7 (qtver=7.7;os=Windows NT 6.1)
Host: 192.168.1.45
Cache-Control: no-cache

HTTP/1.0 200 OK
Server: HiIpcam/V100R003 VodServer/1.0.0
Connection: Close
Content-Type: video/quicktime
Content-Length: 42
Pragma: no-cache
Cache-Control: no-cache

rtsptext
rtsp://192.168.1.45/iphone.mov

GET /iphone.mov HTTP/1.0
User-Agent: QuickTime/7.7 (qtver=7.7;os=Windows NT 6.1)
x-sessioncookie: 21Ms9vZLAAAAaBsABIAAAA
Accept: application/x-rtsp-tunnelled
Pragma: no-cache
Cache-Control: no-cache

HTTP/1.0 200 OK
Server: HiIpcam/V100R003 VodServer/1.0.0
Connection: Close
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/x-rtsp-tunnelled

RTSP/1.0 200 OK
Server: HiIpcam/V100R003 VodServer/1.0.0
CSeq: 1
Cache-Control: no-cache
Content-length: 423
Date: Wed, 5 Dec 2007 13:01:00 GMT
Expires: Wed, 5 Dec 2007 13:01:00 GMT
Content-Type: application/sdp
Content-Base: rtsp://192.168.1.45/iphone.mov/

v=0
o=StreamingServer 3441443066 1110182530000 IN IP4 192.168.1.45
s=\iphone.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:360
t=0 0
a=range:npt=now-
a=control:*
m=video 0 RTP/AVP 96
b=AS:256
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=0;profile-level-id=4D400C;sprop-parameter-sets=Z0LgHtqCgPRA,aM48gA==
a=control:trackID=3
m=audio 0 RTP/AVP 8
b=AS:64


However when i try to connect with VLC, the connection fails with the following log

Code: Select all

[025e8950] main stream debug: Using stream method for AStream* [025e8950] main stream debug: starting pre-buffering [025e8950] main stream debug: received first data after 0 ms [025e8950] main stream debug: pre-buffering done 341 bytes in 0s - 101 KiB/s [0254f778] main access debug: removing module "access_http" [00653828] main libvlc debug: creating access 'http' location='update.videolan.o rg/vlc/status-win-x86.asc', path='\\update.videolan.org\vlc\status-win-x86.asc' [0254f778] main access debug: looking for access module: 2 candidates [0254f778] access_http access debug: http: server='update.videolan.org' port=80 file='/vlc/status-win-x86.asc' [0254f778] main access debug: net: connecting to update.videolan.org port 80 [0254f778] main access debug: connection succeeded (socket = 608) [01e5fe40] main interface debug: using interface module "qt4" [01e5fe40] main interface debug: TIMER module_need() : 1386.543 ms - Total 1386. 543 ms / 1 intvls (Avg 1386.543 ms) [0254f778] access_http access debug: protocol 'HTTP' answer code 206 [0254f778] access_http access debug: Server: nginx/1.2.1 [0254f778] access_http access debug: Content-Type: text/plain [0254f778] access_http access debug: this frame size=190 [0254f778] access_http access debug: Connection: close [0254f778] access_http access debug: stream size=190,pos=0,remaining=190 [0254f778] main access debug: using access module "access_http" [0254f778] main access debug: TIMER module_need() : 448.233 ms - Total 448.233 m s / 1 intvls (Avg 448.233 ms) [01dd8ae0] main stream debug: Using stream method for AStream* [01dd8ae0] main stream debug: starting pre-buffering [01dd8ae0] main stream debug: received first data after 0 ms [01dd8ae0] main stream debug: pre-buffering done 190 bytes in 0s - 43 KiB/s [00653828] main libvlc debug: Downloading signature (190 bytes) [0254f778] main access debug: removing module "access_http" [00653828] main libvlc debug: Unarmoring signature [00653828] main libvlc: Status file authenticated [01e63268] main playlist debug: adding item `http://192.168.1.45:2510/iphone/11' ( http://192.168.1.45:2510/iphone/11 ) [01e5fe40] qt4 interface debug: Adding a new MRL to recent ones: http://192.168. 1.45:2510/iphone/11[01 [01e63268] main playlist debug: eno fetch required for (null) (art currently (nu ll))63268] main playlist debug: rebuilding array of current - root Playlist [01e63268] main playlist debug: rebuild done - 1 items, index -1 [01e63268] main playlist debug: processing request item: http://192.168.1.45:251 0/iphone/11, node: null, skip: 0 [01e63268] main playlist debug: resyncing on http://192.168.1.45:2510/iphone/11 [01e63268] main playlist debug: http://192.168.1.45:2510/iphone/11 is at 0 [01e63268] main playlist debug: starting playback of the new playlist item [01e63268] main playlist debug: resyncing on http://192.168.1.45:2510/iphone/11 [01e63268] main playlist debug: http://192.168.1.45:2510/iphone/11 is at 0 [01e63268] main playlist debug: creating new input thread [02721af0] main input debug: Creating an input for 'http://192.168.1.45:2510/iph one/11' [02721af0] main input debug: using timeshift granularity of 50 MiB, in path 'C:\ Users\ozgur\AppData\Local\Temp' [02721af0] main input debug: `http://192.168.1.45:2510/iphone/11' gives access ` http' demux `' path `192.168.1.45:2510/iphone/11' [02721af0] main input debug: creating demux: access='http' demux='' location='19 2.168.1.45:2510/iphone/11' file='\\192.168.1.45:2510\iphone\11' [01e85830] main demux debug: looking for access_demux module: 0 candidates [01e85830] main demux debug: no access_demux module matched "http" [01e85830] main demux debug: TIMER module_need() : 10.251 ms - Total 10.251 ms / 1 intvls (Avg 10.251 ms) [02721af0] main input debug: creating access 'http' location='192.168.1.45:2510/ iphone/11', path='\\192.168.1.45:2510\iphone\11' [0271fbb0] main access debug: looking for access module: 2 candidates [0271fbb0] access_http access debug: http: server='192.168.1.45' port=2510 file= '/iphone/11' [0271fbb0] main access debug: net: connecting to 192.168.1.45 port 2510 [0271fbb0] main access debug: connection succeeded (socket = 1416) [0271fbb0] access_http access debug: protocol 'HTTP' answer code 200 [0271fbb0] access_http access debug: Server: HiIpcam/V100R003 VodServer/1.0.0 [0271fbb0][0 access_http access debug: 1Connection: Closee5fe40] qt4 interface d ebug: IM: Setting an input [0271fbb0] access_http access debug: Content-Type: video/quicktime [0271fbb0] access_http access debug: this frame size=47 [0271fbb0] access_http access debug: Pragma: no-cache [0271fbb0] main access debug: using access module "access_http" [0271fbb0] main access debug: TIMER module_need() : 90.217 ms - Total 90.217 ms / 1 intvls (Avg 90.217 ms) [052a01b8] main stream debug: Using stream method for AStream* [052a01b8] main stream debug: starting pre-buffering [052a01b8] main stream debug: received first data after 0 ms [052a0318] main stream debug: looking for stream_filter module: 4 candidates [052a0318] main stream debug: no stream_filter module matching "any" could be lo aded [052a0318] main stream debug: TIMER module_need() : 11.277 ms - Total 11.277 ms / 1 intvls (Avg 11.277 ms) [052a0318] main stream debug: looking for stream_filter module: 1 candidate [052a0318] main stream debug: using stream_filter module "stream_filter_record" [052a0318] main stream debug: TIMER module_need() : 10.273 ms - Total 10.273 ms / 1 intvls (Avg 10.273 ms) [02721af0] main input debug: creating demux: access='http' demux='' location='19 2.168.1.45:2510/iphone/11' file='\\192.168.1.45:2510\iphone\11' [01e858e8] main demux debug: looking for demux module: 55 candidates [01e858e8] es demux error: cannot peek [01e858e8] playlist demux debug: found valid M3U playlist [01e858e8] main demux debug: using demux module "playlist" [01e858e8] main demux debug: TIMER module_need() : 613.217 ms - Total 613.217 ms / 1 intvls (Avg 613.217 ms) [025336b8] main demux meta debug: looking for meta reader module: 2 candidates [025336b8] lua demux meta debug: Trying Lua scripts in C:\Users\ozgur\AppData\Ro aming\vlc\lua\meta\reader [025336b8] lua demux meta debug: Trying Lua scripts in C:\Program Files (x86)\Vi deoLAN\VLC2\lua\meta\reader [025336b8] lua demux meta debug: Trying Lua playlist script C:\Program Files (x8 6)\VideoLAN\VLC2\lua\meta\reader\filename.luac [025336b8] main demux meta debug: no meta reader module matching "any" could be loaded [025336b8] main demux meta debug: TIMER module_need() : 36.367 ms - Total 36.367 ms / 1 intvls (Avg 36.367 ms) [02721af0] main input debug: `http://192.168.1.45:2510/iphone/11' successfully o pened [01e63268] main playlist: stopping playback [01e63268] main playlist debug: deleting item `http://192.168.1.45:2510/iphone/1 1' [02721af0] main input debug: [EOF reached0 1e63268] main playlist debug: [incoming request - stopping current input01e63268 ] main playlist debug: no fetch required for rtsp://192.168.1.45:2510/iphone.mov (art currently (null)) [0271fbb0] main access debug: waitpipe: object killed [01e63268] main playlist debug: dying input [0[01e858e8] main demux debug: removing module "playlist"1e63268] main playlist debug: dying input [052a0318] main stream debug: removing module "stream_filter_record" [0271fbb0] main access debug: removing module "access_http" [01e63268] main playlist debug: dead input [01e63268] main playlist debug: [processing request item: rtsp://192.168.1.45:25 10/iphone.mov, node: Playlist, skip: 001e5fe40] qt4 interface debug: IM: Deletin g the input [01e63268] main playlist debug: rebuilding array of current - root Playlist [01e63268] main playlist debug: rebuild done - 1 items, index 0 [01e63268] main playlist debug: starting playback of the new playlist item [01e63268] main playlist debug: resyncing on rtsp://192.168.1.45:2510/iphone.mov [01e63268] main playlist debug: rtsp://192.168.1.45:2510/iphone.mov is at 0 [01e63268] main playlist debug: creating new input thread [02627c10] main input debug: Creating an input for 'rtsp://192.168.1.45:2510/iph one.mov' [02627c10] main input debug: using timeshift granularity of 50 MiB, in path 'C:\ Users\ozgur\AppData\Local\Temp' [02721af0] main input debug: [TIMER input launching for 'http://192.168.1.45:251 0/iphone/11' : 865.266 ms - Total 865.266 ms / 1 intvls (Avg 865.266 ms)02627c10 ] main input debug: `rtsp://192.168.1.45:2510/iphone.mov' gives access `rtsp' de mux `' path `192.168.1.45:2510/iphone.mov' [01e5fe40] qt4 interface debug: [IM: Setting an input02627c10] main input debug: creating demux: access='rtsp' demux='' location='192.168.1.45:2510/iphone.mov' f ile='\\192.168.1.45:2510\iphone.mov' [01e85a58] main demux debug: looking for access_demux module: 1 candidate [01e85a58] live555 demux debug: version 2011.12.23 Opening connection to 192.168.1.45, port 2510... ...remote connection opened Sending request: OPTIONS rtsp://192.168.1.45:2510/iphone.mov RTSP/1.0 CSeq: 2 User-Agent: LibVLC/2.0.2 (LIVE555 Streaming Media v2011.12.23) Received 592 new bytes of response data. Received a complete OPTIONS response: RTSP/1.0 400 Bad Request Server: thttpd/2.25b 29dec2003 Content-Type: text/html; charset=iso-8859-1 Date: Thu, 16 Aug 2012 08:24:16 GMT Last-Modified: Thu, 16 Aug 2012 08:24:16 GMT Accept-Ranges: bytes Connection: close Cache-Control: no-cache,no-store <HTML> <HEAD><TITLE>400 Bad Request</TITLE></HEAD> <BODY BGCOLOR="#cc9999" TEXT="#000000" LINK="#2020ff" VLINK="#4040cc"> <H2>400 Bad Request</H2> Your request has bad syntax or is inherently impossible to satisfy. <HR> <ADDRESS><A HREF="http://www.acme.com/software/thttpd/">thttpd/2.25b 29dec2003</ A></ADDRESS> </BODY> </HTML> [01e85a58] live555 demux debug: we will now try HTTP tunneling mode Opening connection to 192.168.1.45, port 80... ...remote connection opened Requesting RTSP-over-HTTP tunneling (on port 80) Sending request: GET /iphone.mov HTTP/1.0 CSeq: 1 User-Agent: LibVLC/2.0.2 (LIVE555 Streaming Media v2011.12.23) x-sessioncookie: 3bb97e9a1aad7f224a23cb8 Accept: application/x-rtsp-tunnelled Pragma: no-cache Cache-Control: no-cache [01e85a58] live555 demux debug: connection timeout [01e85a58] live555 demux error: Failed to connect with rtsp://192.168.1.45:2510/ iphone.mov [01e85a58] main demux debug: no access_demux module matching "rtsp" could be loa ded [01e85a58] main demux debug: TIMER module_need() : 5089.412 ms - Total 5089.412 ms / 1 intvls (Avg 5089.412 ms) [02627c10] main input debug: creating access 'rtsp' location='192.168.1.45:2510/ iphone.mov', path='\\192.168.1.45:2510\iphone.mov' [0271fbb0] main access debug: looking for access module: 1 candidate [0271fbb0] main access debug: net: connecting to 192.168.1.45 port 2510 [0271fbb0] main access debug: connection succeeded (socket = 1416) [0271fbb0] access_realrtsp access debug: rtsp connected [0271fbb0] access_realrtsp access warning: only real/helix rtsp servers supporte d for now [0271fbb0] main access debug: no access module matching "rtsp" could be loaded [0271fbb0] main access debug: TIMER module_need() : 92.002 ms - Total 92.002 ms / 1 intvls (Avg 92.002 ms) [02627c10] main input error: open of `rtsp://192.168.1.45:2510/iphone.mov' faile d [01e63268] main playlist debug: dead input [01e63268] main playlist debug: changing item without a request (current 0/1) [01e63268] main playlist debug: nothing to play [01e5fe40] qt4 interface debug: IM: Deleting the input [02627c10] main input debug: TIMER input launching for 'rtsp://192.168.1.45:2510 /iphone.mov' : 5291.895 ms - Total 5291.895 ms / 1 intvls (Avg 5291.895 ms)
I would really appreciate any help, any ideas?

Özgür Deniz Önür

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: RTSP stream from ASTAK mole camera

Postby Jean-Baptiste Kempf » 07 Sep 2012 17:39

Ask ASTAK.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Baidu [Spider] and 56 guests