[FFmpeg-user] Is there a way to reconnect to a RTSP stream after it disappears from the network?

Carl Zwanzig cpz at tuunq.com
Mon Jan 6 23:24:42 EET 2025


On 1/6/2025 10:16 AM, arthurpeabody wrote:
> Yes.  I get updates for all my packages daily.  

For completeness, what version do you have? Just running ffmpeg provides 
very useful info (and should always be included when asking questions):

This is a very old build....
$ /c/bin/ffmpeg-6.1.1-full_build/bin/ffmpeg.exe
ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the 
FFmpeg developers
   built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
   configuration: --enable-gpl --enable-version3 --enable-static 
--pkg-config=pkgconf --disable-w32threads --disable-autodet
ect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 
--enable-gmp --enable-bzlib --enable-lzma --enable-
libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh 
--enable-libzmq --enable-avisynth --enable-libblur
ay --enable-libcaca --enable-sdl2 --enable-libaribb24 
--enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-
libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 
--enable-libwebp --enable-libx264 --enable-libx265 --enable
-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl 
--enable-libopenjpeg --enable-libvpx --enable-mediafoundation --
enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi 
--enable-libharfbuzz --enable-liblensfun --enable-li
bvidstab --enable-libvmaf --enable-libzimg --enable-amf 
--enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec
  --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl 
--enable-libshaderc --enable-vulkan --enable-libplacebo --e
nable-opencl --enable-libcdio --enable-libgme --enable-libmodplug 
--enable-libopenmpt --enable-libopencore-amrwb --enable-l
ibmp3lame --enable-libshine --enable-libtheora --enable-libtwolame 
--enable-libvo-amrwbenc --enable-libcodec2 --enable-libi
lbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus 
--enable-libspeex --enable-libvorbis --enable-ladspa --enab
le-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband 
--enable-libsoxr --enable-chromaprint
   libavutil      58. 29.100 / 58. 29.100
   libavcodec     60. 31.102 / 60. 31.102
   libavformat    60. 16.100 / 60. 16.100
   libavdevice    60.  3.100 / 60.  3.100
   libavfilter     9. 12.100 /  9. 12.100
   libswscale      7.  5.100 /  7.  5.100
   libswresample   4. 12.100 /  4. 12.100
   libpostproc    57.  3.100 / 57.  3.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile 
options] outfile}...


BTW, I looked back six months and don't see your audio question

z!



More information about the ffmpeg-user mailing list