Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

Commercial Flagging

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


acaferacer at gmail

Aug 16, 2011, 10:24 PM

Post #1 of 21 (1243 views)
Permalink
Commercial Flagging

Hi,
I have found the commercial flagging in MythTV does not work that great. Has
anyone done any work on optimising it for NZ?

Thanks
Bruce


nick.rout at gmail

Aug 16, 2011, 10:38 PM

Post #2 of 21 (1228 views)
Permalink
Re: Commercial Flagging [In reply to]

On Wed, Aug 17, 2011 at 5:24 PM, Bruce Wilson <acaferacer [at] gmail> wrote:
> Hi,
> I have found the commercial flagging in MythTV does not work that great. Has
> anyone done any work on optimising it for NZ?

Always worked well for me.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


acaferacer at gmail

Aug 17, 2011, 3:15 AM

Post #3 of 21 (1225 views)
Permalink
Re: Commercial Flagging [In reply to]

maybe I have the wrong settings? I have set it to "all available methods"

On 17 August 2011 17:38, Nick Rout <nick.rout [at] gmail> wrote:

> On Wed, Aug 17, 2011 at 5:24 PM, Bruce Wilson <acaferacer [at] gmail>
> wrote:
> > Hi,
> > I have found the commercial flagging in MythTV does not work that great.
> Has
> > anyone done any work on optimising it for NZ?
>
> Always worked well for me.
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>


markk at kc

Aug 17, 2011, 11:53 AM

Post #4 of 21 (1219 views)
Permalink
Re: Commercial Flagging [In reply to]

On Wed, 2011-08-17 at 22:15 +1200, Bruce Wilson wrote:
> maybe I have the wrong settings? I have set it to "all available
> methods"
>
> On 17 August 2011 17:38, Nick Rout <nick.rout [at] gmail> wrote:
>
> On Wed, Aug 17, 2011 at 5:24 PM, Bruce Wilson
> <acaferacer [at] gmail> wrote:
> > Hi,
> > I have found the commercial flagging in MythTV does not work
> that great. Has
> > anyone done any work on optimising it for NZ?
>
>
> Always worked well for me.
>

I've not used it for the past couple of years as it didn't work well for me
- at least not if the auto skip was turned on during playback as at times I had
non ads skipped and ads that weren't skipped.

Mark



_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


pshem.k at gmail

Aug 17, 2011, 12:57 PM

Post #5 of 21 (1213 views)
Permalink
Re: Commercial Flagging [In reply to]

On 17 August 2011 22:15, Bruce Wilson <acaferacer [at] gmail> wrote:
> maybe I have the wrong settings? I have set it to "all available methods"
>
> On 17 August 2011 17:38, Nick Rout <nick.rout [at] gmail> wrote:
>>
>> On Wed, Aug 17, 2011 at 5:24 PM, Bruce Wilson <acaferacer [at] gmail>
>> wrote:
>> > Hi,
>> > I have found the commercial flagging in MythTV does not work that great.
>> > Has
>> > anyone done any work on optimising it for NZ?
>>
>> Always worked well for me.

Works well for me on non-HD channels (Prime or C4) over DVB-T - on the
other ones - it's hit and miss, sometimes it gets the ads, sometimes
it doesn't. When it gets it - only half of the time the borders are
right. I also use 'all available methods'.

kind regards
Pshem

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hoiho.nz at gmail

Aug 17, 2011, 1:57 PM

Post #6 of 21 (1215 views)
Permalink
Re: Commercial Flagging [In reply to]

On Wed, 17 Aug 2011 22:15, Bruce Wilson wrote:
> maybe I have the wrong settings? I have set it to "all available methods"
>
> On 17 August 2011 17:38, Nick Rout <nick.rout [at] gmail> wrote:
> > On Wed, Aug 17, 2011 at 5:24 PM, Bruce Wilson <acaferacer [at] gmail>
> >
> > wrote:
> > > Hi,
> > > I have found the commercial flagging in MythTV does not work that
> > > great.
> >
> > Has
> >
> > > anyone done any work on optimising it for NZ?
> >
> > Always worked well for me.
> >

In common with others I have noticed very patch performance ( I only receive
DVB-T programmes and cannot say whether my comments will also relate to DVB-S
recordings or capture from the back of a SKy Box) Anywas I have been doing a
little bit of digging (code reading) to work out how the magic is done and
try to understand what could be done to make things better.

There are three main methods provided:
black frame detection
scene change, and
logo detection

My comments:
I dont think any network in NZ consistently uses black frames before and
after every commercial break.

Scene change does not seem to be a real starter

Logo detection seems to be the technology most likely to work in NZ
However as it works by edge-detection of the network logo it seems highly
dependent upon the intensity (and size ?) of the logo, so stations like
Prime and C4 with large and less transparent logos seem to have their ad
breaks more successfully detected than say One or Three.

There also seems to be a problem that if the first x mins of a recording are
only ads (because of pre-roll etc) then the detector decides there are no
logos and gives up.

Can we make the detector smarter to suit NZ? I am not sure ... I have thought
of a few things but they are only tinkering around the edge and may introduce
more problems.

For now though because most ad breaks are some multiple of 30 secs I have a 30
sec forward skip and a 10 sec backward skip on my remote so a few presses of
the button and were are back in business again!

Regards

Tony

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


olivuts at yahoo

Aug 17, 2011, 4:42 PM

Post #7 of 21 (1210 views)
Permalink
Re: Commercial Flagging [In reply to]

----- Original Message -----
> From: Tony Sauri <hoiho.nz [at] gmail>
> To: MythTV in NZ <mythtvnz [at] lists>
> Cc:
> Sent: Thursday, 18 August 2011 8:57 AM
> Subject: Re: [mythtvnz] Commercial Flagging
>
> On Wed, 17 Aug 2011 22:15, Bruce Wilson wrote:
>> maybe I have the wrong settings? I have set it to "all available
> methods"
>>
>> On 17 August 2011 17:38, Nick Rout <nick.rout [at] gmail> wrote:
>> > On Wed, Aug 17, 2011 at 5:24 PM, Bruce Wilson
> <acaferacer [at] gmail>
>> >
>> > wrote:
>> > > Hi,
>> > > I have found the commercial flagging in MythTV does not work that
>> > > great.
>> >
>> > Has
>> >
>> > > anyone done any work on optimising it for NZ?
>> >
>> > Always worked well for me.
>> >
>
> In common with others I have noticed very patch performance  ( I only receive
> DVB-T programmes and cannot say whether my comments will also relate to DVB-S
> recordings or capture from the back of a SKy Box)  Anywas I have been doing a
> little bit of digging (code reading) to work out how the magic is done  and
> try to understand what could be done to make things better.
>
> There are three main methods provided:
>     black frame detection
>     scene change, and
>     logo detection
>
> My comments:
>     I dont think any network in NZ consistently uses black frames before and
>     after every commercial break.
>
>     Scene change does not seem to be a real starter
>
>     Logo detection seems to be the technology most likely to work in NZ
>     However as it works by edge-detection of the network logo it seems highly
>     dependent upon the intensity (and size ?) of the logo, so stations like
>     Prime and C4 with large and less transparent logos seem to have their ad
>     breaks more successfully detected than say One or Three.
>
>     There also seems to be a problem that if the first x mins of a recording are
>     only ads (because of pre-roll etc) then the detector decides there are no
>     logos and gives up.
>
> Can we make the detector smarter to suit NZ?  I am not sure ... I have thought
> of a few things but they are only tinkering around the edge and may introduce
> more problems.
>
> For now though because most ad breaks are some multiple of 30 secs I have a 30
> sec forward skip  and a 10 sec backward skip on my remote so a few presses of
> the button and were are back in business again!
>
> Regards
>
> Tony
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

I have heard from others that HD channels are more problematic for commercial flagging. It may be to do with the Logo detection as Tony has suggested or somethign to do with the amoutn of data that has to be processed.
I have always used only DVB-T reception for recording, a couple of years back commercial flagging worked very well on all channels perhaps about 90% reliability for me. Now I wonder if it was actually because back then only TVone was 1080 and all other channles were 720 or less and because I record very little from TVone I was seeing great results that were skewed toward channels transmitting in 720 or less.

With more channels on 1080, I find that commercial flagging is so unreliable that I no longer commercial flag any of my recordings and instead just use the 30 second skip forward button.


>

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Aug 17, 2011, 4:47 PM

Post #8 of 21 (1205 views)
Permalink
Re: Commercial Flagging [In reply to]

On Wed, 2011-08-17 at 16:42 -0700, Steve V wrote:
> With more channels on 1080, I find that commercial flagging is so
> unreliable that I no longer commercial flag any of my recordings and
> instead just use the 30 second skip forward button.

We use the "notify" option, to get OSD popups when a commercial is
detected. It works averagely well, I'd say probably about 50% of the
time. Still using DVB-S currently here.

When commercials aren't detected I find hitting "4, right, left" is the
best way to skip them. In Prime time at least most breaks on 1 2 and 3
are around 4 minutes long.

hads
--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Aug 17, 2011, 5:07 PM

Post #9 of 21 (1215 views)
Permalink
Re: Commercial Flagging [In reply to]

I tried commflagging a couple of times but wasn't happy with results.
For me it's useless if it isn't 100% reliable. From what I've seen there
is considerable variation in the way the broadcasters transition to/from
ads so I don't think commflagging will ever be 100%. It even seems that
individual channels vary from time to time let alone considering the
differences between channels. Hmm. Since it's not in the interest of the
free-to-air broadcasters for us to easily skip ads maybe they actively
work at defeating automatic commflagging?

David

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


tortise at paradise

Aug 17, 2011, 6:01 PM

Post #10 of 21 (1212 views)
Permalink
Re: Commercial Flagging [In reply to]

On 18/08/2011 12:07 p.m., David Moore wrote:
> I tried commflagging a couple of times but wasn't happy with results.
> For me it's useless if it isn't 100% reliable. From what I've seen there
> is considerable variation in the way the broadcasters transition to/from
> ads so I don't think commflagging will ever be 100%. It even seems that
> individual channels vary from time to time let alone considering the
> differences between channels. Hmm. Since it's not in the interest of the
> free-to-air broadcasters for us to easily skip ads maybe they actively
> work at defeating automatic commflagging?
>
> David
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz [at] lists
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>

I think it might be more related to the developers not having access to
the equivalent of our 1080i transmissions to test on, I expect that if
they did then they would tend to it. (Samples could be forwarded
however I am not sure if anyone is interested and the size of the files
is not that helpful either.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


ross at inertia

Aug 17, 2011, 6:34 PM

Post #11 of 21 (1205 views)
Permalink
Re: Commercial Flagging [In reply to]

Commercial flagging always used to work about 95% of the time for me
until a few years ago when it started going downhill. It's now at the
point where I can't make it work most of the time so it is more of a
hindrance than a help. When I last used it, I'd more often than not end
up with the situation where it would skip the wanted programme more than
the commercials!

There was a discussion on this list a few years ago and "logo
detection" was determined to be the best option for detection method. I
ran this for a while (and it seemed to work on a number of channels) but
now it is next to useless in my experience.

It always struck me that adding audio detection methods would make this
process far more reliable. I haven't investigated, but I would imagine
that the commflag process would make this impossible to add in as-is
without significant re-work. Maybe also some heuristics wouldn't go
amiss (eg for detecting missed breaks and not skipping the actual
programme based on time of breaks etc) but this is probably significant
challenge given the wild variations between networks.

I've reverted to just skipping and not bothering with commflag.

Ross

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


acaferacer at gmail

Aug 17, 2011, 6:55 PM

Post #12 of 21 (1205 views)
Permalink
Re: Commercial Flagging [In reply to]

Hi,
Thanks for all the observations about commflag. I had set it to notify, just
to see how well it worked, without it doing any harm. I agree that logo
detection looks like a good method for NZ. I might have a look at the code
if I find the time.

Cheers
Bruce


james at booths

Aug 17, 2011, 7:34 PM

Post #13 of 21 (1205 views)
Permalink
Re: Commercial Flagging [In reply to]

I agree, it used to work really well for me until the move to HDTV, at which
point it pretty well broke down completely.

-----Original Message-----
From: mythtvnz-bounces [at] lists
[mailto:mythtvnz-bounces [at] lists] On Behalf Of Ross Williamson
Sent: Thursday, 18 August 2011 1:35 p.m.
To: MythTV in NZ
Subject: Re: [mythtvnz] Commercial Flagging

Commercial flagging always used to work about 95% of the time for me until a
few years ago when it started going downhill. It's now at the point where I
can't make it work most of the time so it is more of a hindrance than a
help. When I last used it, I'd more often than not end up with the situation
where it would skip the wanted programme more than the commercials!

There was a discussion on this list a few years ago and "logo detection" was
determined to be the best option for detection method. I ran this for a
while (and it seemed to work on a number of channels) but now it is next to
useless in my experience.

It always struck me that adding audio detection methods would make this
process far more reliable. I haven't investigated, but I would imagine that
the commflag process would make this impossible to add in as-is without
significant re-work. Maybe also some heuristics wouldn't go amiss (eg for
detecting missed breaks and not skipping the actual programme based on time
of breaks etc) but this is probably significant challenge given the wild
variations between networks.

I've reverted to just skipping and not bothering with commflag.

Ross

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Aug 17, 2011, 8:25 PM

Post #14 of 21 (1199 views)
Permalink
Re: Commercial Flagging [In reply to]

On Thu, Aug 18, 2011 at 1:55 PM, Bruce Wilson <acaferacer [at] gmail> wrote:
> Hi,
> Thanks for all the observations about commflag. I had set it to notify, just
> to see how well it worked, without it doing any harm. I agree that logo
> detection looks like a good method for NZ. I might have a look at the code
> if I find the time.


it never does any "harm" anyway as it doesn't actually cut anything,
just puts markers in the database. The original stream is intact.

There has been talk on the mythtvusers list in the last 6 months (?)
about improved messages for UK transmissions which seem to have
similar problems, I think audio was part of the detection method. Try
searching the archives at Gossamer Threads (same site as our archives,
see your footer).

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Aug 17, 2011, 9:02 PM

Post #15 of 21 (1200 views)
Permalink
Re: Commercial Flagging [In reply to]

On 18/08/11 15:25, Nick Rout wrote:
> it never does any "harm" anyway as it doesn't actually cut anything,
> just puts markers in the database. The original stream is intact.
>
It will do harm if you blindly use the cutlist to edit the file. :)
That's what I was originally hoping to do but alas have resorted to
manual editing.

> There has been talk on the mythtvusers list in the last 6 months (?)
> about improved messages for UK transmissions which seem to have
> similar problems, I think audio was part of the detection method. Try
> searching the archives at Gossamer Threads (same site as our archives,
> see your footer).
>
Here's a link to a silence detection hack:
http://140.211.167.131/wiki/Mythcommflag-wrapper

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


ross at inertia

Aug 17, 2011, 9:03 PM

Post #16 of 21 (1204 views)
Permalink
Re: Commercial Flagging [In reply to]

> There has been talk on the mythtvusers list in the last 6 months (?)
> about improved messages for UK transmissions which seem to have
> similar problems, I think audio was part of the detection method.

Thanks Nick. I have located the method in question, located here:
http://www.mythtv.org/wiki/Silence-detect.sh

It's a hack (obviously) that checks for 120ms of silence anywhere in
the audio stream. The hack could be used for other methods of audio
detection though. I wonder if some software could be used to detect
periods of highly compressed audio (in the sound sense, not in the data
sense) and work in a similar way.

Ross

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


duncan.kennington at gmail

Aug 17, 2011, 9:18 PM

Post #17 of 21 (1203 views)
Permalink
Re: Commercial Flagging [In reply to]

On 18 August 2011 16:03, Ross Williamson <ross [at] inertia> wrote:

> > There has been talk on the mythtvusers list in the last 6 months (?)
> > about improved messages for UK transmissions which seem to have
> > similar problems, I think audio was part of the detection method.
>
> Thanks Nick. I have located the method in question, located here:
> http://www.mythtv.org/wiki/Silence-detect.sh
>
> It's a hack (obviously) that checks for 120ms of silence anywhere in
> the audio stream. The hack could be used for other methods of audio
> detection though. I wonder if some software could be used to detect
> periods of highly compressed audio (in the sound sense, not in the data
> sense) and work in a similar way.
>
>
Interesting discussion...! I used to use the notify only but have gone back
to automatic skipping as it seems to be (HD streams included) quite
reliable. The important setting change I think for us was to set the
maximum commercial skip duration to 300 seconds (5 minutes) which catches
all the regular 4 minute breaks but doesn't allow it to miss the end of a
break and skip to the beginning of the next one.

Having said that, it does consume an enormous amount of horsepower to
realtime flag HD - I have a 2U server with dual 3ghz Xeons crunching up to
two streams at once and it gets the load average into the 7s. AFAIK I am
just using the default settings (but have been upgrading this database since
0.16 so who knows), the only change I have consciously made is that
described above.

Most of our programmes come off 1, 2, 3, FOUR or Prime; these seem
reasonably good. The stuff we get off UKTV or Discovery from Sky not so
much, but I have not had a chance to tune the PVR150 settings to get the
quality up to a point that it's comparable to an SD feed off Freeview. I
think it would improve with better picture quality.

Duncan


hads at nice

Aug 17, 2011, 9:25 PM

Post #18 of 21 (1201 views)
Permalink
Re: Commercial Flagging [In reply to]

On Thu, 2011-08-18 at 16:18 +1200, Duncan Kennington wrote:
> The important setting change I think for us was to set the maximum
> commercial skip duration to 300 seconds (5 minutes) which catches all
> the regular 4 minute breaks but doesn't allow it to miss the end of a
> break and skip to the beginning of the next one.

Ah yes, I had forgotten about that - I have that important setting too.

hads
--
http://nicegear.co.nz
New Zealand supplier of VoIP & Hobby Electronics


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Aug 17, 2011, 9:38 PM

Post #19 of 21 (1203 views)
Permalink
Re: Commercial Flagging [In reply to]

On 18/08/11 16:03, Ross Williamson wrote:
> I wonder if some software could be used to detect
> periods of highly compressed audio (in the sound sense, not in the data
> sense) and work in a similar way.
>
SoX (http://sox.sourceforge.net/) might do it. Seems to do companding
and stats so... Never used it myself.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Aug 17, 2011, 11:12 PM

Post #20 of 21 (1196 views)
Permalink
Re: Commercial Flagging [In reply to]

I couldn't resist having a go at SoX (which is in Ubuntu repositories).
It's relatively easy to get stats out of an audio file with:

sox <infile> -n trim <start time> <duration> stat

or

sox <infile> -n trim <start time> <duration> stat

The "-n" just means no output. To analyse a file in small time
increments you need to feed sox the start time and duration via the trim
option.

Pipe to file or prog then analyse "Crest factor" and maybe max/min
values to try and find compressed audio. Easy. :)

Found this interesting page also:

http://www.axino-tech.co.nz/documents/Ads%20on%20TV%20are%20louder.html

David

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


dmoo1790 at ihug

Aug 25, 2011, 1:49 AM

Post #21 of 21 (1058 views)
Permalink
Re: Commercial Flagging [In reply to]

On 18/08/11 16:25, Hadley Rich wrote:
> On Thu, 2011-08-18 at 16:18 +1200, Duncan Kennington wrote:
>> The important setting change I think for us was to set the maximum
>> commercial skip duration to 300 seconds (5 minutes) which catches all
>> the regular 4 minute breaks but doesn't allow it to miss the end of a
>> break and skip to the beginning of the next one.
>
I changed my setting from 3600(!? default?) to 300 and it helped
slightly but still not real good results. I've tried a few things
(methods: logo, blank, blankscene, all) on a few channels and get 50% or
less detection of ads.

I have noticed that almost all ads on almost all channels do have fully
or nearly black/blank frames before and after. I have run mencoder on a
couple of recordings so far with the blackframes filter and it does a
very good job at finding these black frames. But it's really slow and of
course I need additional code to select appropriate blanks (not too hard
I think) and push data into the recordedmarkup table (again not hard).

So questions:

1) Is anyone having better results with blank frame method for
mythcommflag? I'm using myth 0.23-fixes (24158) and I wonder if the
mythcommflag blank detection code has improved?

2) It seems to me that detecting blank frames should be very fast. Blank
or near-blank frames should compress to almost nothing so you should be
able to scan a video stream for frames with small sizes (in bytes) and
only decode those instead of decoding the whole stream as mencoder (and
mythcommflag?) seems to do. Of course I'm glossing over the whole IPB
frame thing but I still think it should be possible to make a super-fast
blank frame scanner. Anyone seen anything like this?

BTW I played around with audio analysis for a few recordings but it
doesn't look like there is an easy way to use amplitude stats to
reliably find ads. There are a truck-load of Linux audio tools out there
so it's possible there is something which might work but too hard to find.

David

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.