[FFmpeg-trac] #4264(undetermined:new): ffmpeg supposedly hangs if RTSP session id contains $ or +

FFmpeg trac at avcodec.org
Wed Jul 29 17:15:19 CEST 2015


#4264: ffmpeg supposedly hangs if RTSP session id contains $ or +
-------------------------------------+-------------------------------------
             Reporter:  sebras       |                    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 kuroneko):

 FWIW, today I also came across this issue. I use ffmpeg (2.7.2) to extract
 the stream from a GStereamer equipped IP camera.

 The server response for the seesion ID is like this:

 Session: .5U+3chv$$2uwBK.; timeout=60

 As soon as the first $ is encountered it (ffmpeg) attempts to skip a
 number of bytes based on the following data. What puzzles me is that the
 RFC mentions the "safe" character range as follows:

 safe               =  "\$" | "-" | "_" | "." | "+"

 Note the backslash in front of the $. Whatever I can do to help, let me
 know.

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


More information about the FFmpeg-trac mailing list