[mythtv-users] Transcode script that keeps show in Recordings
Jay Harbeston
jharbestonus at gmail.com
Sun Jun 4 18:19:12 UTC 2023
> On Jun 4, 2023, at 12:44 PM, Ian Evans <dheianevans at gmail.com> wrote:
>
> I'm messing around with a test server right now as I don't current;y have access to my old MythTV box. I thought I had put a copy of the scripts I used in Google Drive, but apparently I didn't.
>
> The user job script I had would run mythtranscode, honour the cutlet, if anny rebuild the seektable and run with the --mpeg2 option, so even if you hadn't created a cutlist, you could save about 20% of the initial .ts file.
>
> The one thing it did, was move the tmp file to the current recording name and move the original file to a .old. Having the edited file accessible through recording was helpful if you suddenly noticed you missed a commercial/PBS pledge break, as you could easily re-edit the file.
>
> Anyone know the name of that script or remember authoring it?
I use this shell script to cut using the recorded markup table.
It uses ffmpeg to copy the fragments from the original as defined by the recorded markup table, and concatenates them using the ffmpeg copy function. It does not remove the original, but renames it for safety sake.
https://pastebin.com/uuBHpauQ
I defined it as one of the jobs in mythtv as follows:
It uses the db connection information in the /etc/mythtv/config.xml to make connections.
/usr/local/bin/ffcut.sh %DIR% %CHANID% %STARTTIMEUTC% >> /tmp/ffcut.log
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230604/33dcfa8a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: favicon.ico
Type: image/vnd.microsoft.icon
Size: 318 bytes
Desc: not available
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230604/33dcfa8a/attachment.ico>
More information about the mythtv-users
mailing list