<div dir="ltr">On Tue, Nov 17, 2015 at 12:41 PM MythTV <<a href="mailto:noreply@mythtv.org">noreply@mythtv.org</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">#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" target="_blank">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></blockquote><div><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></div><div>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></div><div>John<br><br></div><div><br></div></div></div>