Logo not correctly detected?
Logo not correctly detected?
Hi Erik,
I have some problems with comskip reognizing a logo for a show. Any help would be appreciated. Details as requested in this file:
http://home.netvigator.com/~jksmurf/MiscStuff/ER.zip
k.
I have some problems with comskip reognizing a logo for a show. Any help would be appreciated. Details as requested in this file:
http://home.netvigator.com/~jksmurf/MiscStuff/ER.zip
k.
Thanks Erik, I'll try that setting. Sure, what sort of size is a short segment for you? Should it straddle the ads or just the logo?
Oops http://home.netvigator.com/~jksmurf/Mis ... nTrace.jpg should work for the logo... ?
k.
Oops http://home.netvigator.com/~jksmurf/Mis ... nTrace.jpg should work for the logo... ?
k.
OK Erik here it is, Advert_logo_Show 
http://www.maxmurfitt.com/Kristian/Misc ... o_Show.mpg
I also made one which is Show_Logo_Advert i.e.
http://www.maxmurfitt.com/Kristian/Misc ... Advert.mpg (not uploaded yet)
but each one is a 140MB upload so takes a while at 56kbps (just kidding, I have ADSL 6MB/512kb, but still takes awhile) , and I thought I'd only upload if really needed?
btw if anyone is looking for REALLY simple very basic freeware (not updated recently but works fine) to cut a segment for Erik, MPEG2Cut at http://darkav.de.vu is a very basic MPEG cutter fit for that purpose. I couldn't justify demultiplexing the MPEG stream to two Video and Audio Streams just to see the frame numbers in Cuttermaran.
k.
k.

http://www.maxmurfitt.com/Kristian/Misc ... o_Show.mpg
I also made one which is Show_Logo_Advert i.e.
http://www.maxmurfitt.com/Kristian/Misc ... Advert.mpg (not uploaded yet)
but each one is a 140MB upload so takes a while at 56kbps (just kidding, I have ADSL 6MB/512kb, but still takes awhile) , and I thought I'd only upload if really needed?
btw if anyone is looking for REALLY simple very basic freeware (not updated recently but works fine) to cut a segment for Erik, MPEG2Cut at http://darkav.de.vu is a very basic MPEG cutter fit for that purpose. I couldn't justify demultiplexing the MPEG stream to two Video and Audio Streams just to see the frame numbers in Cuttermaran.
k.
k.
I downloaded the mpeg file and logo recorgnition was perfect.
The log file inside er.zip shows that Comskip initially learned the same logo as the logo learned in the example .mpg, but then it learned a second logo because the first logo was asumed not to be the right one.
The second logo was much smaller and only contained the bottom half of the circular logo.
Could you delete the .logo.txt file and rerun comskip in debug mode to see why/when comskip starts to search for the new logo?
Maybe its because there are two different logo's used?
The log file inside er.zip shows that Comskip initially learned the same logo as the logo learned in the example .mpg, but then it learned a second logo because the first logo was asumed not to be the right one.
The second logo was much smaller and only contained the bottom half of the circular logo.
Could you delete the .logo.txt file and rerun comskip in debug mode to see why/when comskip starts to search for the new logo?
Maybe its because there are two different logo's used?
Hmm. I think I remember that was the case for the first ad break, which might be the one I sent you. Then they started getting wierd, as you can see from the comskip .txt file produced. If you need it I could tray and cut out another 3 min segment elsewhere in the show?erik wrote:I downloaded the mpeg file and logo recognition was perfect.
That's odd. Maybe there are some things in the ads themselves which confuse it?erik wrote:The log file inside er.zip shows that Comskip initially learned the same logo as the logo learned in the example .mpg, but then it learned a second logo because the first logo was asumed not to be the right one.
Hmm..?? I checked each of the three ad breaks (not start and end of show though) and the logos seemed quite uniform?? Seeerik wrote:The second logo was much smaller and only contained the bottom half of the circular logo.
http://www.maxmurfitt.com/Kristian/Misc/ERAdbreaks.zip
Sure. http://www.maxmurfitt.com/Kristian/Misc/ER_2.zip. I did the run with "cut_on_ar_change=1" as recommended above. No changeerik wrote:Could you delete the .logo.txt file and rerun comskip in debug mode to see why/when comskip starts to search for the new logo? Maybe its because there are two different logo's used?

How do I go about seeing "why/when comskip starts to search for the new logo"
k.
Initially comskip recognized a logo in a trailer. Then that logo did not come back so comskip tried to learn a new logo. Because the logo was on the edge of the aspect ratio the newly learned logo was too small to be reliable. That is causing the problems.
You can set
logo_threshold=0.50
to enable less perfect logo's.
But I changed comskip to enable logo finding outside current aspect ratio area.
Could you download build 59 and try?
You can set
logo_threshold=0.50
to enable less perfect logo's.
But I changed comskip to enable logo finding outside current aspect ratio area.
Could you download build 59 and try?
YeehaCould you download build 59 and try?

OK, I tried 79_59 twice:
1. Once with the default ini and
2. Once with logo_threshold=0.50 AND cut_on_ar_change=1
While I haven't viewed the end result, the 2nd one seems to have worked a treat, based on the comparison of my manual estimate of the cut points (see below). The first attempt 79_59 with default ini was even worse than the 79_58 version, it was really odd, it missed entire ads. The second results look to be spectacular, so thanks a lot for your help on that.
I ran out of time this am before work, so I am not sure WHICH of the two settings was "the clincher", but if you need more feedback, I can try 79_59 with one of the settings you advised me to change, then the other one, to try to isolate it?
I am not sure what's happening at the start and end (I suspect just a "previously on ER" type of cut, but the 3 sets of ads (that take the most time) seem to have passed with flying colours. I attach the .txt files of both runs above if it heps at all.
FILE PROCESSING COMPLETE 94265 FRAMES AT 2500
------------------- MY Rough ESTIMATES (previously sent)
1 1145 vs. 1 -
3416 4242 - 4241
21057 27065 vs. 20934 27060
42380 48503 vs. 42256 48396
63538 68905 vs. 63446 68871
85564 92431 vs. 85696 -
94264 94265 vs. - 94265
http://home.netvigator.com/~jksmurf/Mis ... _79_59.zip
http://home.netvigator.com/~jksmurf/Mis ... _79_59.zip
Cheers and Thanks!
k.
Cheers Erik,
k.
Well, actually I don't know that for sure, it just worked with both enabled. The Qstn was really "do you want me to find out if I need both" by running it twice more, so other folks have fewer things to tune in future...?erik wrote:The fact that you need both logo_threshold=0.50 AND cut_on_ar_change=1 is OK.
k.
Hi Erik,
I reinstalled WinXP and GBPVR the other day, so thought I'd have a go at the most up-to-date (super-fast Build 91) comskip.
I also thought I'd try the default ini see if there were any changes recently which allowed the above detection WITHOUT these two:
logo_threshold=0.50 AND cut_on_ar_change=1
It seems from my sample of 1 show only, that these are still needed. As a matter of interest only, presumably there has been no intended change?
Cheers
k.
I reinstalled WinXP and GBPVR the other day, so thought I'd have a go at the most up-to-date (super-fast Build 91) comskip.
I also thought I'd try the default ini see if there were any changes recently which allowed the above detection WITHOUT these two:
logo_threshold=0.50 AND cut_on_ar_change=1
It seems from my sample of 1 show only, that these are still needed. As a matter of interest only, presumably there has been no intended change?
Cheers
k.