Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

First identify where the connection fails: HTTP input reconnect options recover a dropped HTTP source, while FFmpeg’s FIFO pseudo-muxer can attempt to recover a network output while FFmpeg is still running. If the process exits, neither mechanism starts it again; use an external process supervisor. For a local relaxation video that should repeat, add -stream_loop -1 separately before its -i input.

Choose the recovery setting for the failure

What failed What to configure Important limit
An HTTP source used as FFmpeg input HTTP reconnect options before that source’s -i. These are HTTP input options, not universal output recovery switches.
The network publishing destination FIFO pseudo-muxer recovery options on the output. Recovery is attempted only while FFmpeg remains running.
The FFmpeg process itself An external service manager or restart loop. FIFO does not relaunch a terminated process.
A local track reaches its end -stream_loop -1 before the input’s -i. It repeats the media; it does not reconnect the publishing output.

FFmpeg’s command-line options apply in relation to their inputs and outputs, so position matters. Confirm that your installed build supports the options you use; the online documentation reflects the newest revision and is regenerated nightly (FFmpeg documentation index).

Loop a local relaxation file and recover the network output

For a local file sent to a network publishing URL, looping and output recovery are separate controls. The following is a template, not a verified drop-in command. Replace the destination format and URL with values required by your service, and check option support in your FFmpeg build.

ffmpeg -stream_loop -1 -re -i relaxation.mp4 
  -c:v copy -c:a copy 
  -f fifo 
  -attempt_recovery 1 
  -recovery_wait_time 5 
  -max_recovery_attempts 0 
  -fifo_format flv 
  'rtmp://DESTINATION/APP/STREAM_KEY'
  • -stream_loop -1 is an input option, so it appears before -i. It repeats the local input indefinitely.
  • -re reads a file at its native rate, which is commonly appropriate for live-paced output. Check that this behavior suits the source and destination.
  • -f fifo selects the FIFO pseudo-muxer. -attempt_recovery 1 enables output recovery attempts, and -recovery_wait_time 5 sets the wait between attempts.
  • -max_recovery_attempts 0 requests unlimited attempts. Choose a finite limit instead if indefinite retries are not appropriate.
  • -fifo_format flv identifies the underlying output muxer in this RTMP-shaped example.

The example assumes the file’s codecs and the destination accept stream copy and FLV/RTMP. That may not be true. If the service requires transcoding or different codecs, select encoding settings compatible with its requirements. FFmpeg describes FIFO recovery as especially useful with network output because it can “restart streaming transparently”; this describes an attempted recovery feature, not a guarantee that every interruption is recovered (FFmpeg FIFO pseudo-muxer documentation).

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Samsung T7 Portable SSD 1TB Titan Gray, USB 3.2 Gen 2, Up to 1,050MB/s
  • MADE FOR THE MAKERS: Create; Explore; Store; The T7 Portable SSD delivers fast speeds and durable features to back up any endeavor; Build your video editing empire, file your photographs or back up your blogs all in an instant
  • SHARE IDEAS IN A FLASH: Don’t waste a second waiting and spend more time doing; The T7 is embedded with PCIe NVMe technology that brings fast read and write speeds up to 1,050/1,000 MB/s¹, making it almost twice as fast as the T5
  • ALWAYS MAKE THE SAVE: Compact design with massive capacity; With capacities up to 4TB, save exactly what you need to your drive – from large working files to game data and everything in between
  • ADAPTS TO EVERY NEED: Whether using a PC or mobile phone, count on the T7 for extensive compatibility²; It’s a true team player when it comes to heavy-duty application usage or file-saving
  • HI RESOLUTION VIDEO RECORDING: Record Ultra High Resolution (4K 60fs) videos directly onto the T7 Portable SSD with your favorite camera or mobile devices; Supports iPhone 15 Pro Res 4K at 60fps video and more³

Reconnect an HTTP input

If FFmpeg reads the relaxation stream from an HTTP URL, put the supported HTTP options before that input’s -i. For example:

ffmpeg -reconnect 1 -reconnect_at_eof 1 
  -reconnect_streamed 1 -reconnect_delay_max 30 
  -i 'https://SOURCE/relaxation-stream' ...

This shows option placement, not recommended universal retry values. Select retry limits for the source and use case. FFmpeg’s HTTP protocol documentation describes these options:

Rank #2
Sandisk 2TB Extreme Portable SSD, Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware, External Solid State Drive, SDSSDE61-2T00-G25
  • Get NVMe solid state performance with up to 1050MB/s read and 1000MB/s write speeds in a portable, high-capacity drive(1) (Based on internal testing; performance may be lower depending on host device & other factors. 1MB=1,000,000 bytes.)
  • Up to 3-meter drop protection and IP65 water and dust resistance mean this tough drive can take a beating(3) (Previously rated for 2-meter drop protection and IP55 rating. Now qualified for the higher, stated specs.)
  • Use the handy carabiner loop to secure it to your belt loop or backpack for extra peace of mind.
  • Help keep private content private with the included password protection featuring 256‐bit AES hardware encryption.(3)
  • Easily manage files and automatically free up space with the SanDisk Memory Zone app.(5). Non-Operating Temperature -20°C to 85°C
  • -reconnect: reconnect after a disconnect before EOF.
  • -reconnect_at_eof: treat EOF as an error and reconnect, which can suit live or endless streams.
  • -reconnect_on_network_error: reconnect for TCP or TLS errors during connection.
  • -reconnect_on_http_error: reconnect for specified HTTP status codes or classes, such as 4xx and 5xx.
  • -reconnect_streamed: permit retries for streamed or non-seekable inputs.
  • -reconnect_delay_max, -reconnect_max_retries, and -reconnect_delay_total_max: bound the delay between retries, retry count, or total retry delay.
  • -respect_retry_after: honor a server’s Retry-After header when enabled.

HTTP reconnect behavior depends on the protocol, server, network, stream availability, and installed FFmpeg build; the options do not ensure uninterrupted playback. They apply to HTTP input behavior, not arbitrary output connections (FFmpeg Protocols Documentation).

Restart FFmpeg if the process exits

FIFO recovery handles output errors while the FFmpeg process is alive. If FFmpeg terminates, an external supervisor must start a new invocation. A restart may begin a local file from its beginning unless the command and source explicitly preserve playback position. Choose a supervisor and restart policy appropriate to your operating system or hosting environment; the FFmpeg settings above are not a process manager.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Sale
SSK 128GB Portable SSD External Hard Drive Solid State Drive up to 550MB/s
  • Capacity Reminder: Display capacity of 128GB SSD often appears as around 116GB on Windows. MacOS typically shows full 128GB. This display capacity reduction of 7% to 10% from SSD actual capacity is from algorithms differences in which 1GB is interpreted as 1024MB on Windows and 1000MB on SSDs
  • 550MB/s: Instantly access to your files with blazing 6Gbps external ssd speed up to 550MB/s. LED Light indicates portable ssd instant activity (Actual speed depends on drive capacity, host device, OS and application)
  • Data Security: Master external solid state drives health with S.M.A.R.T. monitoring. TRIM technology ensures consistent write speeds and extends the longevity of the portable SSD
  • USB C+A : Both USB-C cable and USB-A adapter featuring rapid USB 3.2 Gen2, this USB SSD effortlessly bridges devices, enabling seamless cross-platform file transfers between computers, smartphones, tablets and Phones
  • Always Fast: No slowdowns during large file transfers. This external ssd remains steady 6Gbps by using high speed SLC caching (25%of the current available capacity is allocated for high speed cache)

Troubleshoot a stream that still stops

  • The source drops, but FFmpeg does not reconnect: confirm it is an HTTP input and that reconnect options appear before its -i. Check that the installed build supports those options and that the source becomes available again.
  • The destination drops and FFmpeg exits: FIFO cannot relaunch the process. Configure an external supervisor as well as any in-process output recovery you need.
  • FFmpeg stays up but output does not recover: verify that the output uses the FIFO pseudo-muxer, that fifo_format matches the underlying muxer, and that the target URL, credentials, codecs, and format are valid.
  • The file loops but the broadcast does not resume: looping only repeats input media. Configure output recovery separately.
  • Retries stop sooner than expected: inspect retry limits. FIFO’s max_recovery_attempts and HTTP retry controls are distinct; use a finite or unlimited policy deliberately.
  • The command rejects an option: check the installed FFmpeg build and its matching help or documentation. Online FFmpeg documentation is for the newest revision and may not match an older binary.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

If your goal is a 24/7 YouTube relaxation stream from uploaded videos, StreamNeo is an alternative to maintaining an FFmpeg process yourself. Upload the video, add your YouTube stream key, and go live. The cloud keeps the stream running without a computer or home connection staying on. Each slot streams the uploaded file at its original quality, up to 4K 60fps, at one flat price per slot; automatic recovery attempts to resume if YouTube drops the stream. The first day is free with no card. Monthly pricing is $9.99 per month. StreamNeo is for uploaded videos and YouTube streams, not camera-based live capture. Visit StreamNeo or start the free day.

Best Value
Sale
SSK Portable SSD 250GB External Solid State Hard Drive USB C Up to 1050MB/s
  • Capacity Display Variance: 250GB external ssd often appears as around 232GB on Windows. MacOS can show full 250 GB capacity. This is binary calculation difference and doesn’t affect SSD hard drive actual physical storage
  • 1050 MB/s Speed: Instantly access to your files with blazing-fast 10Gbps external SSD read up to 1050MB/s and write up to 1000MB/s. LED Light indicates USB SSD instant activity
  • Data Security: Solid state drives S.M.A.R.T. health diagnostics​ and adaptive TRIM optimizing data block management ensures consistent write speeds and extends the longevity of the portable SSD
  • USB-C & USB-A Cable: Both cables featuring rapid USB 3.2 Gen2, this USB SSD effortlessly bridges devices, enabling seamless cross-platform file transfers and backup between computers, smartphones, tablets and iPhone
  • Always Fast: No slowdowns for large file transfers. With SLC caching (25% of current available capacity allocated as high-speed cache), this external SSD delivers steady 10Gbps for transfers within the cache capacity
Rank #4
Sale
Seagate 2TB Portable Hard Drive | USB 3.0 (STGX2000400)
  • Easily store and access 2TB to content on the go with the Seagate Portable Drive, a USB external hard drive
  • Designed to work with Windows or Mac computers, this external hard drive makes backup a snap just drag and drop
  • To get set up, connect the portable hard drive to a computer for automatic recognition no software required
  • This USB drive provides plug and play simplicity with the included 18 inch USB 3.0 cable
  • The available storage capacity may vary.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.