Bug #6301
Comskip Errors in tvheadend
0%
Description
HTS Tvheadend 4.3-2154~gec56067f4
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
Linux thunder 5.10.0-25-amd64 #1 SMP Debian 5.10.191-1 (2023-08-16) x86_64 GNU/Linux
TV program recorded fine, comskip is set in config: /usr/bin/comskip --ini=/home/ME/.config/appdata/tvheadend/comskip/comskip.ini \"%f
Nothing special in the ini, just default.
In tvh, after recording:
@2023-08-31 06:00:00.041 spawn: Usage:
2023-08-31 06:00:00.041 spawn: comskip [-h|--help] [-w|--debugwindow] [-n|--playnice] [--zpcut] [--zpchapter] [--scf] [--videoredo] [--videoredo3] [--csvout] [--quality] [--plist] [-m|--demux] [--hwassist] [--cuvid] [--vdpau] [--dxva2] [--decoders] [--threads=] [-p|--pid=] [-t|--ts] [-d|--detectmethod=] [-v|--verbose=] [-u|--dump=] [-s|--play] [--timing] [-q|--quiet] [--ini=] [--logo=] [--cut=] [--output=] [--output-filename=] [--selftest=] []
LIST OF COMSKIP OPTIONS
2023-08-31 06:00:00.041 spawn: Detection methods available:
2023-08-31 06:00:00.041 spawn: 1 - Black Frame
2023-08-31 06:00:00.041 spawn: 2 - Logo
2023-08-31 06:00:00.041 spawn: 4 - Scene Change
2023-08-31 06:00:00.041 spawn: 8 - Resolution Change
2023-08-31 06:00:00.041 spawn: 16 - Closed Captions
2023-08-31 06:00:00.041 spawn: 32 - Aspect Ratio
2023-08-31 06:00:00.041 spawn: 64 - Silence
2023-08-31 06:00:00.041 spawn: 128 - CutScenes
2023-08-31 06:00:00.041 spawn: 255 - USE ALL AVAILABLE
2023-08-31 06:00:00.041 spawn: Errors:
2023-08-31 06:00:00.041 spawn: ComSkip: excess option Goes
2023-08-31 06:00:00.041 spawn: ComSkip: unexpected argument "to"
2023-08-31 06:00:00.041 spawn: ComSkip: unexpected argument "Paris.ts"@
From the commandline and same file, comskip completes fine./usr/bin/comskip --ini=/home/ME/.config/appdata/tvheadend/comskip/comskip.ini /mnt/recordings/Chitty\ Chitty\ Bang\ Bang.ts
ls -all /mnt/recordings/
total 1935404
drwxrwxrwx 2 ME ME 4096 Aug 31 06:29 .
drwxr-xr-x 7 root root 4096 Jul 31 15:03 ..
-rw-r--r-- 1 ME ME 530158 Aug 31 06:29 'Chitty Chitty Bang Bang.log'
-rw-r--r-- 1 ME ME 116127 Aug 31 06:24 'Chitty Chitty Bang Bang.logo.txt'
-rw-rw-r-- 1 hts video 1599848040 Aug 30 18:59 'Chitty Chitty Bang Bang.ts'
-rw-r--r-- 1 ME ME 103 Aug 31 06:29 'Chitty Chitty Bang Bang.txt'
-rw-r--r-- 1 ME ME 96 Aug 31 06:29 'Chitty Chitty Bang Bang.vdr'
This is installed to disk.
Previous version had no problem
Files
History
Updated by Flole Systems about 1 year ago
See if the patch from https://github.com/tvheadend/tvheadend/pull/1564 fixes your issue
Updated by joe blow about 1 year ago
Well I have deleted this build and went back to: 4.3~1975.g23754f9a6-dmo1+deb11u1, debian package.
There seems to be other issues present with this build, namely, withing tvh gui, searching in Filer Channel, for some channel, ie CBS East, returns nothing, search some other channel, Fox News, returns nothing. The install debian package does not suffer this issue.
The issue just described above was also present in the docker builds. Things would be fine after an initial install, however, as time past, more and more channels disappeared.This is not conducive to happy wife, happy life, she has to have her Young and Restless, recording will not work with the above issues.
Feel free to disregard.I'll close after waiting a bit.
Thanks
Updated by joe blow about 1 year ago
Not knowing how to apply a patch, I chose to git clone https://github.com/Staminah/OCR-Translation.git
, he has a patched version.
No errors after compiling.
However, comskip does not run after recording, BUT does not error, either, just nothing.
I have modified the autobuild.sh from the forums to point to his github, as that seems to work better than his.
Pointers?
Thanks
Updated by joe blow about 1 year ago
yea, wrong link,should have been https://github.com/skittlesvampir/tvheadend.git
Thanks.
Updated by joe blow about 1 year ago
- File tvh_comskip_errors.zip tvh_comskip_errors.zip added
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
This is a clean OS install to disk, tvh sources dl'd from https://github.com/skittlesvampir/tvheadend
Autobuils.sh used to create the package.
Ok, it works, kinda.
With comskip enabled in tvh, and set as /usr/bin/comskip --ini="/home/me/media/comskip.ini" "%f"
Record program.
Attached tvh_comskip_errors.zip is the errors.
Comskip runs and adds 'txt' to the recording.
me/nuc:~$ ls -all /mnt/recordings/
total 715464
drwxrwxrwx 2 hts video 4096 Sep 6 13:20 .
drwxr-xr-x 3 root root 4096 Sep 5 21:04 ..
-rw-rw-r-- 1 hts video 732617388 Sep 6 13:17 'The Young and the Restless New-CA _ Los Angeles _ CBS KCBS2023-09-06.ts'
-rw-rw-rw- 1 hts video 103 Sep 6 13:20 'The Young and the Restless New-CA _ Los Angeles _ CBS KCBS2023-09-06.txt'
This seems to skip commercials, but I don't think I recorded long enough to verify, I'll choose a better program next time.
On another computer:PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
Comskip add these files:'The Young and the Restless New-CA _ Los Angeles _ CBS KCBS2023-09-05.log'
'The Young and the Restless New-CA _ Los Angeles _ CBS KCBS2023-09-05.ts'
'The Young and the Restless New-CA _ Los Angeles _ CBS KCBS2023-09-05.txt'
One other thing:HTS Tvheadend 0.0.0-unknown
Not knowing all the ins and outs, pointers?
Thanks
Updated by joe blow about 1 year ago
forgot:ls -all /home/me/media/comskip.ini
-rwxr-xr-x 1 me me 6421 May 6 15:03 /home/jerry/media/comskip.ini
Updated by Flole Systems about 1 year ago
The PR is merged, so it should work on master now aswell.
Updated by joe blow about 1 year ago
- File missed_com.zip missed_com.zip added
Hate to say, recorded Expedition Unknown, fails after the first commercial, I'll attach pics.
Seems the first com, gets skipped, after that all coms are shown and not skipped.
From the other system, when playing in Kodi, these red areas, represent commercials, and that area is skipped, not happening here, with this build.
Thanks
Updated by joe blow about 1 year ago
- File new_comskip_errors.zip new_comskip_errors.zip added
HTS Tvheadend 4.3-2155~gfe4df311d-dirty
Same OS info in #8
After comskip completes:
ls -all /mnt/recordings/
drwxrwxrwx 2 hts video 4096 Sep 7 08:00 .
drwxr-xr-x 3 root root 4096 Sep 5 21:04 ..
-rw-rw-rw- 1 me me 2757525156 Sep 7 09:01 'Rachael Ray-NY _ New York _ ABC WABC2023-09-07.ts'
zip of errors
Updated by joe blow about 1 year ago
git clone git clone https://github.com/tvheadend/tvheadend.git