[FFmpeg-trac] #3222(avformat:new): RTSP (client): Fallback to TCP causes 454 Session Not Found

FFmpeg trac at avcodec.org
Fri Dec 13 16:35:04 CET 2013


#3222: RTSP (client): Fallback to TCP causes 454 Session Not Found
------------------------------------+------------------------------------
             Reporter:  GstBlub     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  rtsp tcp    |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by GstBlub):

 Didn't make much of a difference for me.  Falling back to TCP still fails:
 {{{
 ffmpeg -i rtsp://strm01.novotempo.org.br/radionovotempo-vivo
 -rtsp_transport tcp -acodec copy -vcodec copy test.file
 ffmpeg version N-59032-g3dbf9af Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec 13 2013 08:28:39 with gcc 4.8 (Ubuntu/Linaro
 4.8.1-10ubuntu9)
   configuration: --prefix=/home/gstblub/ffmpeg_build
 --bindir=/home/gstblub/ffmpeg_build/bin
   libavutil      52. 58.100 / 52. 58.100
   libavcodec     55. 45.101 / 55. 45.101
   libavformat    55. 22.100 / 55. 22.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     3. 92.100 /  3. 92.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
 [rtsp @ 0x33e4a00] UDP timeout, retrying with TCP
 [rtsp @ 0x33e4a00] method SETUP failed: 454 Session Not Found
 [rtsp @ 0x33e4a00] Could not find codec parameters for stream 0 (Audio:
 mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16p, 256 kb/s):
 unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 rtsp://strm01.novotempo.org.br/radionovotempo-vivo: could not find codec
 parameters
 }}}

 Forcing it to TCP:
 {{{
 ffmpeg -rtsp_transport tcp -i rtsp://strm01.novotempo.org.br
 /radionovotempo-vivo -acodec copy -vcodec copy test.file
 ffmpeg version N-59032-g3dbf9af Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Dec 13 2013 08:28:39 with gcc 4.8 (Ubuntu/Linaro
 4.8.1-10ubuntu9)
   configuration: --prefix=/home/gstblub/ffmpeg_build
 --bindir=/home/gstblub/ffmpeg_build/bin
   libavutil      52. 58.100 / 52. 58.100
   libavcodec     55. 45.101 / 55. 45.101
   libavformat    55. 22.100 / 55. 22.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     3. 92.100 /  3. 92.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
 [mp3 @ 0x2c14340] Header missing
     Last message repeated 51 times
 [rtsp @ 0x2c0e9e0] decoding for stream 0 failed
 [rtsp @ 0x2c0e9e0] Could not find codec parameters for stream 0 (Audio:
 mp3 (U[0][0][0] / 0x0055), 44100 Hz, 2 channels, s16p, 256 kb/s):
 unspecified frame size
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 rtsp://strm01.novotempo.org.br/radionovotempo-vivo: could not find codec
 parameters
 }}}

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


More information about the FFmpeg-trac mailing list