1

我有一个 bat 脚本 (Windows) 供 Livestreamer 库录制视频中的广播

:loop

set day=%DATE:~0,2%
set month=%DATE:~3,2%
set year=%DATE:~6,4%

set hour=%TIME:~0,2%
set minute=%TIME:~3,2%
set second=%TIME:~6,2%

set YYYYMMDD=%day%_%month%_%year%_%hour%_%minute%_%second%


streamlink --hls-live-edge 99999 --hls-segment-threads 10 --ringbuffer-size 1024M -o %YYYYMMDD%.ts https://www.twitch.tv/silvername best
goto loop

我怎样才能把这个视频分成几块?

我试图这样做,但它没有用,写入参数的错误

ffmpeg -i "streamlink --hls-live-edge 99999 --hls-segment-threads 10 --ringbuffer-size 1024M -o %YYYYMMDD%.ts https://www.twitch.tv/manyrin best" -f segment -segment_time 1 -vcodec copy -acodec copy "%03d.ts"
4

0 回答 0