[FFmpeg-trac] #6579(ffplay:new): Stop ffplay when no stream is received in timeout
FFmpeg
trac at avcodec.org
Fri Aug 11 20:22:31 EEST 2017
#6579: Stop ffplay when no stream is received in timeout
-------------------------------------+-------------------------------------
Reporter: slacuesta | Type:
Status: new | enhancement
Component: ffplay | Priority: normal
Keywords: streaming | Version:
play | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
It would be nice to specify a timeout when no stream is received in order
to stop ffplay or even an option for try reconnect.
How to reproduce:
Try to play and then unplug ethernet cable, ffplay does not stop:
{{{
% ffplay -nodisp -nostats -reconnect 0 http://78.46.73.91:9125/stream
ffplay version 3.3.3 Copyright (c) 2003-2017 the FFmpeg developers
built with gcc 6.4.0 (Debian 6.4.0-2) 20170724
configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg
--disable-mips32r2 --disable-mips32r6 --disable-mips64r6 --disable-mipsdsp
--disable-mipsdspr2 --disable-mipsfpu --disable-msa --disable-libopencv
--disable-podpages --disable-stripping --enable-avfilter --enable-
avresample --enable-gcrypt --enable-gnutls --enable-gpl --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-
libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-
libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-
libopenmpt --enable-libopus --enable-libpulse --enable-librubberband
--enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtesseract --enable-libtheora --enable-libvidstab --enable-
libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265
--enable-libxvid --enable-libzvbi --enable-nonfree --enable-opengl
--enable-openssl --enable-postproc --enable-pthreads --enable-shared
--enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu
--libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened
--enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883
--enable-libdc1394 --enable-vaapi --disable-opencl --enable-libmfx
--disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
}}}
Thanks
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6579>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list