Project

General

Profile

comskip directory/file not found or permission denied

Added by Anonymous about 4 years ago

Hi,

I'm trying to set up the post processing comskip after a recording. I have tvheadend installed on ubuntu server 20.04.

I tried the following command:
/Comskip/comskip --ini=/var/snap/tvheadend/139/comskip/comskip.ini %f

It seems like it started but doesn't do anything.

I also tried the attached script, I found on the internet to run comskip.

It received a permission denied for /usr/bin/whoami
and either file/directory not found or permission denied for comskip program.

Can somebody tell me what directory the tvheadend post processing has access to run comskip?
It seems like where ever I place the program it says the program can not be found or permission denied.

I have tried the following directories with no success:
/usr/bin
/Comskip
/var/snap/tvheadend/139/comskip
/bin

If anybody has any suggestions, I would greatly appreciate it.

Thanks in advance for any help.

script.sh (1.96 KB) script.sh

Replies (4)

RE: comskip directory/file not found or permission denied - Added by saen acro about 4 years ago

Remove whaterer you use in SNAP and use native install

/SNAP = So Nasty Ass Pain/

RE: comskip directory/file not found or permission denied - Added by Anonymous about 4 years ago

Thanks for responding so quickly.

I actually did do a native install using the instructions at https://github.com/erikkaashoek/Comskip which installed the program at /Comskip and /usr/bin and /bin.

Since none of those locations is noticeable for the post processing processs, I moved the program to /var/snap/tvheadend/139/comskip hoping it would have access to the directory which then changed the error message from can't find folder/file to access denied.

RE: comskip directory/file not found or permission denied - Added by saen acro about 4 years ago

its absolutly wrong
if you type

make install

you will se clear messages as
make install
make[1]: Entering directory '/opt/Comskip'
 /bin/mkdir -p '/usr/local/bin'
  /usr/bin/install -c comskip comskip-gui '/usr/local/bin'
make[1]: Nothing to be done for 'install-data-am'.
make[1]: Leaving directory '/opt/Comskip'

so location is

/usr/local/bin

to confirm that

$ whereis comskip
comskip: /usr/local/bin/comskip

RE: comskip directory/file not found or permission denied - Added by Anonymous about 4 years ago

I typed # whereis comskip and got the following:
comskip: /usr/bin/comskip /usr/share/man/man1/comskip.1.gz

I reinstalled comskip and got the same results.

Oh, were you saying to reinstall tvheadend not using snap?

tvheadend was installed using snap but not comskip.

If I have to start from scratch, I may try libreelec again. It was easier to setup with comskip already integrated, the only reason I changed to Ubuntu server is because lately I been having a lot of video halts when using liberelec. Currently tvheadend server is working fine with ubuntu server for the most part so if I can't get comskip working I may just deal with it and use the fast forward button or do a clean install of libreelec to see if that fixes the video halts.

Thanks for helping btw.

    (1-4/4)