[FFmpeg-trac] #2935(undetermined:new): .nsv at the end of the URL hang ffmpeg.

FFmpeg trac at avcodec.org
Tue Sep 3 12:02:40 CEST 2013


#2935: .nsv at the end of the URL hang ffmpeg.
-------------------------------------+-------------------------------------
             Reporter:  kasper93     |                     Type:  defect
               Status:  new          |                 Priority:  minor
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  nsv          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 FFmpeg is trying to read .nsv form URL forever, without timeout or
 anything. Problem is with URLs like this one
 `http://antywawamp3-01.eurozet.pl:8600/;stream.nsv`
 it's common to found stream link with `;stream.nsv` at the end. FFmpeg
 works fine with `http://antywawamp3-01.eurozet.pl:8600/`. So either URL
 should be trim after '`;`' by ffmpeg. And one more thing is that FFmpeg
 shouldn't hang when it gets wrong .nsv stream.

 How to reproduce:
 {{{
 % ffmpeg -i http://antywawamp3-01.eurozet.pl:8600/;stream.nsv
 ffmpeg version N-55966-gfdd1aaf Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Sep  2 2013 18:04:07 with gcc 4.7.3 (GCC)
   configuration: --disable-static --enable-shared --enable-gpl --enable-
 version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-
 fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass
 --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm
 --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
 --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      52. 43.100 / 52. 43.100
   libavcodec     55. 31.100 / 55. 31.100
   libavformat    55. 15.100 / 55. 15.100
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2935>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list