I'm running TVH 4.3 backend on a Ugoox X3 Cube running CoreELEC 19.5. Comskip Ver 0.82.009 is packaged with the CoreELEC TVH server add-on. My tuner is a SiliconDust HDHomerun Quatro running the latest firmware.
Comskip randomly will not detect commercials on shows. On one show it will work perfectly. On the next episode of the same series no commercials will be detected. Or the next show on the same channel will have no commercials detected. I don’t think I’ve had a series or station that never had the problem, nor a series or station that always has the problem.
The media sources are US OTA ATSC broadcasts from ABC, NBC, CBS, etc. The problem happens on all networks. And the streams play fine when I watch them.
.edl and .txt files are being created but they have no frames listed when the commercials aren’t being skipped.
I get the following error multiple times in the Comskip log file when the commercials aren’t detected:
Panic: Audio buffer overflow, resetting audio buffer
I posted the problem on the Comskip forum and was told:
“The reason for the “panic” message is an incompatible audio coding in the transmission format chosen by the broadcaster
This can not be solved with ini file settings.”
Someone on the CoreELEC forum requested I post a recording that Comskip has problems with:
https://drive.google.com/drive/folders/1H8IKLCbucndr_QBoGsXorCq8CCWBUX3l?usp=share_link
He stated:
"I don’t think the issue is random there is something about the file that is causing an issue with arm32 comskip. I tried the the current version and it fails the same way. If you remux it with ffmpeg -i filename.ts -codec copy newfile.ts the second audio channel is removed."
and:
"I believe the issue with your file has PMT data for all streams on the mux not just the one you are recording. Maybe you can configure TVHeadend to rewrite the file?
Srv Id Service Name Access Bitrate |
| 0x0001 KCRA-TV ...................................... C 5,255,053 b/s |
| 0x0002 Me-TV ........................................ C Unknown |
| 0x0003 KCRA-3 ....................................... C Unknown |
| 0x0004 KQCA ......................................... C Unknown |
| 0x0005 H and I ...................................... C Unknown |
| 0x0006 KCRA-4 ....................................... C Unknown |
Cleaning out the bad PMT values generates good comskip files"
Is there a way to do as he suggested in Tvheadend so that the file only has the PMT data for the show being recorded? Or any other suggestions on what the problem might be?
Thanks