ffmpeg-mythtv/ffmpeg-cut-to-mkv.sh

19 lines
321 B
Bash
Raw Normal View History

#!/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 $?