[FFmpeg-trac] #9127(undetermined:new): ffmpeg unauthorized error with rtsp url

FFmpeg trac at avcodec.org
Fri Feb 26 12:08:38 EET 2021


#9127: ffmpeg unauthorized error with rtsp url
-------------------------------------+-------------------------------------
             Reporter:  surajketan   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  rtsp         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by surajketan):

 Happening with version 4.3.2 as well.. ( tested with static build from
 https://johnvansickle.com/ffmpeg/).

 ffmpeg version 4.3.2-static https://johnvansickle.com/ffmpeg/  Copyright
 (c) 2000-2021 the FFmpeg developers
   built with gcc 8 (Debian 8.3.0-6)
   configuration: --enable-gpl --enable-version3 --enable-static --disable-
 debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio
 --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp
 --enable-libgme --enable-gray --enable-libaom --enable-libfribidi
 --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt
 --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab
 --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264
 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid
 --enable-libzvbi --enable-libzimg
   libavutil      56. 51.100 / 56. 51.100
   libavcodec     58. 91.100 / 58. 91.100
   libavformat    58. 45.100 / 58. 45.100
   libavdevice    58. 10.100 / 58. 10.100
   libavfilter     7. 85.100 /  7. 85.100
   libswscale      5.  7.100 /  5.  7.100
   libswresample   3.  7.100 /  3.  7.100
   libpostproc    55.  7.100 / 55.  7.100
 Splitting the commandline.
 Reading option '-rtsp_transport' ... matched as AVOption 'rtsp_transport'
 with argument 'tcp'.
 Reading option '-i' ... matched as input url with argument
 'rtsp://admin:Secret123@10.127.117.207:554/live/1F7FC512-53F6-495E-9567-D5442DDDC763'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument 'debug'.
 Reading option '-ss' ... matched as option 'ss' (set the start time
 offset) with argument '00:00:00'.
 Reading option '-frames:v' ... matched as option 'frames' (set the number
 of frames to output) with argument '1'.
 Reading option 'aa.jpg' ... matched as output url.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option loglevel (set logging level) with argument debug.
 Successfully parsed a group of options.
 Parsing a group of options: input url
 rtsp://admin:Secret123@10.127.117.207:554/live/1F7FC512-53F6-495E-9567-D5442DDDC763.
 Successfully parsed a group of options.
 Opening an input file:
 rtsp://admin:Secret123@10.127.117.207:554/live/1F7FC512-53F6-495E-9567-D5442DDDC763.
 [tcp @ 0x76f2f00] No default whitelist set
 [tcp @ 0x76f2f00] Original list of addresses:
 [tcp @ 0x76f2f00] Address 10.127.117.207 port 554
 [tcp @ 0x76f2f00] Interleaved list of addresses:
 [tcp @ 0x76f2f00] Address 10.127.117.207 port 554
 [tcp @ 0x76f2f00] Starting connection attempt to 10.127.117.207 port 554
 [tcp @ 0x76f2f00] Successfully connected to 10.127.117.207 port 554
 [rtsp @ 0x76f0bc0] method DESCRIBE failed: 401 Unauthorized
 [rtsp @ 0x76f0bc0] CSeq:  3
 Date: Fri, Feb 26 2021 10:03:48 GMT
 WWW-Authenticate: Digest realm="RtspServerLibrary",
 nonce="zvZydfZTLXrXs8YCTaY3xvDv4FQxZKC1", algorithm="MD5"
 WWW-Authenticate: Digest realm="RtspServerLibrary",
 nonce="zvZydfZTLXrXs8YCTaY3xvDv4FQxZKC1", algorithm="SHA-256"

 rtsp://admin:Secret123@10.127.117.207:554/live/1F7FC512-53F6-495E-9567-D5442DDDC763:
 Server returned 401 Unauthorized (authorization failed)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9127#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list