Connecting to IP Camera causes demux error

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
botik101
New Cone
New Cone
Posts: 5
Joined: 27 Sep 2018 07:04

Connecting to IP Camera causes demux error

Postby botik101 » 27 Sep 2018 07:13

Hello,

I have a generic Chinese IP camera that allows me to see video from inside IE only using an ActiveX component. I want to stream it to VLC. There are no manuals / info about the camera (standard day/night white IP camera).

In the browser source code, I found this:

rtsp://192.168.1.16:554/user=admin&password=&channel=1&sctream=0.sdp?real_stream--rtp-caching=100

I tried this string in VLC, it did not work.

I then used Wireshark and saw that when video starts, we have this:
rtsp://192.168.1.16:34567/user=admin&password=&channel=1%stream=0.sdp/RTSP/1.0

I tried this in VLC and it did not work too.

Here is the log from these two attempts. Can someone please help me figure out the right RTSP string? What is missing here?

FYI: I know camera is working because I can see the video images from inside the activeX component when log via IE to the camera at 192.168.0.16 as well as I can get still frames by doing http://192.168.1.16/webcapture.jpg?comm ... p&chanel=1

Why is the string not working in VLC?

Log for: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&sctream=0.sdp?real_stream--rtp-caching=100

main debug: VLC media player - 3.0.4 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.4-0-gf615db6332
main debug: configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g'
main debug: incoming request - stopping current input
satip error: read error: Resource temporarily unavailable
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.1.16 port 34567
access_realrtsp error: cannot connect to 192.168.1.16:34567
access_realrtsp debug: could not connect to: 192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
main debug: no access modules matched
main debug: dead input
main debug: processing request item: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 15 items, index 14
main debug: starting playback of new item
main debug: resyncing on rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp
main debug: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp is at 14
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100' gives access `rtsp' demux `any' path `192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100'
main debug: creating demux: access='rtsp' demux='any' location='192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100' file='(null)'
main debug: looking for access_demux module matching "rtsp": 14 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
lua debug: Trying Lua scripts in /Users/star/Library/Application Support/org.videolan.vlc/lua/meta/fetcher
live555 debug: version 2016.11.28
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /Users/star/Library/Application Support/org.videolan.vlc/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
main debug: no art finder modules matched
live555 debug: connection timeout
live555 error: Failed to connect with rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
main debug: no access_demux modules matched
main debug: creating access: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
main debug: looking for access module matching "rtsp": 23 candidates
satip debug: try to open 'rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100'
satip debug: connect to host '192.168.1.16'
main debug: net: connecting to 192.168.1.16 port 34567
main debug: connection succeeded (socket = 16)
main debug: net: opening 0.0.0.0 datagram port 9180
main debug: net: opening 0.0.0.0 datagram port 9181
satip error: read error: Operation now in progress
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.1.16 port 34567
main debug: connection succeeded (socket = 16)
main error: read error: Connection reset by peer
main error: read error: Connection reset by peer
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
main debug: changing item without a request (current 14/15)
main debug: nothing to play


Log for rtsp://192.168.1.16:554/user=admin&password=&channel=1&sctream=0.sdp?real_stream--rtp-caching=100

main debug: VLC media player - 3.0.4 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.4-0-gf615db6332
main debug: configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g'
main debug: processing request item: rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp, node: Playlist, skip: 0
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 16 items, index 15
main debug: starting playback of new item
main debug: resyncing on rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp
main debug: rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp is at 15
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp'
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: requesting art for new input thread
main debug: `rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100' gives access `rtsp' demux `any' path `192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100'
main debug: creating demux: access='rtsp' demux='any' location='192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100' file='(null)'
main debug: looking for access_demux module matching "rtsp": 14 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
live555 debug: version 2016.11.28
lua debug: Trying Lua scripts in /Users/star/Library/Application Support/org.videolan.vlc/lua/meta/fetcher
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/fetcher
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/fetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching "any": 2 candidates
lua debug: Trying Lua scripts in /Users/star/Library/Application Support/org.videolan.vlc/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/lua/meta/art
lua debug: Trying Lua scripts in /Applications/VLC.app/Contents/MacOS/share/lua/meta/art
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/00_musicbrainz.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/01_googleimage.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/02_frenchtv.luac
lua debug: Trying Lua playlist script /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
lua debug: skipping script (unmatched scope) /Applications/VLC.app/Contents/MacOS/share/lua/meta/art/03_lastfm.luac
main debug: no art finder modules matched
live555 debug: connection error -36
live555 error: Failed to connect with rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
main debug: no access_demux modules matched
main debug: creating access: rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
main debug: looking for access module matching "rtsp": 23 candidates
satip debug: try to open 'rtsp://192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100'
satip debug: connect to host '192.168.1.16'
main debug: net: connecting to 192.168.1.16 port 554
main error: connection failed: Connection refused
satip error: Failed to connect to RTSP server 192.168.1.16:554
main debug: net: connecting to 192.168.1.16 port 554
main error: connection failed: Connection refused
access_realrtsp error: cannot connect to 192.168.1.16:554
access_realrtsp debug: could not connect to: 192.168.1.16:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100
main debug: no access modules matched
main debug: dead input
main debug: changing item without a request (current 15/16)
main debug: nothing to play

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Connecting to IP Camera causes demux error

Postby InTheWings » 27 Sep 2018 09:14

--rtp-caching=100
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Connecting to IP Camera causes demux error

Postby Rémi Denis-Courmont » 27 Sep 2018 17:31

Yeah, invalid URL.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

botik101
New Cone
New Cone
Posts: 5
Joined: 27 Sep 2018 07:04

Re: Connecting to IP Camera causes demux error

Postby botik101 » 27 Sep 2018 23:26

I tried this:
rtsp://admin:@192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream

And here is the log:
main debug: VLC media player - 3.0.4 Vetinari
main debug: Copyright © 1996-2018 the VideoLAN team
main debug: revision 3.0.4-0-gf615db6332
main debug: configured with /Users/d-fu/vlc-3.0/extras/package/macosx/../../../configure '--prefix=/Users/d-fu/vlc-3.0/build/vlc_install_dir' '--enable-macosx' '--enable-merge-ffmpeg' '--enable-osx-notifications' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-shout' '--enable-ncurses' '--enable-twolame' '--enable-realrtsp' '--enable-libass' '--enable-macosx-qtkit' '--enable-macosx-avfoundation' '--disable-skins2' '--disable-xcb' '--disable-caca' '--disable-pulse' '--disable-sdl-image' '--disable-vnc' '--build=x86_64-apple-darwin17' '--host=x86_64-apple-darwin17' '--with-macosx-version-min=10.7' '--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk' '--with-breakpad=https://mac.crashes.videolan.org' 'build_alias=x86_64-apple-darwin17' 'host_alias=x86_64-apple-darwin17' 'CC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'CFLAGS=-g' 'LDFLAGS=' 'CXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' 'CXXFLAGS=-g' 'OBJC=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' 'OBJCFLAGS=-g'
main debug: incoming request - stopping current input
main error: read error: Interrupted system call
main error: read error: Connection reset by peer
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
main debug: processing request item: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream, node: Playlist, skip: 0
main debug: resyncing on rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream
main debug: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream is at 27
main debug: starting playback of new item
main debug: resyncing on rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream
main debug: rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream is at 27
main debug: creating new input thread
main debug: Creating an input for 'rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream'
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using default timeshift path
main debug: `rtsp://admin:@192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream' gives access `rtsp' demux `any' path `admin:@192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream'
main debug: creating demux: access='rtsp' demux='any' location='admin:@192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream' file='(null)'
main debug: looking for access_demux module matching "rtsp": 14 candidates
main debug: looking for meta fetcher module matching "any": 1 candidates
main debug: no meta fetcher modules matched
live555 debug: version 2016.11.28
main debug: looking for art finder module matching "any": 2 candidates
main warning: Password in a URI is DEPRECATED
main debug: no art finder modules matched
live555 debug: connection timeout
live555 error: Failed to connect with rtsp://192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream
main debug: no access_demux modules matched
main debug: creating access: rtsp://admin:@192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream
main debug: looking for access module matching "rtsp": 23 candidates
satip debug: try to open 'rtsp://admin:@192.168.1.16:34567/user=admin&password=&channel=1&stream=0.sdp&real_stream'
satip debug: connect to host '192.168.1.16'
main debug: net: connecting to 192.168.1.16 port 34567
main debug: connection succeeded (socket = 22)
main debug: net: opening 0.0.0.0 datagram port 9026
main debug: net: opening 0.0.0.0 datagram port 9027
satip error: read error: Connection reset by peer
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.1.16 port 34567
main debug: connection succeeded (socket = 22)
main error: read error: Connection reset by peer
main error: read error: Connection reset by peer
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
main debug: changing item without a request (current 27/28)
main debug: nothing to play

botik101
New Cone
New Cone
Posts: 5
Joined: 27 Sep 2018 07:04

Re: Connecting to IP Camera causes demux error

Postby botik101 » 29 Sep 2018 07:57

Would love some help resolving this. Completely stuck here.

What I noticed:

no port 554
port 80, 9530, and 34567 are the only ones accessible.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Connecting to IP Camera causes demux error

Postby Rémi Denis-Courmont » 30 Sep 2018 07:16

The logs pretty much tells the server is not responding. If you are sure that that's not the case, check Wireshark
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

botik101
New Cone
New Cone
Posts: 5
Joined: 27 Sep 2018 07:04

Re: Connecting to IP Camera causes demux error

Postby botik101 » 30 Sep 2018 09:08

Thank you for your reply. I checked with Wireshark - IP camera is responding...

What really bothers me is that is has port 34567, 80 and 9530 open...but I cannot find 554... It is your standard IP Camera from China. There is no brand on it, but I think it is something close to XM/JUFENG because one of the ports is 34567 and because mode number is has XM in it:TV-699-IDE-XMW...

Here is a dump from Wireshark. Can someone please help?

No. Time Source Destination Protocol Length Info
3016 105.689349 192.168.1.10 192.168.1.16 TCP 78 54569 → 34567 [SYN] Seq=0 Win=65535 Len=0 MSS=1460 WS=32 TSval=1237573455 TSecr=0 SACK_PERM=1

Frame 3016: 78 bytes on wire (624 bits), 78 bytes captured (624 bits) on interface 0
Ethernet II, Src: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c), Dst: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88)
Internet Protocol Version 4, Src: 192.168.1.10, Dst: 192.168.1.16
Transmission Control Protocol, Src Port: 54569, Dst Port: 34567, Seq: 0, Len: 0
Source Port: 54569
Destination Port: 34567
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 0 (relative sequence number)
[Next sequence number: 0 (relative sequence number)]
Acknowledgment number: 0
1011 .... = Header Length: 44 bytes (11)
Flags: 0x002 (SYN)
Window size value: 65535
[Calculated window size: 65535]
Checksum: 0x6b90 [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (24 bytes), Maximum segment size, No-Operation (NOP), Window scale, No-Operation (NOP), No-Operation (NOP), Timestamps, SACK permitted, End of Option List (EOL)
[Timestamps]

0000 50 c7 bf 71 60 88 3c 15 c2 c4 e7 1c 08 00 45 00 P..q`.<.......E.
0010 00 40 00 00 40 00 40 06 b7 4d c0 a8 01 0a c0 a8 .@..@.@..M......
0020 01 10 d5 29 87 07 e4 3a de 82 00 00 00 00 b0 02 ...)...:........
0030 ff ff 6b 90 00 00 02 04 05 b4 01 03 03 05 01 01 ..k.............
0040 08 0a 49 c3 df 4f 00 00 00 00 04 02 00 00 ..I..O........

No. Time Source Destination Protocol Length Info
3017 105.695495 192.168.1.16 192.168.1.10 TCP 74 34567 → 54569 [SYN, ACK] Seq=0 Ack=1 Win=14480 Len=0 MSS=1460 SACK_PERM=1 TSval=8853772 TSecr=1237573455 WS=8

Frame 3017: 74 bytes on wire (592 bits), 74 bytes captured (592 bits) on interface 0
Ethernet II, Src: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88), Dst: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c)
Internet Protocol Version 4, Src: 192.168.1.16, Dst: 192.168.1.10
Transmission Control Protocol, Src Port: 34567, Dst Port: 54569, Seq: 0, Ack: 1, Len: 0
Source Port: 34567
Destination Port: 54569
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 0 (relative sequence number)
[Next sequence number: 0 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
1010 .... = Header Length: 40 bytes (10)
Flags: 0x012 (SYN, ACK)
Window size value: 14480
[Calculated window size: 14480]
Checksum: 0x2d19 [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (20 bytes), Maximum segment size, SACK permitted, Timestamps, No-Operation (NOP), Window scale
[SEQ/ACK analysis]
[Timestamps]

0000 3c 15 c2 c4 e7 1c 50 c7 bf 71 60 88 08 00 45 00 <.....P..q`...E.
0010 00 3c 00 00 40 00 40 06 b7 51 c0 a8 01 10 c0 a8 .<..@.@..Q......
0020 01 0a 87 07 d5 29 e2 8f 1a ba e4 3a de 83 a0 12 .....).....:....
0030 38 90 2d 19 00 00 02 04 05 b4 04 02 08 0a 00 87 8.-.............
0040 19 0c 49 c3 df 4f 01 03 03 03 ..I..O....

No. Time Source Destination Protocol Length Info
3018 105.695584 192.168.1.10 192.168.1.16 TCP 66 54569 → 34567 [ACK] Seq=1 Ack=1 Win=131744 Len=0 TSval=1237573461 TSecr=8853772

Frame 3018: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c), Dst: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88)
Internet Protocol Version 4, Src: 192.168.1.10, Dst: 192.168.1.16
Transmission Control Protocol, Src Port: 54569, Dst Port: 34567, Seq: 1, Ack: 1, Len: 0
Source Port: 54569
Destination Port: 34567
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 1 (relative sequence number)
[Next sequence number: 1 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x010 (ACK)
Window size value: 4117
[Calculated window size: 131744]
[Window size scaling factor: 32]
Checksum: 0x8456 [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[SEQ/ACK analysis]
[Timestamps]

0000 50 c7 bf 71 60 88 3c 15 c2 c4 e7 1c 08 00 45 00 P..q`.<.......E.
0010 00 34 00 00 40 00 40 06 b7 59 c0 a8 01 0a c0 a8 .4..@.@..Y......
0020 01 10 d5 29 87 07 e4 3a de 83 e2 8f 1a bb 80 10 ...)...:........
0030 10 15 84 56 00 00 01 01 08 0a 49 c3 df 55 00 87 ...V......I..U..
0040 19 0c ..

No. Time Source Destination Protocol Length Info
3019 105.695790 192.168.1.10 192.168.1.16 TCP 110 54569 → 34567 [PSH, ACK] Seq=1 Ack=1 Win=131744 Len=44 TSval=1237573461 TSecr=8853772

Frame 3019: 110 bytes on wire (880 bits), 110 bytes captured (880 bits) on interface 0
Ethernet II, Src: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c), Dst: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88)
Internet Protocol Version 4, Src: 192.168.1.10, Dst: 192.168.1.16
Transmission Control Protocol, Src Port: 54569, Dst Port: 34567, Seq: 1, Ack: 1, Len: 44
Source Port: 54569
Destination Port: 34567
[Stream index: 26]
[TCP Segment Len: 44]
Sequence number: 1 (relative sequence number)
[Next sequence number: 45 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x018 (PSH, ACK)
Window size value: 4117
[Calculated window size: 131744]
[Window size scaling factor: 32]
Checksum: 0x0f02 [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[SEQ/ACK analysis]
[Timestamps]
TCP payload (44 bytes)
Data (44 bytes)

0000 50 c7 bf 71 60 88 3c 15 c2 c4 e7 1c 08 00 45 00 P..q`.<.......E.
0010 00 60 00 00 40 00 40 06 b7 2d c0 a8 01 0a c0 a8 .`..@.@..-......
0020 01 10 d5 29 87 07 e4 3a de 83 e2 8f 1a bb 80 18 ...)...:........
0030 10 15 0f 02 00 00 01 01 08 0a 49 c3 df 55 00 87 ..........I..U..
0040 19 0c 4f 50 54 49 4f 4e 53 20 72 74 73 70 3a 2f ..OPTIONS rtsp:/
0050 2f 31 39 32 2e 31 36 38 2e 31 2e 31 36 3a 33 34 /192.168.1.16:34
0060 35 36 37 20 52 54 53 50 2f 31 2e 30 0d 0a 567 RTSP/1.0..

No. Time Source Destination Protocol Length Info
3020 105.707531 192.168.1.16 192.168.1.10 TCP 66 34567 → 54569 [ACK] Seq=1 Ack=45 Win=14480 Len=0 TSval=8853773 TSecr=1237573461

Frame 3020: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88), Dst: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c)
Internet Protocol Version 4, Src: 192.168.1.16, Dst: 192.168.1.10
Transmission Control Protocol, Src Port: 34567, Dst Port: 54569, Seq: 1, Ack: 45, Len: 0
Source Port: 34567
Destination Port: 54569
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 1 (relative sequence number)
[Next sequence number: 1 (relative sequence number)]
Acknowledgment number: 45 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x010 (ACK)
Window size value: 1810
[Calculated window size: 14480]
[Window size scaling factor: 8]
Checksum: 0x8d2c [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[SEQ/ACK analysis]
[Timestamps]

0000 3c 15 c2 c4 e7 1c 50 c7 bf 71 60 88 08 00 45 00 <.....P..q`...E.
0010 00 34 03 b6 40 00 40 06 b3 a3 c0 a8 01 10 c0 a8 .4..@.@.........
0020 01 0a 87 07 d5 29 e2 8f 1a bb e4 3a de af 80 10 .....).....:....
0030 07 12 8d 2c 00 00 01 01 08 0a 00 87 19 0d 49 c3 ...,..........I.
0040 df 55 .U

No. Time Source Destination Protocol Length Info
3021 105.707613 192.168.1.10 192.168.1.16 TCP 401 54569 → 34567 [PSH, ACK] Seq=45 Ack=1 Win=131744 Len=335 TSval=1237573473 TSecr=8853773

Frame 3021: 401 bytes on wire (3208 bits), 401 bytes captured (3208 bits) on interface 0
Ethernet II, Src: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c), Dst: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88)
Internet Protocol Version 4, Src: 192.168.1.10, Dst: 192.168.1.16
Transmission Control Protocol, Src Port: 54569, Dst Port: 34567, Seq: 45, Ack: 1, Len: 335
Source Port: 54569
Destination Port: 34567
[Stream index: 26]
[TCP Segment Len: 335]
Sequence number: 45 (relative sequence number)
[Next sequence number: 380 (relative sequence number)]
Acknowledgment number: 1 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x018 (PSH, ACK)
Window size value: 4117
[Calculated window size: 131744]
[Window size scaling factor: 32]
Checksum: 0xf5cb [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[SEQ/ACK analysis]
[Timestamps]
TCP payload (335 bytes)
Data (335 bytes)

0000 50 c7 bf 71 60 88 3c 15 c2 c4 e7 1c 08 00 45 00 P..q`.<.......E.
0010 01 83 00 00 40 00 40 06 b6 0a c0 a8 01 0a c0 a8 ....@.@.........
0020 01 10 d5 29 87 07 e4 3a de af e2 8f 1a bb 80 18 ...)...:........
0030 10 15 f5 cb 00 00 01 01 08 0a 49 c3 df 61 00 87 ..........I..a..
0040 19 0d 43 53 65 71 3a 20 31 0d 0a 55 73 65 72 2d ..CSeq: 1..User-
0050 41 67 65 6e 74 3a 20 52 65 61 6c 4d 65 64 69 61 Agent: RealMedia
0060 20 50 6c 61 79 65 72 20 56 65 72 73 69 6f 6e 20 Player Version
0070 36 2e 30 2e 39 2e 31 32 33 35 20 28 6c 69 6e 75 6.0.9.1235 (linu
0080 78 2d 32 2e 30 2d 6c 69 62 63 36 2d 69 33 38 36 x-2.0-libc6-i386
0090 2d 67 63 63 32 2e 39 35 29 0d 0a 43 6c 69 65 6e -gcc2.95)..Clien
00a0 74 43 68 61 6c 6c 65 6e 67 65 3a 20 39 65 32 36 tChallenge: 9e26
00b0 64 33 33 66 32 39 38 34 32 33 36 30 31 30 65 66 d33f2984236010ef
00c0 36 32 35 33 66 62 31 38 38 37 66 37 0d 0a 50 6c 6253fb1887f7..Pl
00d0 61 79 65 72 53 74 61 72 74 74 69 6d 65 3a 20 5b ayerStarttime: [
00e0 32 38 2f 30 33 2f 32 30 30 33 3a 32 32 3a 35 30 28/03/2003:22:50
00f0 3a 32 33 20 30 30 3a 30 30 5d 0d 0a 43 6f 6d 70 :23 00:00]..Comp
0100 61 6e 79 49 44 3a 20 4b 6e 4b 56 34 4d 34 49 2f anyID: KnKV4M4I/
0110 42 32 46 6a 4a 31 54 54 6f 4c 79 63 77 3d 3d 0d B2FjJ1TToLycw==.
0120 0a 47 55 49 44 3a 20 30 30 30 30 30 30 30 30 2d .GUID: 00000000-
0130 30 30 30 30 2d 30 30 30 30 2d 30 30 30 30 2d 30 0000-0000-0000-0
0140 30 30 30 30 30 30 30 30 30 30 30 0d 0a 52 65 67 00000000000..Reg
0150 69 6f 6e 44 61 74 61 3a 20 30 0d 0a 43 6c 69 65 ionData: 0..Clie
0160 6e 74 49 44 3a 20 4c 69 6e 75 78 5f 32 2e 34 5f ntID: Linux_2.4_
0170 36 2e 30 2e 39 2e 31 32 33 35 5f 70 6c 61 79 33 6.0.9.1235_play3
0180 32 5f 52 4e 30 31 5f 45 4e 5f 35 38 36 0d 0a 0d 2_RN01_EN_586...
0190 0a .

No. Time Source Destination Protocol Length Info
3022 105.710030 192.168.1.16 192.168.1.10 TCP 66 34567 → 54569 [ACK] Seq=1 Ack=380 Win=15552 Len=0 TSval=8853773 TSecr=1237573473

Frame 3022: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88), Dst: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c)
Internet Protocol Version 4, Src: 192.168.1.16, Dst: 192.168.1.10
Transmission Control Protocol, Src Port: 34567, Dst Port: 54569, Seq: 1, Ack: 380, Len: 0
Source Port: 34567
Destination Port: 54569
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 1 (relative sequence number)
[Next sequence number: 1 (relative sequence number)]
Acknowledgment number: 380 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x010 (ACK)
Window size value: 1944
[Calculated window size: 15552]
[Window size scaling factor: 8]
Checksum: 0x8b4b [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[SEQ/ACK analysis]
[Timestamps]

0000 3c 15 c2 c4 e7 1c 50 c7 bf 71 60 88 08 00 45 00 <.....P..q`...E.
0010 00 34 03 b7 40 00 40 06 b3 a2 c0 a8 01 10 c0 a8 .4..@.@.........
0020 01 0a 87 07 d5 29 e2 8f 1a bb e4 3a df fe 80 10 .....).....:....
0030 07 98 8b 4b 00 00 01 01 08 0a 00 87 19 0d 49 c3 ...K..........I.
0040 df 61 .a

No. Time Source Destination Protocol Length Info
4026 146.024242 192.168.1.16 192.168.1.10 TCP 66 34567 → 54569 [FIN, ACK] Seq=1 Ack=380 Win=15552 Len=0 TSval=8857801 TSecr=1237573473

Frame 4026: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88), Dst: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c)
Internet Protocol Version 4, Src: 192.168.1.16, Dst: 192.168.1.10
Transmission Control Protocol, Src Port: 34567, Dst Port: 54569, Seq: 1, Ack: 380, Len: 0
Source Port: 34567
Destination Port: 54569
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 1 (relative sequence number)
[Next sequence number: 1 (relative sequence number)]
Acknowledgment number: 380 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x011 (FIN, ACK)
Window size value: 1944
[Calculated window size: 15552]
[Window size scaling factor: 8]
Checksum: 0x7b8e [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[Timestamps]

0000 3c 15 c2 c4 e7 1c 50 c7 bf 71 60 88 08 00 45 00 <.....P..q`...E.
0010 00 34 03 b8 40 00 40 06 b3 a1 c0 a8 01 10 c0 a8 .4..@.@.........
0020 01 0a 87 07 d5 29 e2 8f 1a bb e4 3a df fe 80 11 .....).....:....
0030 07 98 7b 8e 00 00 01 01 08 0a 00 87 28 c9 49 c3 ..{.........(.I.
0040 df 61 .a

No. Time Source Destination Protocol Length Info
4027 146.024247 192.168.1.16 192.168.1.10 TCP 66 34567 → 54569 [RST, ACK] Seq=2 Ack=380 Win=15552 Len=0 TSval=8857801 TSecr=1237573473

Frame 4027: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88), Dst: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c)
Internet Protocol Version 4, Src: 192.168.1.16, Dst: 192.168.1.10
Transmission Control Protocol, Src Port: 34567, Dst Port: 54569, Seq: 2, Ack: 380, Len: 0
Source Port: 34567
Destination Port: 54569
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 2 (relative sequence number)
[Next sequence number: 2 (relative sequence number)]
Acknowledgment number: 380 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x014 (RST, ACK)
Window size value: 1944
[Calculated window size: 15552]
[Window size scaling factor: 8]
Checksum: 0x7b8a [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[Timestamps]

0000 3c 15 c2 c4 e7 1c 50 c7 bf 71 60 88 08 00 45 00 <.....P..q`...E.
0010 00 34 03 b9 40 00 40 06 b3 a0 c0 a8 01 10 c0 a8 .4..@.@.........
0020 01 0a 87 07 d5 29 e2 8f 1a bc e4 3a df fe 80 14 .....).....:....
0030 07 98 7b 8a 00 00 01 01 08 0a 00 87 28 c9 49 c3 ..{.........(.I.
0040 df 61 .a

No. Time Source Destination Protocol Length Info
4028 146.024331 192.168.1.10 192.168.1.16 TCP 66 54569 → 34567 [ACK] Seq=380 Ack=2 Win=131744 Len=0 TSval=1237613679 TSecr=8857801

Frame 4028: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on interface 0
Ethernet II, Src: Apple_c4:e7:1c (3c:15:c2:c4:e7:1c), Dst: Tp-LinkT_71:60:88 (50:c7:bf:71:60:88)
Internet Protocol Version 4, Src: 192.168.1.10, Dst: 192.168.1.16
Transmission Control Protocol, Src Port: 54569, Dst Port: 34567, Seq: 380, Ack: 2, Len: 0
Source Port: 54569
Destination Port: 34567
[Stream index: 26]
[TCP Segment Len: 0]
Sequence number: 380 (relative sequence number)
[Next sequence number: 380 (relative sequence number)]
Acknowledgment number: 2 (relative ack number)
1000 .... = Header Length: 32 bytes (8)
Flags: 0x010 (ACK)
Window size value: 4117
[Calculated window size: 131744]
[Window size scaling factor: 32]
Checksum: 0xd602 [unverified]
[Checksum Status: Unverified]
Urgent pointer: 0
Options: (12 bytes), No-Operation (NOP), No-Operation (NOP), Timestamps
[SEQ/ACK analysis]
[Timestamps]

0000 50 c7 bf 71 60 88 3c 15 c2 c4 e7 1c 08 00 45 00 P..q`.<.......E.
0010 00 34 00 00 40 00 40 06 b7 59 c0 a8 01 0a c0 a8 .4..@.@..Y......
0020 01 10 d5 29 87 07 e4 3a df fe e2 8f 1a bc 80 10 ...)...:........
0030 10 15 d6 02 00 00 01 01 08 0a 49 c4 7c 6f 00 87 ..........I.|o..
0040 28 c9 (.

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Connecting to IP Camera causes demux error

Postby Rémi Denis-Courmont » 01 Oct 2018 20:43

Whatever service runs on 34567 does not seem to be RTSP, or then it's crashing immediately.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

darius2019
New Cone
New Cone
Posts: 2
Joined: 04 Feb 2019 23:45

Re: Connecting to IP Camera causes demux error

Postby darius2019 » 05 Feb 2019 00:40

Hi,

I am reading threads on this forum since I have alike problem.

I have China made wifi camera ( ip camera) and it works fine if connected to from Android tab let, Guard app from Google Play market.

But I would like to use it on PC (win32 xp) via rtsp

None technical specification is provided ( this is hd camera).
There is a large number of so called ONVIF wifi cameras on internet auction sites but technical specification is missing.

So I can buy any wifi camera which supports rtsp under win32 xp, if advised by you, since manufacturers of wifi cameras don't support developers in general.
All you get is a camera + name of an application to download to make your camera to work.

darius


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 38 guests