NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
« Previous 1 … 5 6 7 8 9 Next »
Comskip walkthrough

 
  • 0 Vote(s) - 0 Average
Comskip walkthrough
eldudemeister
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jan 2020
#1
2020-01-17, 11:26 AM
Hi,
Is there a guide/walkthrough I can be directed to in order to get comskip and nextpvr working together. I'm running nextpvr in docker on my ubuntu server and have installed comskip based on the directions for Ubuntu in here 
https://github.com/erikkaashoek/Comskip and tried to follow this guide but it doesnt seem to be working? https://www.howtogeek.com/251405/how-to-...h-comskip/
Any tips would be greatly appreciated.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#2
2020-01-17, 01:46 PM
A Windows guides isn't going to help much.

If you used the deb install the file would be

/var/opt/nextpvr/scripts/PostProcessing.sh (or ParallelProcessing.sh)

and you need as as minimum.

nice -n 19 comskip --ini=/pathto/comskip.ini "$1" > /dev/null

The settings in comskip.ini I recommend are

output_edl=1
live_tv=1
edl_skip_field=3

Don't forgot the chmod +x the .sh file

Martin
eldudemeister
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jan 2020
#3
2020-01-17, 02:45 PM
Thanks for the quick response Martin, will give that a go! WAs probably being slightly naive using the windows guide but thoguhut I could adapt it! 
Matt
eldudemeister
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jan 2020
#4
2020-01-17, 07:51 PM (This post was last modified: 2020-01-17, 08:22 PM by eldudemeister.)
Hi Martin,

I received the following error message in the logs

2020-01-17 18:02:00.830 [DEBUG][9] Starting: bash -c "'/config/scripts/PostProcessing.sh' '/recordings/The Chase/Season 13/The.Chase.S13E111.ts' 3 854 21 'The Chase'"

2020-01-17 18:02:01.706 [ERROR][87] nice: 'comskip': No such file or directory

Does the comskip file need to be mounted to the nextpvr docker container as well?

The below is what I've put in the post processing script

nice -n 19 comskip --ini=/home/matt/comskip/comskip.ini "$1" > /dev/null
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#5
2020-01-17, 08:47 PM
Docker on an ubuntu server is a waste of resource IMO and makes this type of processing more difficult. sub might be able to compile and install comskip in his docker and you could probably keep comkskip.ini in /config/scripts (where PostProcessing.sh needs to be)

nice -n 19 comskip --ini=/config/comskip.ini "$1" > /dev/null

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2020-01-17, 08:55 PM
(2020-01-17, 07:51 PM)eldudemeister Wrote: Does the comskip file need to be mounted to the nextpvr docker container as well?
Yes. Basically if you're trying to run anything from an app in Docker, then it also needs to be in the Docker container.

Docker is really good for some stuff, but can make these type of customization hard.
eldudemeister
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jan 2020
#7
2020-01-17, 08:59 PM
Thanks for the replies! Is there any chance of comskip being added to the docker?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#8
2020-01-17, 09:03 PM
Hmmm, I don't really want to include that in my docker builds.

There was another user that had posted here with info about how he was repackaging the container. You might need to look into that as an option. ie, I think you can effectively have a Dockerfile that points to my image as the base, then add comskip to the image, then run Docker build.
eldudemeister
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jan 2020
#9
2020-01-17, 09:07 PM
Understood, thanks. Will look into that!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#10
2020-01-17, 09:08 PM
https://forums.nextpvr.com/showthread.php?tid=60014
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Comskip segfaults with comskip embedded in amd64 docker SickBoy 6 320 2025-02-24, 11:18 PM
Last Post: SickBoy
Information Custom NPVR image with ffmpeg, ccextractor, handbrake, comskip, etc. Ranbato 66 14,221 2025-01-16, 04:26 AM
Last Post: mvallevand
  Docker and Comskip mexjerry 3 1,167 2023-06-04, 09:38 PM
Last Post: Ranbato
  Unraid walkthrough please... waring192 1 1,642 2019-11-22, 02:06 AM
Last Post: mvallevand
  Comskip shaboobala 1 1,385 2019-10-13, 05:38 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode