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