[mythtv-users] Trying to get UK silence detect Commflagging to work

Chris Lewis chrislewis915 at gmail.com
Wed Mar 6 10:53:27 UTC 2013


Ah I tried that but didn't use Sudo make.

I'm guessing that required to put the binaries in /usr/local/bin.

Will try again tonight

Chris

Get free online storage http://db.tt/rUaqYGYA
On 6 Mar 2013 01:20, "Roger Siddons" <dizygotheca at ntlworld.com> wrote:

> **
> On Tue, 05 Mar 2013 21:59:26 -0000, Chris Lewis <chrislewis915 at gmail.com>
> wrote:
>
> Im trying to get the advert detection from this page working
>
>
> http://www.mythtv.org/wiki/Commercial_detection_with_silence_for_UK_freeviewHD
>
> I have copied the text from silence.cpp, catagrower.cpp and silence.py to
> files on my machine.
>
> Do i now need to compile the two CPP files individually?  What is the make
> file for on that page?  I'm struggling as the wiki does not have full
> details on what to do to get it working.
>
> I know there has been a long thread on here that is still active but to be
> honest its just got me confused.
>
> Hoping someone can help!
>
> Chris
>
>
> The Makefile will build the files for you - 'make' is a well-known process
> for compiling/building systems.
>
> You don't disclose what distribution you are using but, for a recent
> Ubuntu, try the following from a command line/terminal;
>
> 1. Ensure you have a compilation environment installed, ie. "gcc -v" &
> "make -v" both return some version info. I believe "sudo app-get install
> build-essential" should set this up for you if these commands are
> unrecognised.
>
> 2. Ensure you have python installed, ie. "python -v" returns something.
> "sudo apt-get install python" should set this up if you don't.
>
> 3. Also copy the Makefile to the same directory as the other files.
>
> 4. cd to the directory containing your files. "sudo make" should now
> compile the 2 cpp files & install executables "silence" & "catagrower" into
> /usr/local/bin.
>
> 5. Move silence.py to /usr/local/bin
>
> 6. Test it using "silence.py --chanid 1004 --starttime 20130117220000
> --loglevel debug", as per the wiki. Use a relevant chanid/starttime and it
> should actually do something. To get Myth to use it automatically the
> 'Advert-Detection command' is on one of the last pages of
> mythtv-setup/General
>
> Obviously this is all dependent on your system, user, permissions etc. If
> you still have problems post back with your distribution info, the versions
> of gcc & python you are using and the errors you're getting.
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130306/5a31f279/attachment.html>


More information about the mythtv-users mailing list