[mythtv] Logo Detection Segfault/structure

Dale Osowski osowski at radiolink.net
Thu Mar 11 23:30:31 EST 2004

Hash: SHA1

On Wed, 10 Mar 2004, Chris Pinkham wrote:

> No backtrace needed.  Thanks for tracking this down.  I have been a bit
> busy lately and hadn't been able to spend a lot of time on Myth.  I just
> committed a fix to CVS, can you update and see if that fixes the problems
> you were seeing.  I added some checks into the code

Cool.  I'm compiling right now.  I took a look at your changes, and it
looks like it should do the trick.  I originally did a quick fix for
myself so stuff would run correctly while I tracked this down, but it
looks like you're doing some better checks.  Thanks for the quick

> I have some other ideas on how the detection is setup at record time for
> software encoding but am going to think about them a little before changing
> anything else.  Right now the scene change detection code is run during
> recording time as well but the information isn't used.  I'm debating whether
> to disable that or change some things around to make use of that info.
> I don't want to start putting too much detection in the main recording loop
> because that could impact cpu usage during recording negatively.

I had a small thought on this today, and was thinking that perhaps you
could have scene change detection only kick in once the logo disappears.
Obviously there is not consistency between different channels on how/when
they display their logos, I frequently see that the logo on at least one
or two shows disappears a few seconds before the commercial break actually
starts.  So, perhaps the logo could be used as a trigger to initiate the
scene detection.  That way, you're not running both detection methods
unnecessarily at the same time, but still using the information from both.
I'll pay a little more attention to the logos, but I think it is similar
on the other side of commercials, where the show comes back on, and then
the logo reappears a few seconds later.

- --
Dale Osowski
osowski at radiolink.net

Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6


More information about the mythtv-dev mailing list