[mythtv] [mythtv-commits] Ticket #9549: Myth Transcode Runs Forever
Kenni Lund
kenni at kelu.dk
Fri Feb 18 13:34:26 UTC 2011
2011/2/18 <noreply at mythtv.org>:
> #9549: Myth Transcode Runs Forever
> ------------------------------------------------+--------------------------
> Reporter: Scott Harris <snharris99@…> | Owner: beirdo
> Type: Bug Report | Status:
> Priority: minor | infoneeded_new
> Component: MythTV - Mythtranscode | Milestone: unknown
> Severity: medium | Version:
> Keywords: | Unspecified
> | Resolution:
> | Ticket locked: 0
> ------------------------------------------------+--------------------------
>
> Comment (by Scott Harris <snharris99@…>):
>
> If someone could point me to how to apply a patch, I'll be happy to try.
> I don't compile my own, I just install MythBuntu, and use daily builds. I
> just had another one to test with from last night.
To test the patch, you'll need to apply the patch to the MythTV
sourcecode and then compile MythTV. Luckily you can do this by
rebuilding the packages from the Mythbuntu autobuilds so you don't
need to do a new MythTV installation to test the patch.
You'll need to do something like the following:
Make sure you have the current version of mythtv from mythbuntu
autobuilds installed:
$ sudo apt-get update
$ sudo apt-get upgrade
Install the tools needed to build source packages:
$ sudo apt-get install build-essential
Create a temporary directory for your build:
$ mkdir mythtv_temp
$ cd mythtv_temp
Download the source packages of the current Mythbuntu autobuild
version of Mythtv (the one which is already installed at this point):
$ sudo apt-get source mythtv
Download the patch:
$ wget http://code.mythtv.org/trac/raw-attachment/ticket/9549/0001-Make-MPEG2fixup-ProcessVideo-return-int.patch
Apply the patch
$ cd mythtv*/
$ sudo patch -p1 < ../0001-Make-MPEG2fixup-ProcessVideo-return-int.patch
Build the MythTV packages from your modified source:
$ cd ..
$ sudo apt-get -b source mythtv
Once done, you'll have a number of *.deb packages in the current
directory. Install the modified package:
$ sudo dpkg -i ${FILENAME}
(I guess the patched mythtranscode files ends up in the package called
"mythtv-transcode-utils")
...I (or someone else if they're bored) should probably do a generic
tutorial and add it to the wiki. Similar approaches must be possible
on systems based on Fedora etc.
Best regards
Kenni
More information about the mythtv-dev
mailing list