All apps · 0 apps
post-recording
Docker app from Chacawaca's Repository
Overview
Readme
View on GitHubdocker-post-recording
Watches for .ts files made by Live TV recordings, convert them to a friendly format, extract .srt file, add chapters with comchap or remove them with comcut. Tested with Emby recordings.
Example run
docker run -d \
--name=post-recording \
-v /docker/appdata/post-recording:/config:rw \
-v /home/user/videos:/watch:rw \
-v /home/user/backup:/backup:rw \
-e DELETE_TS=1 \
-e SUBTITLES=0 \
-e CONVERSION_FORMAT=mkv \
-e SOURCE_EXT=ts \
-e POST_PROCESS=comchap \
-e PUID=99 \
-e PGID=100 \
-e UMASK=000 \
--restart always \
chacawaca/post-recording
Where:
/config: This is where the application stores its configuration, log and any files needing persistency./watch: This location contains .ts files that need converting. Other files are not processed./backup: Optional, only used if DELETE_TS is set to 2.DELETE_TS: After converting remove the original .ts recording file. 0 = Yes, 1 = No, 2 = Move to backup directory USE DELETE_TS=1 UNTIL YOU'RE SURE IT WORKS WITH YOUR VIDEO RECORDINGS.SUBTITLES: Extract subtitles to .srt. 0= Yes, 1 = NoCONVERSION_FORMAT: Select output extension, your custom.sh need to be valid for this extension.SOURCE_EXT: If you want to convert something else than .tsPOST_PROCESS: option are comchap or comcut. default: comchapPUID: ID of the user the application runs as.PGID: ID of the group the application runs as.UMASK: Mask that controls how file permissions are set for newly created files.
Configuration:
- /scripts/custom.sh need to be configured by you, some example are there to help you configure this for your need.
- /hooks can be configured to execute custom code
- /comskip/comskip.ini can be configured too.
Unraid Users
Help with Intel
Intel GPU Use
Edit your go file to include:
modprobe i915, save and reboot, then
add --device=/dev/dri to "extra parameters" (switch on advanced view)
Help with Nvidia
Nvidia GPU Use
Using the Unraid Nvidia Plugin to install a version of Unraid with the Nvidia Drivers installed and
add --runtime=nvidia to "extra parameters" (switch on advanced view) and
copy your GPU UUID to NVIDIA_VISIBLE_DEVICES. (-e NVIDIA_VISIBLE_DEVICES=GPU-XXXXXXXXXXXXXX)
projects used
www.github.com/djaydev/docker-recordings-transcoder
www.github.com/BrettSheleski/comchap
www.github.com/erikkaashoek/Comskip
www.github.com/jlesage/docker-handbrake
www.github.com/ffmpeg/ffmpeg
www.github.com/CCExtractor/ccextractor
www.github.com/linuxserver/docker-baseimage-ubuntu
www.github.com/jrottenberg/ffmpeg
Install post-recording on Unraid in a few clicks.
Find post-recording in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.
Categories
Download Statistics
Total Downloads Over Time
Related apps
Explore more like this
Explore allLinks
Details
chacawaca/post-recordingRuntime arguments
- Network
bridge- Shell
bash- Privileged
- false
Template configuration
Configuration folder /config
- Target
- /config
- Default
- /mnt/user/appdata/post-recording
This location contains .ts files that need converting /watch
- Target
- /watch
Optional, only used if DELETE_TS is set to 2 /backup
- Target
- /backup
Remove the original .ts recording file. 0 = Yes, 1 = No, 2 = Move to backup directory
- Default
- 1
- Value
- 1
Extract subtitles to .srt. 0= Yes, 1 = No
- Default
- 0
- Value
- 0
mkv or mp4
- Default
- mkv
- Value
- mkv
Source file extension, default .ts
- Default
- ts
- Value
- ts
comchap or comcut default: comchap
- Default
- comchap
- Value
- comchap
GPU UUID retrieved from Nvidia plugin settings
Container Variable: PUID
- Value
- 99
Container Variable: PGID
- Value
- 100
Container Variable: UMASK
- Value
- 000