NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 29 30 31 32 33 34 Next »
PostProcessing and Comskip

 
  • 0 Vote(s) - 0 Average
PostProcessing and Comskip
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#1
2019-09-23, 07:31 PM
Now that I'm able to find the right location of the scripts for PostProcessing, I'm able to execute the script but has anyone successfully written a script to execute comskip?

To execute Comskip it's ~/git/Comskip/comskip for me and then the file location and file.

Is there documentation on how to refer to the recording? I think for windows its %2. Also not sure if I'm going to run into a permissions issue.

I'm also wondering if there is a way to limit the amount of comskips running in case I have multiple files.

Flyingsubs
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2019-09-23, 07:35 PM
flyingsubs Wrote:Is there documentation on how to refer to the recording? I think for windows its %2.
The same parameters are passed to scripts on Linux, but $1 etc instead of %1.

"filename" "channel-number" "recording-oid" "capture-source-oid" "title"
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#3
2019-09-23, 07:40 PM
Thanks! Is this something that is common in linux?

I'm trying to learn more linux and figured moving my whole windows setup to a raspberry pi and see how it runs!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#4
2019-09-23, 07:42 PM
This example isn't doing comskip, but you can see an example of someone else's Postprocessing.sh on Linux here:
https://forums.nextpvr.com/showthread.ph...post540169
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#5
2019-09-23, 07:48 PM
Thanks! I'll take a look
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#6
2019-09-24, 03:41 PM
Ok, so that link definitely helped! I think I'm really close to getting it to work. Once I get it to work I can post it here so people can use it.

I think the next issue I'm running into is a permissions one, where the NPVR files are outputting with permissions that won't allow for the files to be modified in the directory. Is there a NPVR setting I could change or would it be possible for me to add a line into my PostProcessing.sh to change the directory permissions? Not sure what the best practice is. Thanks for you help!

-Flyingsubs
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#7
2019-09-24, 04:27 PM
The deb installer instructions explain permissions but I am starting to think people have stopped reading and searching this forum before posting. If NextPVR creates the ts file comskip will have the same folder permissions. If you changed the default folder you might have to run tests differently.

Martin
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#8
2019-09-24, 06:18 PM
mvallevand Wrote:The deb installer instructions explain permissions but I am starting to think people have stopped reading and searching this forum before posting. If NextPVR creates the ts file comskip will have the same folder permissions. If you changed the default folder you might have to run tests differently.

Martin

Thank you for pointing me in the right direction! I apologize, I have read that and I didn't make the connection about the folder vs the file and comskip. I've started learning linux and I'm starting to get the hang of somethings. Thank you for being patient.

-Flyingsubs
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#9
2019-09-26, 08:40 PM
flyingsubs Wrote:Once I get it to work I can post it here so people can use it.

I for one would appreciate it. I can't seem to find a how-to for comskip beyond the build process, and that assumes I know what I'm doing (I don't).
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,770
Threads: 954
Joined: May 2006
#10
2019-09-28, 06:49 PM
Here is mine, it is very straight forward.

nice -n 19 comskip --ini=/home/martin/Comskip/comskip.ini "$1" > /dev/null

- I run nice so the CPU doesn't get hogged
- My comskip points to my donator ini file
- Don't forget make install on comskip after the build to get it into the path

Martin
« 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
  Folder location PostProcessing.sh with LibreElec retrofan 10 1,088 2024-08-14, 04:44 PM
Last Post: retrofan
  Comskip fail Armsp0 6 1,366 2022-02-09, 11:19 PM
Last Post: Armsp0
  Fixed? - PostProcessing - NScriptHelper.dll rename failed following 5.2.1 upgrade lostboy 9 2,066 2021-10-26, 05:42 PM
Last Post: sub
  PostProcessing help VCR58 4 1,491 2021-08-31, 04:36 PM
Last Post: pkscout
  comskip failing with segmentation fault CDinger 1 1,052 2021-05-10, 12:40 PM
Last Post: mvallevand
  bulk comskip processing script baj1 7 3,386 2020-11-21, 08:44 PM
Last Post: baj1
  Had comskip working, now it's not. baj1 11 2,713 2020-11-02, 12:02 AM
Last Post: baj1
  Raspberry pi comskip DavidD 11 3,840 2020-06-29, 08:54 PM
Last Post: mvallevand
  PostProcessing.sh and a ' in Show Name tjzi422xlk 16 7,056 2019-10-09, 01:41 AM
Last Post: mvallevand
  Linux File Location and PostProcessing flyingsubs 3 2,065 2019-09-23, 07:01 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