ffmpeg-mythtv/ffmpeg-cut-to-mkv.sh
2020-07-27 17:33:47 -05:00

19 lines
321 B
Bash
Executable File

#!/bin/bash
set -a
set -e
set -x
file=${file:-"$A1"}
recordingsdir=${A2:-"/var/lib/mythtv/recordings"}
chanid=$1
starttimeutc=$2
title=${title:-"$A3"}
subtitle=${subtitle:-"$A4"}
season=${season:-"$A5"}
episode=${episode:-"$A6"}
ffmpeg-cut-list0.sh $chanid $starttimeutc
ffmpeg-to-mkv.sh $chanid $starttimeutc
exit $?