Quote:
Originally Posted by mleczan
Hi! Is it also possible to enhance your patched rtmpdump with support for resuming live streams? Currently there is no way and --resume is disabled when --live. Of course tehere is no way to seek in live stream therefore some data would be lost which is obvious but any reasuming (just appending new data to old file) would be great. Is it possible?
|
You can always use ffmpeg with concat to join files.
I use this bat file to join various flv from the present folder and convert to mp4 (only audio to reencode), just make sure that the files are ordered by name:
Code:
@ECHO OFF
setlocal enableextensions enabledelayedexpansion
set /a "count=0"
set "file="
echo(>"_input.txt"
for %%a in (*.flv) do (
(set /a "count+=1")
(if !count! == 1 (set file=%%a))
(echo file '%%~a'>>"_input.txt")
)
set file=%file:~0,-3%mp4
ffmpeg -f concat -i _input.txt -strict experimental -c:v copy -c:a libvo_aacenc -ab 16k -ar 16000 -ac 1 "%file%"
pause