<p dir="ltr"><br>
On Nov 17, 2015 5:40 PM, "Karl Newman" <<a href="mailto:newmank1@asme.org">newmank1@asme.org</a>> wrote:<br>
><br>
> On Tue, Nov 17, 2015 at 12:35 PM, Phil Bridges <<a href="mailto:gravityhammer@gmail.com">gravityhammer@gmail.com</a>> wrote:<br>
>><br>
>> On Tue, Nov 17, 2015 at 3:31 PM, John P Poet <<a href="mailto:jppoet@gmail.com">jppoet@gmail.com</a>> wrote:<br>
>>><br>
>>> On Tue, Nov 17, 2015 at 12:41 PM MythTV <<a href="mailto:noreply@mythtv.org">noreply@mythtv.org</a>> wrote:<br>
>>>><br>
>>>> #12546: Captions not recognized in MP4 recordings<br>
>>>> ----------------------------------+-----------------------------<br>
>>>>  Reporter:  gravityhammer@…       |          Owner:<br>
>>>>      Type:  Bug Report - General  |         Status:  new<br>
>>>>  Priority:  minor                 |      Milestone:  unknown<br>
>>>> Component:  MythTV - General      |        Version:  Unspecified<br>
>>>>  Severity:  medium                |     Resolution:<br>
>>>>  Keywords:  MP4 captions          |  Ticket locked:  0<br>
>>>> ----------------------------------+-----------------------------<br>
>>>><br>
>>>> Comment (by Phil Bridges <gravityhammer@…>):<br>
>>>><br>
>>>>  OK - stupid question.  How do I apply this patch?<br>
>>>><br>
>>>>  I put the file in /usr/bin<br>
>>>>  ran  patch -p0 < h264-captions2.patch<br>
>>>><br>
>>>>  I get:<br>
>>>>  can't find file to patch at input line 11<br>
>>>>  Perhaps you used the wrong -p or --strip option?<br>
>>>>  The text leading up to this was:<br>
>>>>  --------------------------<br>
>>>>  |commit 4dd789efdce70c969b283642f1a484fd585e183b<br>
>>>>  |Author: rkrishna1 <<a href="mailto:sun.radha@gmail.com">sun.radha@gmail.com</a>><br>
>>>>  |Date:   Wed Nov 6 21:04:26 2013 +0530<br>
>>>>  |<br>
>>>>  |    Add H264 Caption extraction<br>
>>>>  |<br>
>>>>  |diff --git a/mythtv/external/FFmpeg/libavcodec/h264.c<br>
>>>>  b/mythtv/external/FFmpeg/libavcodec/h264.c<br>
>>>>  |index 8c0544a..f464364 100644<br>
>>>>  |--- a/mythtv/external/FFmpeg/libavcodec/h264.c<br>
>>>>  |+++ b/mythtv/external/FFmpeg/libavcodec/h264.c<br>
>>>>  --------------------------<br>
>>>>  File to patch:<br>
>>><br>
>>><br>
>>> That patch applies to the source code. You would need to build MythTV from source, with that patch applied, and then run it.<br>
>>><br>
>>> You can grab the source like:<br>
>>><br>
>>> $ mkdir ~/src && cd ~/src<br>
>>> $ git clone -b fixes/0.27 git://<a href="http://github.com/MythTV/mythtv.git">github.com/MythTV/mythtv.git</a><br>
>>> $ git clone -b fixes/0.27 git://<a href="http://github.com/MythTV/mythweb.git">github.com/MythTV/mythweb.git</a> <br>
>>><br>
>>> Then patch it:<br>
>>> $ cd ~/src/mythtv<br>
>>> $ patch -p1 < /path/to/h264-captions.patch<br>
>>><br>
>>> Build it:<br>
>>> $ cd ~/src/mythtv/mythtv<br>
>>> $ ./configure<br>
>>> $ make<br>
>>><br>
>>> Install it:<br>
>>> $ sudo make install<br>
>>><br>
>>> That will (by default) install it all in /usr/local. If you have installed from packages, then that version is probably installed in /usr. To avoid conflicts you may want to uninstall the packages first. You should also backup your database before running the new version just in case something goes wrong.<br>
>>><br>
>>> There are much more detailed instructions on building from source here: <a href="https://www.mythtv.org/wiki/MythTV-HOWTO_-_0.27">https://www.mythtv.org/wiki/MythTV-HOWTO_-_0.27</a><br>
>>> <a href="https://www.mythtv.org/wiki/User_Manual:Initial_Installation">https://www.mythtv.org/wiki/User_Manual:Initial_Installation</a><br>
>>><br>
>>> If you have never build from source before, there are likely a bunch of prerequisites that you will need.  Those links should help you with those.  If you need further help please ask on the mythtv-users mailing list, at the MythTV forum, or on freenode in the mythtv-users channel.<br>
>>><br>
>>> John<br>
>>>  <br>
>><br>
>><br>
>> Thanks, John.  I'm running the ebuild from Gentoo right now, so I'll need to look at building from source.<br>
>><br>
>> Thanks again!<br>
><br>
>  <br>
> Fixed top posting. The convention on this mailing list is bottom posting, so please post your response below the text you're replying to.<br>
><br>
> You're in luck. Gentoo already builds from source by default, and it's super easy to add in patches. You just need to create a directory /etc/portage/patches/media-tv/mythtv/ and then drop your patches in there (they need to be named with a *.patch extension). Then emerge mythtv. The mythtv ebuild will pick up user patches automatically after unpacking the source (it will show a confirmation message as it is applying your patch).<br>
><br>
> Sincerely,<br>
><br>
> Karl<br>
><br>
> </p>
<p dir="ltr">Yep - I didn't realize this was posting to the list(s)  until after I'd sent. </p>
<p dir="ltr">Thanks - I'll check into this.<br>
</p>