chacawaca 108 Posted August 21, 2020 Posted August 21, 2020 Hi, i done a docker -it watch your record directory -extract srt -convert .ts to mkv or mp4 -process comchap or comcut on it. if 2-3 persons can test it and give me feedback, that will be nice. https://hub.docker.com/r/chacawaca/post-recording please use it with a test directory for now, keep DELETE_TS = 1 if you want to keep your .ts file thanks you 1
MaxNicklisch 0 Posted January 7, 2022 Posted January 7, 2022 (edited) --- Edited January 7, 2022 by MaxNicklisch
PaoloPinkel 6 Posted January 7, 2022 Posted January 7, 2022 @chacawaca I have the container running on a Synology NAS. What do I need to do to start the configuration. Do you happen to have a Synology and could help me? I don't know anything about Linux and Docker.
chacawaca 108 Posted January 8, 2022 Author Posted January 8, 2022 It probably work on Intel based sinology, but if you have 0 experience with docker its probably not the best one to start. You have some manual config to do to adapt ffmpeg command to your situation.
PaoloPinkel 6 Posted November 16, 2022 Posted November 16, 2022 i get with this entry in custom.sh ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "$INPUT" -vf 'format=nv12|vaapi,hwupload,deinterlace_vaapi' -c:v hevc_vaapi -brand mp42 -ac 2 -c:a libfdk_aac -b:a 128k -ignore_unknown -map 0 "$OUTPUT" the following error in the log: [AVHWDeviceContext @ 0x55d1d8069580] No VA display found for device /dev/dri/renderD128. Device creation failed: -22. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument Synology DS920+ INTEL Celeron J4125 Would be nice if someone could help me with this. error.log
Luke 39008 Posted November 16, 2022 Posted November 16, 2022 3 hours ago, PaoloPinkel said: i get with this entry in custom.sh ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "$INPUT" -vf 'format=nv12|vaapi,hwupload,deinterlace_vaapi' -c:v hevc_vaapi -brand mp42 -ac 2 -c:a libfdk_aac -b:a 128k -ignore_unknown -map 0 "$OUTPUT" the following error in the log: [AVHWDeviceContext @ 0x55d1d8069580] No VA display found for device /dev/dri/renderD128. Device creation failed: -22. Failed to set value '/dev/dri/renderD128' for option 'vaapi_device': Invalid argument Synology DS920+ INTEL Celeron J4125 Would be nice if someone could help me with this. error.log 1.46 kB · 0 downloads Hi there, please attach the emby server log. Thanks.
PaoloPinkel 6 Posted November 16, 2022 Posted November 16, 2022 Hi Luke, many thanks already. Just for info, the custom.sh script is currently still triggered by the start of the container, not by emby! Attached is the custom.sh of the Docker container and the emby log. embyserver.txt custom.sh
chacawaca 108 Posted November 16, 2022 Author Posted November 16, 2022 You need to expose your intel cpu to your docker container
PaoloPinkel 6 Posted November 16, 2022 Posted November 16, 2022 thanks a lot @chacawaca, I'll read up on it....
PaoloPinkel 6 Posted November 17, 2022 Posted November 17, 2022 An export of the Synology Docker *.json file and an edit with "devices" : [ { "CgroupPermissions": "rwm", "PathInContainer": "/dev/dri/renderD128", "PathOnHost": "/dev/dri/renderD128" } ], and then importing it did not work. The device entry is always discarded. I solved it via the Synology task scheduler. Running the script once as user "root" finally worked. #!/bin/bash docker run -d \ --name=post-recording \ -v /volume1/docker/post-recording:/config:rw \ -v /volume1/07_Emby/Aufnahmen_LiveTV/Test:/watch:rw \ -v /volume1/07_Emby/Backup_LiveTV:/backup:rw \ -e DELETE_TS=0 \ -e SUBTITLES=1 \ -e CONVERSION_FORMAT=mkv \ -e SOURCE_EXT=ts \ -e POST_PROCESS=comcut \ -e PUID=99 \ -e PGID=100 \ -e UMASK=000 \ -e TZ=Europe/Berlin \ --device /dev/dri/renderD128:/dev/dri/renderD128 \ --restart always \ chacawaca/post-recording Now I try different settings with the comskip.ini to get a good detection rate. Thanks for the support guys!
BrianJFox 11 Posted February 1, 2023 Posted February 1, 2023 (edited) . Edited February 1, 2023 by BrianJFox nevermind
vdrover 54 Posted February 7, 2024 Posted February 7, 2024 Big thanks to @chacawaca for this image. It works flawlessly, and along with the comskip plugin from @BillOatmanit really makes Emby a solid media system for live TV.
muppet4k 10 Posted February 8, 2024 Posted February 8, 2024 On 11/17/2022 at 2:57 PM, PaoloPinkel said: Now I try different settings with the comskip.ini to get a good detection rate. Thanks for the support guys! Like to share it?
muppet4k 10 Posted February 8, 2024 Posted February 8, 2024 On 8/21/2020 at 11:03 PM, chacawaca said: please use it with a test directory for now, keep DELETE_TS = 1 if you want to keep your .ts file thanks you First, thank you to make this for using in a docker system. I tried today also and its working... But I have some questions about quality, now the output file is very smile....see the screenshot below... can I configure it to get a better quality in video? Which settings are you using? Normally I download a file and using handbrake where I can configure anything, about quality ...
chacawaca 108 Posted February 10, 2024 Author Posted February 10, 2024 /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. you can configure custom.sh with the ffmpeg command you want and adjust quality there. 2
muppet4k 10 Posted February 15, 2024 Posted February 15, 2024 On 2/10/2024 at 4:15 PM, chacawaca said: /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. you can configure custom.sh with the ffmpeg command you want and adjust quality there. I have a question again when I like to watch to a folder which is recording live tv … will he wait when the file finished recording? I saw he wait 10 seconds and than he start ? Or see the script that the file is still growing ?
Luke 39008 Posted February 15, 2024 Posted February 15, 2024 8 hours ago, muppet4k said: I have a question again when I like to watch to a folder which is recording live tv … will he wait when the file finished recording? I saw he wait 10 seconds and than he start ? Or see the script that the file is still growing ? Who is he?
muppet4k 10 Posted February 15, 2024 Posted February 15, 2024 37 minutes ago, Luke said: Who is he? I mean the docker image from chacawaca;-) 1
chacawaca 108 Posted February 15, 2024 Author Posted February 15, 2024 Script will wait recording is finished
muppet4k 10 Posted February 16, 2024 Posted February 16, 2024 9 hours ago, chacawaca said: Script will wait recording is finished nice can I add a second folder to watch too? and how? because I dont want to add my group main folder
muppet4k 10 Posted February 17, 2024 Posted February 17, 2024 On 2/15/2024 at 12:40 PM, muppet4k said: I have a question again when I like to watch to a folder which is recording live tv … will he wait when the file finished recording? I saw he wait 10 seconds and than he start ? Or see the script that the file is still growing ? has somebody tried a webhook when converting is finished ?
muppet4k 10 Posted February 19, 2024 Posted February 19, 2024 On 2/10/2024 at 4:15 PM, chacawaca said: /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. you can configure custom.sh with the ffmpeg command you want and adjust quality there. @chacawaca Would be nice to get this feature https://github.com/chacawaca/docker-post-recording/issues/21
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now