[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: record stream using time limit, reconnecting as needed
From: |
Koichi Murase |
Subject: |
Re: record stream using time limit, reconnecting as needed |
Date: |
Wed, 22 Feb 2023 16:36:06 +0900 |
2023年2月22日(水) 16:15 Koichi Murase <myoga.murase@gmail.com>:
>
> 2023年2月22日(水) 16:11 alex xmb ratchev <fxmbsw7@gmail.com>:
> > why not just timeout 30m ffmpeg
>
> Because we want to rerun ffmpeg on the connection failures as far as
> the time limit isn't reached.
ffmpeg seems to have the option "-reconnect_streamed 1" [1,2], though
I haven't tried it.
[1]
https://stackoverflow.com/questions/59793451/issue-restreaming-with-ffmpeg-if-source-destination-drops
[2] https://ffmpeg.org/ffmpeg-protocols.html
If it works, I guess you can just do
$ timeout 30m ffmepg -i http://some.url.m3u8 -reconnect_streamed 1
although it's not the solution on the shell side for the general
commands that might not necessarily have the retry option.
--
Koichi
- record stream using time limit, reconnecting as needed, Roger, 2023/02/21
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/21
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/21
- Re: record stream using time limit, reconnecting as needed, alex xmb ratchev, 2023/02/22
- Re: record stream using time limit, reconnecting as needed, Koichi Murase, 2023/02/22
- Re: record stream using time limit, reconnecting as needed,
Koichi Murase <=
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/22
- Re: record stream using time limit, reconnecting as needed, Koichi Murase, 2023/02/22
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/22
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/23
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/23
- Re: record stream using time limit, reconnecting as needed, Greg Wooledge, 2023/02/23
- Re: record stream using time limit, reconnecting as needed, Roger, 2023/02/24