scripts to remove cut or skip lists

Uses the concat muxer
This commit is contained in:
Leo Butler
2020-06-28 17:27:57 -05:00
committed by Leo Butler
parent 131e2fa645
commit 763f589be1
2 changed files with 143 additions and 0 deletions

13
ffmpeg-cut-list.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
chanid=$1
starttime=$2
skip_or_cutlist=${3:-"cutlist"}
logdir="/mnt/lvraid5/ffmpeg-cut-list.d"
logfile="$logdir/user-job-${chanid}-${starttime}.log"
if ! test -d $logdir; then
mkdir -p $logdir;
fi
ionice -c 3 ffmpeg-cut-list0.sh $chanid $starttime $skip_or_cutlist 2>> $logfile >> $logfile