My little "web" camera asks for username and password before proceeding with the RTSP stream. This worked fine with vlc-1.0.5 and 1.0.6, which were prompting me for password, but vlc-1.1.0 does not ask for password. It then can not get the stream and produces an unhelpful message.
Running with -vvv, I get:
Code: Select all
vlc -vvv rtsp://cam-masik:554/nphMpeg4/g726-320x240
VLC media player 1.1.0 The Luggage (revision exported)
[0x8014591b0] main libvlc debug: VLC media player - 1.1.0 The Luggage
[0x8014591b0] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x8014591b0] main libvlc debug: revision exported
[0x8014591b0] main libvlc debug: configured with ./configure '--enable-vlc' '--enable-avcodec' '--enable-avformat' '--enable-oss' '--enable-postproc' '--enable-sftp' '--disable-alsa' '--disable-directfb' '--disable-loader' '--disable-telx' '--disable-update-check' '--disable-v4l2' '--disable-debug' '--enable-qt4' '--with-qt-includes=/opt/include/qt4' '--with-qt-libraries=/opt/lib/qt4' '--with-extra-libs=/opt/lib' '--with-extra-includes=/opt/include' '--enable-a52' '--enable-aa' '--disable-bonjour' '--enable-caca' '--enable-dbus' '--enable-dirac' '--enable-dca' '--enable-dvbpsi' '--with-dvbpsi=/opt' '--enable-dvdread' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-fribidi' '--enable-ggi' '--enable-glx' '--enable-gnomevfs' '--enable-gnutls' '--enable-httpd' '--enable-jack' '--enable-live555' '--with-live555-tree=/opt/live' '--enable-lua' 'LUAC=luac-5.1' '--enable-mad' '--with-mad=/opt' '--enable-mkv' '--disable-mod' '--enable-libmpeg2' '--enable-mpc' '--enable-ncurses' '--enable-notify' '--enable-optimizations' '--enable-ogg' '--enable-opengl' '--enable-png' '--disable-portaudio' '--disable-pulse' '--enable-real' '--enable-realrtsp' '--enable-smb' '--enable-schroedinger' '--enable-sdl' '--enable-sdl-image' '--enable-shout' '--enable-skins2' '--enable-libtar' '--enable-sout' '--enable-speex' '--enable-sqlite' '--enable-svg' '--disable-svgalib' '--enable-taglib' '--enable-theora' '--disable-tremor' '--enable-twolame' '--enable-upnp' '--enable-v4l' '--enable-dvb' '--enable-vcd' '--enable-libcddb' '--enable-vorbis' '--enable-x264' '--enable-xcb' '--with-x' '--enable-xosd' '--enable-xvideo' '--enable-zvbi' '--prefix=/opt' '--mandir=/opt/man' '--infodir=/opt/info/' '--build=amd64-portbld-freebsd8.1' 'build_alias=amd64-portbld-freebsd8.1' 'CC=cc' 'CFLAGS=-O2 -pipe -march=opteron -O3 -ffast-math -fomit-frame-pointer -fno-strict-aliasing' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -march=opteron -O3 -ffast-math -fomit-frame-pointer -fno-strict-aliasing' 'LUA_CFLAGS=-I/opt/include/lua51' 'LUA_LIBS=-L/opt/lib/lua51 -llua'
[0x8014591b0] main libvlc debug: translation test: code is "C"
[0x8014591b0] main libvlc debug: checking plugin modules
[0x8014591b0] main libvlc debug: loading plugins cache file /opt/lib/vlc/plugins/plugins-04081e-f8.dat
[0x8014591b0] main libvlc warning: cannot read /opt/lib/vlc/plugins/plugins-04081e-f8.dat (No such file or directory)
[0x8014591b0] main libvlc debug: recursively browsing `/opt/lib/vlc/plugins'
Warning: call to sigaction(13, 0x7fffffffd900, 0x0)
[0x8014591b0] main libvlc debug: saving plugins cache /opt/lib/vlc/plugins/plugins-04081e-f8.dat
....
[0x822c16ef0] main input debug: using timeshift granularity of 50 MiB
[0x822c16ef0] main input debug: using timeshift path '/tmp'
[0x822c16ef0] main input debug: `rtsp://cam-masik:554/nphMpeg4/g726-320x240' gives access `rtsp' demux `' path `cam-masik:554/nphMpeg4/g726-320x240'
[0x822c16ef0] main input debug: creating demux: access='rtsp' demux='' path='cam-masik:554/nphMpeg4/g726-320x240'
[0x825822e70] main demux debug: looking for access_demux module: 1 candidate
Opening connection to 192.168.1.7, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://cam-masik:554/nphMpeg4/g726-320x240 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/1.1.0 (LIVE555 Streaming Media v2010.06.22)
Received 100 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Public: DESCRIBE, SETUP, PLAY, PAUSE, TEARDOWN, OPTIONS, GET_PARAMETER
CSeq: 2
Sending request: DESCRIBE rtsp://cam-masik:554/nphMpeg4/g726-320x240 RTSP/1.0
CSeq: 3
User-Agent: LibVLC/1.1.0 (LIVE555 Streaming Media v2010.06.22)
Accept: application/sdp
Received 84 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
WWW-Authenticate: Basic realm="General User"
Resending...
Sending request: DESCRIBE rtsp://cam-masik:554/nphMpeg4/g726-320x240 RTSP/1.0
CSeq: 4
Authorization: Basic Og==
User-Agent: LibVLC/1.1.0 (LIVE555 Streaming Media v2010.06.22)
Accept: application/sdp
Received 84 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 4
WWW-Authenticate: Basic realm="General User"
[0x825822e70] live555 demux debug: DESCRIBE failed with 0: 401 Unauthorized
[0x825822e70] live555 demux debug: connection timeout
[0x825822e70] live555 demux error: Failed to connect with rtsp://cam-masik:554/nphMpeg4/g726-320x240
[0x825822e70] main demux debug: no access_demux module matching "rtsp" could be loaded
[0x825822e70] main demux debug: TIMER module_need() : 35,477 ms - Total 35,477 ms / 1 intvls (Avg 35,477 ms)
[0x822c16ef0] main input debug: creating access 'rtsp' path='cam-masik:554/nphMpeg4/g726-320x240'
[0x82581edf0] main access debug: looking for access module: 1 candidate
[0x82581edf0] main access debug: net: connecting to cam-masik port 554
[0x82581edf0] main access debug: connection succeeded (socket = 12)
Warning: call to rand()
[0x82581edf0] access_realrtsp access debug: rtsp connected
[0x82581edf0] access_realrtsp access warning: only real/helix rtsp servers supported for now
[0x82581edf0] main access debug: no access module matching "rtsp" could be loaded
[0x82581edf0] main access debug: TIMER module_need() : 152,132 ms - Total 152,132 ms / 1 intvls (Avg 152,132 ms)
[0x82581edf0] main access debug: waitpipe: object killed
[0x822c16ef0] main input error: open of `rtsp://cam-masik:554/nphMpeg4/g726-320x240' failed: (null)
[0x801404770] main playlist debug: finished input
[0x822c16ef0] main input debug: thread ended
[0x801404770] main playlist debug: dead input
[0x801404770] main playlist debug: changing item without a request (current 0/1)
[0x801404770] main playlist debug: nothing to play
Please, advise. Thanks!