[FFmpeg-trac] #2761(undetermined:new): RTSP DESCRIBE without a User-Agent causes some IP Cameras to close the connection

FFmpeg trac at avcodec.org
Tue Jul 9 10:41:04 CEST 2013


#2761: RTSP DESCRIBE without a User-Agent causes some IP Cameras to close the
connection
-------------------------------------+-------------------------------------
             Reporter:  imavra       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by imavra):

 From windows:

 D:\Stuff\bin>ffmpeg -i rtsp://192.168.0.220:554/stream1/
 ffmpeg version N-54499-g63d7684 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jul  6 2013 10:30:06 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
 libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --
 enable-libxvid --enable-zlib
   libavutil      52. 38.100 / 52. 38.100
   libavcodec     55. 18.102 / 55. 18.102
   libavformat    55. 11.101 / 55. 11.101
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 78.102 /  3. 78.102
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  3.100 / 52.  3.100
 rtsp://192.168.0.220:554/stream1/: Invalid data found when processing
 input

 From ubuntu linux:

 functor at ichigo:~$ ffmpeg -i rtsp://192.168.0.220:554/stream1/
 ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav
 developers
   built on Mar 30 2013 22:23:21 with gcc 4.7.2
 *** THIS PROGRAM IS DEPRECATED ***
 This program is only provided for compatibility and will be removed in a
 future release. Please use avconv instead.
 rtsp://192.168.0.220:554/stream1/: Invalid data found when processing
 input

 Same theme on other devices / versions I tried

 As I mentioned, I re-injected the packets myself and if you add a User-
 Agent the camera doesn't close the connection after "DESCRIBE"

 Thanks

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


More information about the FFmpeg-trac mailing list