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
vintdiesel
Offline

Member

Posts: 114
Threads: 23
Joined: Jan 2012
#11
2019-09-28, 11:20 PM
Quote: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!

I had the same problem, so I did this in ParallelProcessing.sh:

Quote:#!/bin/bash
# --------------------------
# ParallelProcessing.sh
# D.Little
# Verson 100 - 1st Linux shell translation
# dated 09/08/2019
# --------------------------

echo _____________________________________________________________________________________________________________________ >>/config/logs/processing.log
echo $(date "+%d/%m/%Y %T") - $3 - Recording started on $1 recorded channel $2 on tuner $4 >>/config/logs/processing.log

#Make work directory writable from any PC so files can be copied, written to etc.
workdir=$(dirname "$1")
chmod 777 "$workdir"

# End of script
exit 0

This allows me to manipulate recordings from my windows based PCs.
Win Server: ASRock P67 Pro3 B3, i5 2500K 4.0Ghz, 16GB, Nvidia GT430 HDMI, Win 10 Pro 64bit, Win-TV Quad HD, Win-TV Nova-T USB.
UnRaid NAS Server: Gigabyte i7 2600 3.4Ghz, 16GB, S3 Trio VGA PCI Video, DVB LibreElec for DVB-T tuner drivers, Hauppage Win-TV 2210 Dual DVB-T.
Win Client: Intel NUC i3 Broadwell, 4GB Ram, 128GB SSD, Win 10 Pro 64bit.
Linux Client: Raspberry Pi 3+, OSMC + Kodi
donbrew
Offline

Member

Posts: 120
Threads: 22
Joined: Mar 2014
#12
2019-09-29, 10:23 PM (This post was last modified: 2019-09-29, 11:16 PM by donbrew.)
I got mine working even simpler! I finally found comcut.
Code:
cd /opt/autoedit
bash ./comcut.sh "$1"
mv "$1" /mnt/tv3/finished

now I am trying to delete the leftover dirs. I use Medusa to rename and move the files from the finished dir

Figured it out for myself, just added
Code:
workdir=$(dirname "#1")
rm -r -f "$workdir"
flyingsubs
Offline

Member

Posts: 85
Threads: 14
Joined: Jun 2018
#13
2019-10-07, 07:39 PM
(2019-09-28, 06:49 PM)mvallevand Wrote: 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


I think I got this to work. Going to test this, tonight with scheduled recordings.  The Raspberry Pi 4 was definitely maxing out with recording 2 shows, comskip running live to on another computer.

Going to also check the FPS on the comskip files and see what this setting does to it. I'm assuming that this will make comskip run longer now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Folder location PostProcessing.sh with LibreElec retrofan 10 1,404 2024-08-14, 04:44 PM
Last Post: retrofan
  Comskip fail Armsp0 6 1,455 2022-02-09, 11:19 PM
Last Post: Armsp0
  Fixed? - PostProcessing - NScriptHelper.dll rename failed following 5.2.1 upgrade lostboy 9 2,220 2021-10-26, 05:42 PM
Last Post: sub
  PostProcessing help VCR58 4 1,548 2021-08-31, 04:36 PM
Last Post: pkscout
  comskip failing with segmentation fault CDinger 1 1,110 2021-05-10, 12:40 PM
Last Post: mvallevand
  bulk comskip processing script baj1 7 3,487 2020-11-21, 08:44 PM
Last Post: baj1
  Had comskip working, now it's not. baj1 11 2,872 2020-11-02, 12:02 AM
Last Post: baj1
  Raspberry pi comskip DavidD 11 4,040 2020-06-29, 08:54 PM
Last Post: mvallevand
  PostProcessing.sh and a ' in Show Name tjzi422xlk 16 7,322 2019-10-09, 01:41 AM
Last Post: mvallevand
  Linux File Location and PostProcessing flyingsubs 3 2,137 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