<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"><base href="x-msg://702/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 12 Mar 2013, at 17:12, Roger Siddons <<a href="mailto:dizygotheca@ntlworld.com">dizygotheca@ntlworld.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-family: 'DejaVu Sans'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">On Tue, 12 Mar 2013 15:36:02 -0000, Russell Gower <<a href="mailto:mythtv@thegowers.me.uk">mythtv@thegowers.me.uk</a>> wrote:<br><br><blockquote style="margin: 0px 0px 0.8ex; border-left-color: rgb(0, 0, 255); border-left-width: 2px; border-left-style: solid; padding-left: 1ex; "><div>Hi, </div><div> 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 :-))</div><div> </div><div>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.</div><div><br></div></blockquote><div>I understand now - I see the same.<br></div><div><br></div><div>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.</div><div><br></div><div>It does work if you feed it an *.au file on stdin (i.e. silence <<span class="Apple-converted-space"> </span><a href="http://test.au">test.au</a>).</div><div><br></div><div>Otherwise you can move #410 (Arg::parse(argc, argv);) to the program start, if you're desperate to see it.<br></div><div><br></div><div>I'll fix it in v3.0.</div><div><br></div><div>Is there any particular reason you're trying to run silence.cpp on its own?</div><div><br></div></div></blockquote><div>Hi,</div><div> I try to treat my Mythtv systems like production boxes, which means they have no development tools or libraries installed, instead I have a build server that builds the RPM's using the Mythtv packaging scripts, and a local yum repository.</div><div><br></div><div>I had to do some "messing" around to setup an environment in which to build the programs from the wiki, this was just my attempt at making sure the compiled programs worked after being manually copied to the production system, before I started messing with the myth-setup.</div><div><br></div><div>So it was just me being over cautions, I'll go ahead with the real testing now.</div><div><br></div><div><br></div><div>Thanks</div><div> Russell</div></div><br></body></html>