[mythtv-users] UK Commercial Detection (Clusters)
Roger Siddons
dizygotheca at ntlworld.com
Tue Mar 12 17:12:32 UTC 2013
On Tue, 12 Mar 2013 15:36:02 -0000, Russell Gower <mythtv at thegowers.me.uk>
wrote:
> Hi, Thanks for the reply, I'm currently running python 2.6 but thats
> not the issue here (not to say it won't be an issue when I resolve this
> one >:-))
>it's the compiled silence.cpp file thats throwing up that error, I'm
> calling it directly form the command line and would expect it to show
> the >usage information.
>
I understand now - I see the same.
It's a good point. For some reason I parse the args after setting up
libsndfile, which expects audio samples on stdin! Pretty silly but
silence.cpp was never intended to be run by a user. I only left the usage
stuff (which is formatted to go to the python) in to catch API
discrepancies between silence.cpp & silence.py.
It does work if you feed it an *.au file on stdin (i.e. silence < test.au).
Otherwise you can move #410 (Arg::parse(argc, argv);) to the program
start, if you're desperate to see it.
I'll fix it in v3.0.
Is there any particular reason you're trying to run silence.cpp on its own?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130312/7e2cb7c9/attachment.html>
More information about the mythtv-users
mailing list