I have tried viewing the AVI file from Freevo, and there are still commercials in the recordings. I suppose this makes sense, though, since apparantely no commercials are being detected.
I noticed that mencoder takes a parameter for 'blackness' in the black frames filter which defaults to I believe 98%. Might it be worth trying to specify a slightly lower value? I'm hesitant to do this because it looks like I would have to do it in the code directly, which tells me other people haven't had to make this adjustment, which in turn tells me I must be missing something! Thoughts? On Sat, Mar 14, 2009 at 4:43 AM, Evan Hisey <ehi...@gmail.com> wrote: > On Fri, Mar 13, 2009 at 12:40 PM, Bill Bierman <b...@thebiermans.org> wrote: >> Greetings. I am running Freevo 1.8.3 on Ubuntu. It is a stock >> installation with the exception of changing the order of signals sent >> to kill the webserver as mentioned by Duncan Webb in a previous post >> to this list. >> >> I am running the commdetect server with a debug logging level, and am >> able to see that the command it executes to apply the blackframe >> filter to a recorded AVI file is correct, as seen here: >> >> 2009-03-13 00:59:50,209 DEBUG commdetectcore.py (168): >> command="/usr/bin/mencoder -ovc lavc -nosound -vf blackframe >> /home/tv/video/recording/03-13_00_00_Henry_Cho:_What_s_That_Clickin_Noise.avi >> -o /dev/null | grep vf_blackframe > /tmp/blackframes.txt" >> >> When I execute this command manually, it does create what (as far as I >> can tell -- kind of a rookie here) seems like a valid file. I have >> attached a gzipped version of this txt file for people who feel so >> inclined to be sure the output is sane. >> >> I should mention that I get quite a few lines of output saying "1 >> duplicate frame(s)!" ... approximately 100 or so for this 60 minute >> recording. Not sure if that matters. >> >> The logfile does not contain much more useful and verbose output. >> Simply the following: >> >> 2009-03-13 01:03:29,830 DEBUG commdetectcore.py (195): Grabbing >> Blackframes from file >> 2009-03-13 01:03:29,896 DEBUG commdetectcore.py (197): Finding Commercials >> 2009-03-13 01:03:29,897 DEBUG commdetectcore.py (199): Writing edl file >> 2009-03-13 01:03:29,897 DEBUG commdetectcore.py (252): runQueue >> callback data : >> 2009-03-13 01:03:29,898 DEBUG commdetectcore.py (256): PID 12366 >> 2009-03-13 01:03:29,898 INFO commdetectcore.py (250): queue empty, >> stopping processing... >> >> An EDL file is created, in this case >> "03-13_00_00_Henry_Cho:_What_s_That_Clickin_Noise.edl". The contents >> of this file are a single line: >> >> 3544 2603 0 >> >> Now, when I go back and play the .AVI file, as far as I can tell, not >> a single commercial has been removed, in whole or in part. >> >> Can anyone tell me what I am doing wrong? I can provide whatever >> additional information might be necessary. >> >> Incidentally, I haven't gotten my recordings to have sound yet. Could >> this have something to do with it? I'm trying to focus on both >> problems simultaneously, but am not at a throw-my-hands-up stage on >> the sound issue as yet. >> >> Many thanks in advance for whatever assistance is provided. >> > The commercial detection is working just not getting many it looks > like. I have also noticed that depending on the brightness of the > show, it goes from being good, to really getting strange detections. > Battlestar Galatica.,a very dark show, for example, is awful about > getting large chunks of the show detected as a commercial. On the > other hand, sitcom type shows, which are very bright, tend do to > pretty good with it. How are you trying to view the avi? You will need > to be using mplayer in freevo to use the edl file. > > Evan > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users