Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-09-20 Thread Jaap Struyk
Justin Wetherell schreef:

> It's actually more like 40 minutes to an hour per hour.

mencoder -nosound -ovc raw -vf blackframe my_rec.ts -O /dev/null

It's fast but uses a lot of cpu, wish -vf worked with - dumpstream.
-- 
Groetjes Japie

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-23 Thread Jaap Struyk
Justin Wetherell schreef:

> It's actually more like 40 minutes to an hour per hour.. but I've never
> used it on the fly while recording because all my recordings are done in
> hardware without Mplayer. I don't do anything different, I just run
> mplayer with the vf on a previously recorded mpeg and then use the
> blackframe file to make a edit list which mplayer than uses to skip the
> commercials.

Sorry, I mis-read the info on the wiki (dislectisch?)
The -vf blackframe has almost no influence on cpu usage, the 40 minutes
is yust caused by mplayer digging trough the whole file.

The old mplayer patch would always dump true edl file even with
-dumpstream, the blackframe filter doesn't work when dumping so going
the work afterwards with your script seems the only way nowadays.
I will try to see if mplayer can speed up a bit while digging for bf...
-- 
Groetjes Japie

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-23 Thread Justin Wetherell
It's actually more like 40 minutes to an hour per hour.. but I've never used
it on the fly while recording because all my recordings are done in hardware
without Mplayer. I don't do anything different, I just run mplayer with the
vf on a previously recorded mpeg and then use the blackframe file to make a
edit list which mplayer than uses to skip the commercials.

On 8/23/07, Jaap Struyk <[EMAIL PROTECTED]> wrote:
>
> Justin Wetherell schreef:
>
> > That's actually what my "detection" is based off of. As of
> > Mplayer-1.0rc1, the vf should be available. So, to use commdetect,
> > you'll need that mplayer version.
>
> Why does 1 hour recording takes 1.5 to check for bf?
> The old mplayer patch did it on the fly with just a little extra cpu
> power needed. (no offence ment)
> --
> Groetjes Japie
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-23 Thread Jaap Struyk
Justin Wetherell schreef:

> That's actually what my "detection" is based off of. As of
> Mplayer-1.0rc1, the vf should be available. So, to use commdetect,
> you'll need that mplayer version.

Why does 1 hour recording takes 1.5 to check for bf?
The old mplayer patch did it on the fly with just a little extra cpu
power needed. (no offence ment)
-- 
Groetjes Japie

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread John Molohan
Justin Wetherell wrote:
> That's actually what my "detection" is based off of. As of 
> Mplayer-1.0rc1, the vf should be available. So, to use commdetect, 
> you'll need that mplayer version.
I've updated the wiki with all this info.

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Justin Wetherell
That's actually what my "detection" is based off of. As of Mplayer-1.0rc1,
the vf should be available. So, to use commdetect, you'll need that mplayer
version.

On 8/20/07, Jaap Struyk <[EMAIL PROTECTED]> wrote:
>
> Justin Wetherell schreef:
>
> > I wrote the code and wrote it to be very conservative. I've never
> > noticed a 'cut too much' scenario but I have seen the opposite but it's
> > a rarity. I have noticed that it's 100% accurate on most channels but on
> > some channels it's almost never sees the blackframes; I'm guessing that
> > the frames are dark enough. I do not have enough time to adjust the
> > algorithm or port it to use a different 'program' but it does work good
> > enough for my everyday use.
>
> Justin if your interested, there are some patches laying around for
> Mplayer.
> It's a filter (-vf) option wich has to be run when dumping the recorded
> stream and writes the locations of the black frames in a text (edl) file.
> The text file is read on playback and spaces between 2 black frames are
> skipped.
> If your interested:
> http://www.mit.jyu.fi/mweber/leffakone/software/mplayer
> --
> Groetjes Japie
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Jaap Struyk
Justin Wetherell schreef:

> I wrote the code and wrote it to be very conservative. I've never
> noticed a 'cut too much' scenario but I have seen the opposite but it's
> a rarity. I have noticed that it's 100% accurate on most channels but on
> some channels it's almost never sees the blackframes; I'm guessing that
> the frames are dark enough. I do not have enough time to adjust the
> algorithm or port it to use a different 'program' but it does work good
> enough for my everyday use.

Justin if your interested, there are some patches laying around for Mplayer.
It's a filter (-vf) option wich has to be run when dumping the recorded
stream and writes the locations of the black frames in a text (edl) file.
The text file is read on playback and spaces between 2 black frames are
skipped.
If your interested:
http://www.mit.jyu.fi/mweber/leffakone/software/mplayer
-- 
Groetjes Japie

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Justin Wetherell
I wrote the code and wrote it to be very conservative. I've never noticed a
'cut too much' scenario but I have seen the opposite but it's a rarity. I
have noticed that it's 100% accurate on most channels but on some channels
it's almost never sees the blackframes; I'm guessing that the frames are
dark enough. I do not have enough time to adjust the algorithm or port it to
use a different 'program' but it does work good enough for my everyday use.

On 8/20/07, Evan Hisey <[EMAIL PROTECTED]> wrote:
>
> Dischi, Justin-
>
> > On a different note: maybe we could work on a better commercial
> > detection. The best solutions I can see is noad:
> > http://www.linuxtv.org/vdrwiki/index.php/Noad
> >
> This brings up the question, just how good is the current commercial
> detection? Not getting all the commercials out be bad, but losing
> parts of a show are magnitudes bigger problems.
>
> Evan
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Evan Hisey
Dischi, Justin-

> On a different note: maybe we could work on a better commercial
> detection. The best solutions I can see is noad:
> http://www.linuxtv.org/vdrwiki/index.php/Noad
>
 This brings up the question, just how good is the current commercial
detection? Not getting all the commercials out be bad, but losing
parts of a show are magnitudes bigger problems.

Evan

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Dirk Meyer
"Evan Hisey" wrote:
> Justin-
>Just checked local_conf.py, I am I right that the commdetect server
> can be running on a remote host from the recording server?

On a different note: maybe we could work on a better commercial
detection. The best solutions I can see is noad:
http://www.linuxtv.org/vdrwiki/index.php/Noad

The problem: it only works on VDR files and it is ugly code. One idea
would be to transform it into a gstreamer plugin. By doing this the
plugin can decode everything gstreamer can and it bennefits not only
Freevo.


Dischi

-- 
Quitters never win, and winners never quit, but those who never quit AND
never win are idiots.


pgpkb6wb7AFxi.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Justin Wetherell
Yes, I believe so. These variables exist in the freevo_conf and can be
changed/added to the local_conf:
COMMDETECTSERVER_UID = 0
COMMDETECTSERVER_GID = 0

COMMDETECTSERVER_IP   = 'localhost'
COMMDETECTSERVER_PORT = 6667


On 8/20/07, Evan Hisey <[EMAIL PROTECTED]> wrote:
>
> Justin-
>Just checked local_conf.py, I am I right that the commdetect server
> can be running on a remote host from the recording server?
>
> Evan
>
> On 8/20/07, Justin Wetherell <[EMAIL PROTECTED]> wrote:
> > Yes, all recordings after the point you add the command to the
> local_conf
> > and start the commdetect server should be detected and removed. There is
> no
> > way to send previously recorded content to the commdetect server. On my
> PC
> > (2ghz + halg gig RAM) it takes about an hour to an hour and a half to
> detect
> > and remove commercials from a one hour show. I've never tested the
> > commdetect job and autoshutdown together but I believe they should not
> > interfere because autoshutdown tests to see if mplayer is running; since
> > commdetect uses mplayer to remove the commercials than it shouldn't shut
> > down.
> >
> >
> > On 8/19/07, John Molohan <[EMAIL PROTECTED]> wrote:
> > > Justin Wetherell wrote:
> > > > You should be able to add:
> > > > REMOVE_COMMERCIALS = True
> > > >
> > > > to your local_conf and it will turn on the commercial
> detection/removal.
> > You also have to start the commercial removal server.
> > > And are all recordings from then on sent to be processed? Is there a
> way
> > > to send existing recordings? Does it take long and does the automatic
> > > shutdown interfere? Sorry for the noob questions on this, I've never
> > > used it but will be giving it a try I guess. I'll update the wiki too
> > > (unless someone else wants to help out there?).
> > >
> > > John
> > >
> > >
> >
> -
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a
> browser.
> > > Download your FREE copy of Splunk now >>   http://get.splunk.com/
> > > ___
> > > Freevo-users mailing list
> > > Freevo-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/freevo-users
> > >
> >
> >
> >
> -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > ___
> > Freevo-users mailing list
> > Freevo-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freevo-users
> >
> >
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Evan Hisey
Justin-
   Just checked local_conf.py, I am I right that the commdetect server
can be running on a remote host from the recording server?

Evan

On 8/20/07, Justin Wetherell <[EMAIL PROTECTED]> wrote:
> Yes, all recordings after the point you add the command to the local_conf
> and start the commdetect server should be detected and removed. There is no
> way to send previously recorded content to the commdetect server. On my PC
> (2ghz + halg gig RAM) it takes about an hour to an hour and a half to detect
> and remove commercials from a one hour show. I've never tested the
> commdetect job and autoshutdown together but I believe they should not
> interfere because autoshutdown tests to see if mplayer is running; since
> commdetect uses mplayer to remove the commercials than it shouldn't shut
> down.
>
>
> On 8/19/07, John Molohan <[EMAIL PROTECTED]> wrote:
> > Justin Wetherell wrote:
> > > You should be able to add:
> > > REMOVE_COMMERCIALS = True
> > >
> > > to your local_conf and it will turn on the commercial detection/removal.
> You also have to start the commercial removal server.
> > And are all recordings from then on sent to be processed? Is there a way
> > to send existing recordings? Does it take long and does the automatic
> > shutdown interfere? Sorry for the noob questions on this, I've never
> > used it but will be giving it a try I guess. I'll update the wiki too
> > (unless someone else wants to help out there?).
> >
> > John
> >
> >
> -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>   http://get.splunk.com/
> > ___
> > Freevo-users mailing list
> > Freevo-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freevo-users
> >
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-20 Thread Justin Wetherell
Yes, all recordings after the point you add the command to the local_conf
and start the commdetect server should be detected and removed. There is no
way to send previously recorded content to the commdetect server. On my PC
(2ghz + halg gig RAM) it takes about an hour to an hour and a half to detect
and remove commercials from a one hour show. I've never tested the
commdetect job and autoshutdown together but I believe they should not
interfere because autoshutdown tests to see if mplayer is running; since
commdetect uses mplayer to remove the commercials than it shouldn't shut
down.

On 8/19/07, John Molohan <[EMAIL PROTECTED]> wrote:
>
> Justin Wetherell wrote:
> > You should be able to add:
> > REMOVE_COMMERCIALS = True
> >
> > to your local_conf and it will turn on the commercial detection/removal.
> You also have to start the commercial removal server.
> And are all recordings from then on sent to be processed? Is there a way
> to send existing recordings? Does it take long and does the automatic
> shutdown interfere? Sorry for the noob questions on this, I've never
> used it but will be giving it a try I guess. I'll update the wiki too
> (unless someone else wants to help out there?).
>
> John
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-19 Thread John Molohan
Justin Wetherell wrote:
> You should be able to add:
> REMOVE_COMMERCIALS = True
>
> to your local_conf and it will turn on the commercial detection/removal. You 
> also have to start the commercial removal server.
And are all recordings from then on sent to be processed? Is there a way 
to send existing recordings? Does it take long and does the automatic 
shutdown interfere? Sorry for the noob questions on this, I've never 
used it but will be giving it a try I guess. I'll update the wiki too 
(unless someone else wants to help out there?).

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


Re: [Freevo-users] Commercial skipping/removal in 1.7.3

2007-08-19 Thread Justin Wetherell
You should be able to add:

REMOVE_COMMERCIALS = True

to your local_conf and it will turn on the commercial
detection/removal. You also have to start the commercial removal
server.


On 8/18/07, Evan Hisey <[EMAIL PROTECTED]> wrote:
>
> I see commercial skipping is a feature in 1.7.3, but I can not locate
> any documentation on this plugin. Any one able to point me to the
> docs?
>
> evan
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Freevo-users mailing list
> Freevo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users