<br><br><div class="gmail_quote">On Wed, Feb 16, 2011 at 4:58 PM, Christopher Kerr <span dir="ltr"><<a href="mailto:mythtv@theseekerr.com">mythtv@theseekerr.com</a>></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 <<a href="mailto:robbadler@gmail.com">robbadler@gmail.com</a>> wrote:<br>
> On Wed, Feb 16, 2011 at 7:26 AM, Christopher Kerr <<a href="mailto:mythtv@theseekerr.com">mythtv@theseekerr.com</a>><br>
> wrote:<br>
>><br>
>> Hi all,<br>
>><br>
>> Just trying to get a transcoding job working using the Wrapper Script<br>
>> on the wiki, and I seem to be running up against some issues with the<br>
>> Python bindings:<br>
>><br>
>> Traceback (most recent call last):<br>
>> File "./x264_inplace.py", line 96, in <module><br>
>> main()<br>
>> File "./x264_inplace.py", line 88, in main<br>
>> runjob(jobid=args[0])<br>
>> File "./x264_inplace.py", line 24, in runjob<br>
>> sg = findfile(rec.basename, rec.storagegroup, db=db)<br>
>> NameError: global name 'findfile' is not defined<br>
>><br>
>><br>
>><br>
>> The script is marked as 0.24 compatible, so I'd appreciate any help<br>
>> anyone can offer with getting it working!<br>
>><br>
>> Regards,<br>
>> Chris<br>
<div class="im">>> _______________________________________________<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>
><br>
</div>> Chris,<br>
><br>
> I recently added a perl script to the wiki that does x264 transcoding. It<br>
> would be trivial to have this script replace the recording file instead<br>
> adding to the sql<br>
<div class="im">><br>
> <a href="http://www.mythtv.org/wiki/High_Quality_Transcode" target="_blank">http://www.mythtv.org/wiki/High_Quality_Transcode</a><br>
><br>
</div>> If you get your script working, maybe post it to the wiki as well for<br>
> comparison?<br>
<br>
Robert,<br>
<br>
I've been using your script, but I'm not particularly fluent in Perl,<br>
so changing anything more than the exposed parameters is a bit beyond<br>
me. I'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's been<br>
working well, but I'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'll even add comments :)<br><br>-Robert<br>