SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-03-2006, 05:31 PM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Bug with comskip autoskip?

I am having a problem with autoskip at the beginning/ending of shows where sometimes I have very short (1 or 2 sec) commercial breaks. The size of the breaks may be a problem with comskip but autoskip's response is also a problem. Basically, autoskip will go into an endless do loop and just keep repeating the short segment over and over until I forward out of the loop. Even that is hard to do. Is anyone else having a similar problem? I'll try to treak comskip to avoid these small breaks but the STVi shouldn't do this should it?
Reply With Quote
  #2  
Old 05-03-2006, 06:15 PM
DFA DFA is offline
Sage Expert
 
Join Date: Oct 2003
Location: Bakersfield
Posts: 638
Interesting. Not something you would expect to find or even check for. Bad detection caused you to stumble on to it.

As my luck would have it, the wife would tumble into it while I was not around leading to the usual round of bad press (Tivo / STB PVR threats).

DFA
__________________
Wrong information is worse than no information
Reply With Quote
  #3  
Old 05-03-2006, 07:21 PM
hchucky hchucky is offline
Sage Advanced User
 
Join Date: Jun 2004
Posts: 140
I have seen the same issue. Guess I hadn't given it too much thought but now that you mention it I too believe it is comskip related.

HC
Reply With Quote
  #4  
Old 05-03-2006, 08:11 PM
farfromuman farfromuman is offline
Sage Advanced User
 
Join Date: Apr 2004
Location: Knoxville, TN
Posts: 128
Same here, it is a bit annoying especially when using the Placeshifter.
Reply With Quote
  #5  
Old 05-04-2006, 05:26 AM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
same here. Endless loop usually during the first 8-9 seconds of the recording. It is very hard to even FF ahead of the problem. I usually just hit options when it happens and disable commskip until it gets past that part, then reenable it. It does not always happen--but as the OP mentioned-usually when the first segment is really small.
JUC
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv


Client: MVP Extender running SageMC
Reply With Quote
  #6  
Old 05-04-2006, 10:04 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Should Comskip discard any show segement at the start of the recording if its shorter than a couple of seconds? How many?
Or if its shorter then min_show_segment?
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #7  
Old 05-04-2006, 10:36 AM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Quote:
Originally Posted by erik
Should Comskip discard any show segement at the start of the recording if its shorter than a couple of seconds? How many?
Or if its shorter then min_show_segment?
Erik,

What I am going to do since I set my clock ahead 15 seconds is just have Sage start 15 seconds into the show. I think this will fix almost every situation. But I would think that any starting show segment shorter than 10 secs be regarded as commercial. I do not understand why comskip does not discard this anyway being less than the min_show_segment but maybe you could shed some light on that.
Reply With Quote
  #8  
Old 05-04-2006, 11:55 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Actually, no good reason.
I always start recording 5 minutes early(in case the show starts earlier, which does happen here) so I never experienced this problem.
Comskip nearly always detects the previous show and will delete it.

I will ensure in the next build that if the first part of the show is less then min_commercial_break it will get deleted.
min_show_segment will not work because there are reports of shows that start with 30 seconds show, then a commercial break, and then the real show.

Watch my forum for when the next build will happen.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #9  
Old 05-04-2006, 12:19 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
At what value did you set min_commercialbreak?
Could you test and set it at larger than the short part at the start, say 10 seconds?
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #10  
Old 05-04-2006, 12:25 PM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Erik,

Actually, I am glad you brought up the 30 sec show segment issue. Comskip is dead on 95+% of the time. I don't mean close; I mean perfect - Black screen to black screen. Now, how the STVi interprets the frame numbers is a different story. I am using your debug window as the check. But the 30 sec segment is one of 3 issues that I am having that maybe you could give some input on how to tune:

1.) On certain shows I have small segments as you spoke of (usually sitcoms). I can set the min show segment lower but usually getting down to the 30 sec range as a setting has serious blowback in terms of holes in commercial segments incorrectly marked as shows. In there any tuning parameter that might help?

2.) Occastionally, I see network previews coming out of a commercial segment marked as part of the show. I think they are longer that the min commercial length I have set

3.) Sometimes (rarely) I see an entire commercial missed at the beginning of a segment. On closer investigation, these have been situations where the logo remains right up to the commercial with only 1 or 0 true black frames before the commercial

Thanks in advance for you help.
Reply With Quote
  #11  
Old 05-04-2006, 12:39 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Mmmm.. many questions.

To save me some time I would like to ask you to follow this procedure.

Set
output_framearray=1
and
verbose=10
in your comskip.ini
Run Comskip on the recording.
copy the generated .txt file to a file with the same name but with .ref as an extension.
Edit the .ref file such that it contains the start and stop frame numbers of the commercials as you would like them to be found.
Zip the comskip.ini, the .csv, .log and .ref files together and mail me the zip file so I can have a look.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #12  
Old 05-04-2006, 01:11 PM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Quote:
Originally Posted by erik
Mmmm.. many questions.

To save me some time I would like to ask you to follow this procedure.

Set
output_framearray=1
and
verbose=10
in your comskip.ini
Run Comskip on the recording.
copy the generated .txt file to a file with the same name but with .ref as an extension.
Edit the .ref file such that it contains the start and stop frame numbers of the commercials as you would like them to be found.
Zip the comskip.ini, the .csv, .log and .ref files together and mail me the zip file so I can have a look.
This is specifically item #1(short show segments). I will get you the other 2 issues as I find them.
Attached Files
File Type: zip MASH-TheyCalltheWindKorea-570293-0_ref.zip (54.9 KB, 177 views)
File Type: zip MASH-TheyCalltheWindKorea-570293-0.zip (706.8 KB, 169 views)
Reply With Quote
  #13  
Old 05-04-2006, 02:10 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
There is a not yet documented parameter
punish_no_logo=0
If set to 0 as above the absence of logo will not be used against a block.

Why did you go for
global_threshold=0.99
this will score any unknown segment to commercial, this has a high danger of removing short show segments.
All the global heuristics work only when global_threshold is unchanged.

If you choose to do so you MUST have something that scores a block to show to retain it.

With respect to 3) there is a shrink_logo setting that you can use to solve that.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #14  
Old 05-04-2006, 02:20 PM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
The audio decoding fails in your recording. need to understand why.
Could you upload part of the mpeg to my FTP server,
Just the first say 10 or 20 MByte, then abort the upload. Whatever is uploaded will stay at the server
I will PM the details.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #15  
Old 05-04-2006, 06:09 PM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Erik,

I will post a show segment ASAP. I choose the global parameter - 0.99 based on several segments on several shows that were being scored as commercials and should not have but I will set it back to 1.05 for this exercise. BTW for item #3, I already have the shrink logo set to 2.
Reply With Quote
  #16  
Old 05-05-2006, 12:08 AM
erik erik is offline
Sage Aficionado
 
Join Date: May 2005
Posts: 467
Quote:
I choose the global parameter - 0.99 based on several segments on several shows that were being scored as commercials and should not have
0.99 is the wrong direction. if a block scores above the threshold it will be marked as a commercial.
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/
Reply With Quote
  #17  
Old 05-05-2006, 10:23 AM
ldavis ldavis is offline
Sage Aficionado
 
Join Date: Aug 2003
Posts: 388
Quote:
Originally Posted by erik
0.99 is the wrong direction. if a block scores above the threshold it will be marked as a commercial.
Yes, I misstated what I meant. There were commercial segments that were scoring 1.00 so I reduced the global parameter.

I have verified that the sage bug fixes work correctly and I appreciate your help with the plugin problems but I am giving up on Sage comskip until it can accept a time based input. I am going to use Zoomplayer in the meantime. It works perfectly with your output and needs no adjustment. The reason for the change was a program outside the +/-30 sec tolerance and the bug fix made the situation worse.

Hopefully, when more people use comskip with HDTV more people will begin to see these issues. Obviously the two or three of us with this problem are not loud enough to get things changed.
Reply With Quote
  #18  
Old 05-05-2006, 05:52 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Question

Quote:
Originally Posted by JUC
same here. Endless loop usually during the first 8-9 seconds of the recording.
JUC
Has anyone come up with good recommendations for this problem? It happens to me all the time.
Reply With Quote
  #19  
Old 06-05-2006, 09:32 PM
scoful's Avatar
scoful scoful is offline
Sage Aficionado
 
Join Date: Jun 2006
Location: Lawrence, Kansas
Posts: 373
Comskip Loop

I am having this problem also - didn't have it with older version (not sure if it was the older version of Sage or Comskip - updated both). Usually occurs at the end of a program that blocks the remainder of the recording off as commercials. Just keeps looping a few seconds indefinately.
Reply With Quote
  #20  
Old 06-07-2006, 01:24 PM
JUC's Avatar
JUC JUC is offline
Sage Icon
 
Join Date: May 2004
Location: Vermont, USA
Posts: 1,399
Just to keep this going--any workaround yet or new build?
thanks
JUC
__________________
Server: Athlon 2000XP; 1GB Kingston Ram; 250GB Seagate; 160GB Seagate; 160GB Western Digital; Lite-on DVD player; Hauppauge Rosyln; Hauppauge PVR-150; ATI AIW 7500; Actisys 200L; running stock v5 .stv


Client: MVP Extender running SageMC
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:08 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.