Commercial Detection Fail

It doesn’t happen on all shows. Only on some HD channels and I hadn’t noticed it happening on any SD channels.

Can you check the logs from a recent failure again? Look at the Log where it says something like:

2017/02/08 20:31:02 [DVR] Running commercial detection on file 183 (TV/Modern Family/2017-02-08-2000 Modern Family 2017-02-08 S08E12 Do You Believe in Magic.mpg)
2017/02/08 20:31:11 [DVR] Commercial detection failed with exit status 7

Then based on the “file XXX” number, visit this url: http://x.x.x.x:8089/dvr/files/XXX/comskip.log

So for instance for file 183 it would be http://x.x.x.x:8089/dvr/files/183/comskip.log (replace x.x.x.x with the IP of your NAS also).

I am interested in the last few lines of the log copy/pasted exactly.

Here is the latest:

327:
328:
329:
330:
Logo found at frame 5192 logoMinX=557 logoMaxX=611 logoMinY=290 logoMaxY=330
Invalid argument - could not create file /mnt/USB/USB1_c1/Channels DVR/Logs/comskip/593/video.logo.t

And if you check the directory for a recording that worked, is there a video.logo.txt in there or a video.logo.t?

No, I did a search and only found the video.logo.txt file at the top of the directory. No video.logo.t after the logo for the ones that works. I copy/paste the lines after the logo from one that did work.

437:
438:
439:
440:
Logo found at frame 1769 logoMinX=592 logoMaxX=653 logoMinY=390 logoMaxY=440
******************* End of Logo Processing ***************
Frame: 1 Ratio: 1.85 MinY: 42 MaxY: 422 MinX: 1 MaxX: 720

Thanks. For the comskip.log that didn’t work, can you do file > save as and email it to [email protected]

On its way. Thanks.

I made some fixes to comskip earlier this week… has it helped at all, or are you still seeing failures?

I will check in a bit and let you know.

I just checked on a couple shows from Monday that always get the error and they don’t have the commercials marked. My log doesn’t have the error since it was a couple days back.

I am seeing comskip failures on my Shield as well, here is the error message from the DVR log:

2017/06/03 09:31:02 [DVR] Running commercial detection on file 44 (TV/The Pioneer Woman/2017-06-03-0900 The Pioneer Woman 2017-06-03 S16E08 Elevate This.mpg)
2017/06/03 09:32:19 [DVR] Commercial detection failed with exit status 7

And here is the last few lines of output from the comskip log for that file:
652: -
653:
654:
655:
656:
Logo found at frame 8201 logoMinX=1079 logoMaxX=1196 logoMinY=559 logoMaxY=656
No such file or directory - could not create file /storage/600A-3B60/NVIDIA_SHIELD/Lo/44/video.logo.txt

Please try upgrading to the following test version, by running this command in Terminal (replace x.x.x.x with the IP of your DVR):

curl -XPUT http://x.x.x.x:8089/updater/check/2017.06.09.0040

Let me know if it helps with the comskip failures.

cc @DebbieFL @timstephens24 @A.Leon as well for nvidia shield

1 Like

Hey might sound like a rook. How do I run this from windows? Do I run this on a power shell? And is it the same command?

Thank you!

Thanks! Got it installed. Will let you know how it goes.

Yes you can run from powershell, as follows:

Invoke-WebRequest -UseBasicParsing -Method Put http://x.x.x.x:8089/updater/check/2017.06.09.0040

1 Like

It worked on two 30 minute recordings. I’m testing a couple of hour long shows starting at 9pst. Will report back.

Thank you for the update.

1 Like

I recorded 4 things (two 1080i, one 720p, one 480p) and all worked on the Shield. Looks to be fixed!

2 Likes

Worked on 2 half hour 1080i and two one hour 1080i shows. All on the Shield.

1 Like

This fix is now available in v2017.06.09.2116.

@crisbell Let me know if it works for you too.

@tmm1 it’s working for me as well! I re-recorded two shows that previously failed and this time they both had the commercials marked. Thanks!!

1 Like