Page 1 of 1

Help playing camera stream

Posted: 12 Aug 2012 14:16
by spiketherat
I have a H264 IP Camera with a couple of streams available. The RTSP stream is accessible internally but is behind a NAT router and even with all the ports open and forward to the camera I can't access the stream.

The second stream I can see internally and on the WAN using quicktime but not at all using VLC. Am I trying to do something impossible Is it likely that VLC can't read the format?

Full log below:

Code: Select all

main debug: TIMER module_need() : 120.178 ms - Total 120.178 ms / 1 intvls (Avg 120.178 ms) main debug: processing request item: null, node: Playlist, skip: 0 main debug: starting playback of the new playlist item main debug: creating new input thread main debug: Creating an input for 'http://192.168.0.13/iphone/11' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\NAVHDU1\AppData\Local\Temp' main debug: `http://192.168.0.13/iphone/11' gives access `http' demux `' path `192.168.0.13/iphone/11' main debug: creating demux: access='http' demux='' location='192.168.0.13/iphone/11' file='\\192.168.0.13\iphone\11' main debug: looking for access_demux module: 0 candidates main debug: no access_demux module matched "http" main debug: TIMER module_need() : 29.980 ms - Total 29.980 ms / 1 intvls (Avg 29.980 ms) main debug: creating access 'http' location='192.168.0.13/iphone/11', path='\\192.168.0.13\iphone\11' main debug: looking for access module: 2 candidates access_http debug: HTTP proxy disabled (MSIE) access_http debug: http: server='192.168.0.13' port=80 file='/iphone/11' main debug: net: connecting to 192.168.0.13 port 80 main debug: connection succeeded (socket = 328) access_http debug: protocol 'HTTP' answer code 200 access_http debug: Server: HiIpcam/V100R003 VodServer/1.0.0 access_http debug: Connection: Close access_http debug: Content-Type: video/quicktime access_http debug: this frame size=41 access_http debug: Pragma: no-cache main debug: using access module "access_http" main debug: TIMER module_need() : 232.644 ms - Total 232.644 ms / 1 intvls (Avg 232.644 ms) main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: looking for stream_filter module: 4 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 46.702 ms - Total 46.702 ms / 1 intvls (Avg 46.702 ms) main debug: looking for stream_filter module: 1 candidate main debug: using stream_filter module "stream_filter_record" main debug: TIMER module_need() : 32.248 ms - Total 32.248 ms / 1 intvls (Avg 32.248 ms) main debug: creating demux: access='http' demux='' location='192.168.0.13/iphone/11' file='\\192.168.0.13\iphone\11' main debug: looking for demux module: 55 candidates es error: cannot peek playlist debug: found valid M3U playlist main debug: using demux module "playlist" main debug: TIMER module_need() : 98.511 ms - Total 98.511 ms / 1 intvls (Avg 98.511 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\NAVHDU1\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in c:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script c:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 158.333 ms - Total 158.333 ms / 1 intvls (Avg 158.333 ms) main debug: `http://192.168.0.13/iphone/11' successfully opened main: stopping playback main debug: deleting item `http://192.168.0.13/iphone/11' main debug: EOF reached main debug: incoming request - stopping current input main debug: no fetch required for rtsp://192.168.0.13/iphone/11 (art currently (null)) main debug: waitpipe: object killed main debug: dying input main debug: removing module "playlist" main debug: dying input main debug: removing module "stream_filter_record" main debug: removing module "access_http" main debug: dead input main debug: TIMER input launching for 'http://192.168.0.13/iphone/11' : 1019.041 ms - Total 1019.041 ms / 1 intvls (Avg 1019.041 ms) main debug: processing request item: rtsp://192.168.0.13/iphone/11, node: Playlist, skip: 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting playback of the new playlist item main debug: creating new input thread main debug: Creating an input for 'rtsp://192.168.0.13/iphone/11' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\NAVHDU1\AppData\Local\Temp' main debug: `rtsp://192.168.0.13/iphone/11' gives access `rtsp' demux `' path `192.168.0.13/iphone/11' main debug: creating demux: access='rtsp' demux='' location='192.168.0.13/iphone/11' file='\\192.168.0.13\iphone\11' main debug: looking for access_demux module: 1 candidate live555 debug: version 2011.12.23 live555 debug: we will now try HTTP tunneling mode live555 debug: connection timeout live555 error: Failed to connect with rtsp://192.168.0.13/iphone/11 main debug: no access_demux module matching "rtsp" could be loaded main debug: TIMER module_need() : 5587.989 ms - Total 5587.989 ms / 1 intvls (Avg 5587.989 ms) main debug: creating access 'rtsp' location='192.168.0.13/iphone/11', path='\\192.168.0.13\iphone\11' main debug: looking for access module: 1 candidate main debug: net: connecting to 192.168.0.13 port 554 main debug: connection succeeded (socket = 316) access_realrtsp debug: rtsp connected access_realrtsp warning: only real/helix rtsp servers supported for now main debug: no access module matching "rtsp" could be loaded main debug: TIMER module_need() : 136.068 ms - Total 136.068 ms / 1 intvls (Avg 136.068 ms) main error: open of `rtsp://192.168.0.13/iphone/11' failed main error: Your input can't be opened main error: VLC is unable to open the MRL 'rtsp://192.168.0.13/iphone/11'. Check the log for details. main debug: dead input main debug: TIMER input launching for 'rtsp://192.168.0.13/iphone/11' : 5972.132 ms - Total 5972.132 ms / 1 intvls (Avg 5972.132 ms) main debug: changing item without a request (current 0/1) main debug: nothing to play
Any help would be appreciated greatly.

Re: Help playing camera stream

Posted: 12 Aug 2012 14:40
by RĂ©mi Denis-Courmont
You can't run an RTSP server behind a NAT. End of story.

Re: Help playing camera stream

Posted: 12 Aug 2012 15:04
by spiketherat
Thank you for your reply.

After some pain on my part I worked that out about the RTSP stream (although my first assumption is always that I'm doing something stupid). What I don't get is why the second stream won't play at all in VLC.

The log file above is from a laptop in the LAN (ie on the same network as the camera) that can play both streams in Quicktime but only one in VLC.