<br><br><div class="gmail_quote">On Wed, Feb 16, 2011 at 4:58 PM, Christopher Kerr <span dir="ltr">&lt;<a href="mailto:mythtv@theseekerr.com">mythtv@theseekerr.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Feb 17, 2011 at 4:46 AM, Robert Houghton &lt;<a href="mailto:robbadler@gmail.com">robbadler@gmail.com</a>&gt; wrote:<br>
&gt; On Wed, Feb 16, 2011 at 7:26 AM, Christopher Kerr &lt;<a href="mailto:mythtv@theseekerr.com">mythtv@theseekerr.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; Just trying to get a transcoding job working using the Wrapper Script<br>
&gt;&gt; on the wiki, and I seem to be running up against some issues with the<br>
&gt;&gt; Python bindings:<br>
&gt;&gt;<br>
&gt;&gt; Traceback (most recent call last):<br>
&gt;&gt;  File &quot;./x264_inplace.py&quot;, line 96, in &lt;module&gt;<br>
&gt;&gt;    main()<br>
&gt;&gt;  File &quot;./x264_inplace.py&quot;, line 88, in main<br>
&gt;&gt;    runjob(jobid=args[0])<br>
&gt;&gt;  File &quot;./x264_inplace.py&quot;, line 24, in runjob<br>
&gt;&gt;    sg = findfile(rec.basename, rec.storagegroup, db=db)<br>
&gt;&gt; NameError: global name &#39;findfile&#39; is not defined<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; The script is marked as 0.24 compatible, so I&#39;d appreciate any help<br>
&gt;&gt; anyone can offer with getting it working!<br>
&gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Chris<br>
<div class="im">&gt;&gt; _______________________________________________<br>
&gt;&gt; mythtv-users mailing list<br>
&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt; <a href="http://mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;<br>
</div>&gt; Chris,<br>
&gt;<br>
&gt; I recently added a perl script to the wiki that does x264 transcoding. It<br>
&gt; would be trivial to have this script replace the recording file instead<br>
&gt; adding to the sql<br>
<div class="im">&gt;<br>
&gt; <a href="http://www.mythtv.org/wiki/High_Quality_Transcode" target="_blank">http://www.mythtv.org/wiki/High_Quality_Transcode</a><br>
&gt;<br>
</div>&gt; If you get your script working, maybe post it to the wiki as well for<br>
&gt; comparison?<br>
<br>
Robert,<br>
<br>
I&#39;ve been using your script, but I&#39;m not particularly fluent in Perl,<br>
so changing anything more than the exposed parameters is a bit beyond<br>
me. I&#39;ve tweaked it to suit my needs (forced channels to stereo, used<br>
a constant rate factor instead of an average bit rate) and it&#39;s been<br>
working well, but I&#39;m not confident that I understand it well enough<br>
to go changing the bits that directly manipulate the database.<br>
<br>
- Chris<br>
<div><div></div><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>Chris,<br><br>I will put in a flag to do in-place transcode in the near future. Maybe I&#39;ll even add comments :)<br><br>-Robert<br>