![]() |
post processor script to remove commercials - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: post processor script to remove commercials (/t-post-processor-script-to-remove-commercials) |
post processor script to remove commercials - grumpycat - 2023-08-18 Does anyone know of a postprocessor script that can remove commercials from recorded shows? Is anyone working on one? RE: post processor script to remove commercials - sevenrats - 2023-08-18 There is no real way to accomplish this in software. RE: post processor script to remove commercials - bitmap - 2023-08-18 I think this would be external to Jellyfin with tools like Comskip. I have no experience with using that tool, but heard about it when investigating setting up my TVHeadEnd integration that I had working momentarily. RE: post processor script to remove commercials - Jerky - 2023-09-18 Check out comchap along with Comskip https://github.com/BrettSheleski/comchap https://github.com/erikkaashoek/Comskip RE: post processor script to remove commercials - true911 - 2024-11-07 (2023-08-18, 06:13 PM)sevenrats Wrote: There is no real way to accomplish this in software. This isn't helpful and is plain wrong. Plex is doing it and comskip provides a solution, if only Jellyfin would work with its output. Emby has lots of guides on setting that up. Searching here returns zero results. Oh, and these are both software packages (what else could they be?) RE: post processor script to remove commercials - finicky6457 - 2024-12-07 Comcut works well for me. Here is the version of a post processing script I use: https://github.com/redaters/Jellyfin-Post-Processor/blob/main/reencode.sh RE: post processor script to remove commercials - Linseed9747 - 2024-12-17 (2024-12-07, 04:03 AM)finicky6457 Wrote: Comcut works well for me. Here is the version of a post processing script I use: @finicky6457 would you mind expanding on how to set this up? It appears you may be running Jellyfin in a docker container (based on where you are calling /usr/lib/jellyfin-ffmpeg/ffmpeg . Are you running a docker compose to setup comcut ? I am just beginning my research, but from what I've seen, many of the solutions are not necessarily tailored to use in a docker container. For example, the Jellyfin recommendation to run a post-processing script requires a python3 executable as a dependency. Not sure that is possible in a container without a lot more config. In any event, if you could further describe the steps to get your solution running, that would be great. RE: post processor script to remove commercials - finicky6457 - 2024-12-17 Yes, I'm running Jellyfin in a Docker container. I have 3 volumes within the container that point to static directories on the host machine, config, cache, and media. That way when I upgrade my Jellyfin container these directories persist. I copied the comskip/comcut/comchap binaries into my config folder as well as the necessary libraries (see https://forum.jellyfin.org/t-comskip-in-jellyfin-on-docker). The post processing script runs inside the Docker container each time an episode is recorded. |