[mythtv-users] Auto-transcode to x264 and update MythTV database along the way

Jeremy Jones jeremy.dwain.jones at gmail.com
Fri Dec 9 13:50:07 UTC 2011


On Thu, Dec 8, 2011 at 5:58 PM, Robert Waldner <waldner at waldner.priv.at>wrote:

>
> Aloha,
>
> after looking through Google search results for quite some time, I
>  can't find exactly what I'm looking for. Now, before I write it myself
>  ... maybe someone already did, and I just didn't use the right keywords
>  when searching.
>
> What I'm looking for is a script that:
>  - does the mythcommflag dance
>  - runs HandBrakeCLI to transcode to x264 in a way that won't actually
>   *cut* the commercials, just flag start/end with chapter markers
>  - puts the result in an MKV container
>  - in a prettified directory structure (like Title/Episode)
>  - deletes the original file
>  - updates the MythTV DB so that it points to the MKV file instead of
>   the original
>  - while retaining the original meta-data
>
> Any hints?
>
> There are some "use HandBrake to encode to x264" scripts out there, but
>  none of them does all that I want, and the one that I threw together in
>  a couple minutes also does just about 1/3.
>
> cheers,
> &rw
> --
>
>
What you want is the Transcode Wrapper Stub on the MythTV Wiki.  It will
let you put in your own transcode command and will take care of the
database stuff for you.  As for the pretty names, I run mythlink
to create 'pretty' names linked to the actual file in a separate directory.
 That way the integrity of the naming convention is kept in place.

check this page: http://www.mythtv.org/wiki/Transcode_wrapper_stub

and this one: http://www.mythtv.org/wiki/Mythlink.pl

You can also replace the mythTV transcode command to us this and then set
it to flag commercials afterward.  There are several recent threads out
there where Mike Dean and Raymond Wagner helped me get this working on my
machine.

Post back if you get stuck. I will be happy to elaborate and post my setup
as an example if you decide to go this route.

Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20111209/7a7bb1e6/attachment.html 


More information about the mythtv-users mailing list