Opened 10 years ago
Closed 10 years ago
#2935 closed defect (worksforme)
.nsv at the end of the URL hangs ffmpeg.
Reported by: | kasper93 | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | undetermined |
Version: | git-master | Keywords: | http |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
Change History (4)
comment:1 by , 10 years ago
Summary: | .nsv at the end of the URL hang ffmpeg. → .nsv at the end of the URL hangs ffmpeg. |
---|
comment:2 by , 10 years ago
Keywords: | http added; nsv removed |
---|
comment:3 by , 10 years ago
I tested it on windows and my friend is also able to reproduce hang on linux.
$ ./ffmpeg -i "http://antywawamp3-01.eurozet.pl:8600/;stream.nsv" ffmpeg version N-55961-gcdd5df8 Copyright (c) 2000-2013 the FFmpeg developers built on Sep 2 2013 05:46:44 with gcc 4.6 (Debian 4.6.3-1) configuration: --prefix=/root/ffmpeg-static/64bit --extra-cflags='-I/root/ffmpeg-static/64bit/include -static' --extra-ldflags='-L/root/ffmpeg-static/64bit/lib -static' --extra-libs='-lxml2 -lexpat -lfreetype' --enable-static --disable-shared-disable-ffserver --disable-doc --enable-bzlib --enable-zlib --enable-postproc --enable-runtime-cpudetect --enable-libx264 --enable-gpl --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-gray --enable-libass --enable-libfreetype-enable-libopenjpeg --enable-libspeex --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-version3 --enable-libvpx 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
comment:4 by , 10 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
it takes a while before it errors out but it does not hang
Does not hang here: