Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259009 - New ebuild: MythTV-0.21 with backported support for HDPVR and VPDAU
Summary: New ebuild: MythTV-0.21 with backported support for HDPVR and VPDAU
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: MythTV Maintainers
URL:
Whiteboard:
Keywords:
: 271899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-14 21:12 UTC by Marshall McMullen
Modified: 2010-01-04 12:58 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild with HDPVR & VPDAU support (mythtv-0.21_p19983-r2.ebuild,9.34 KB, text/plain)
2009-02-14 21:15 UTC, Marshall McMullen
Details
Audio encoding patch for VPDAU in MythTV (mythtv-0.21-audioencoding-fixes-vdpau-6.patch,79.04 KB, patch)
2009-02-14 21:16 UTC, Marshall McMullen
Details | Diff
HDPVR support in MythTV-0.21 (mythtv-0.21-hdpvr-unified.patch,191.82 KB, patch)
2009-02-14 21:17 UTC, Marshall McMullen
Details | Diff
Fixes compilation error in MythTV (mythtv-0.21-hdpvr-cout-undeclared.patch,597 bytes, patch)
2009-02-14 21:17 UTC, Marshall McMullen
Details | Diff
OpenGL/VPDAU improvements for MythTV-0.21 (mythtv-0.21-glvdpau.patch,347.75 KB, patch)
2009-02-14 21:19 UTC, Marshall McMullen
Details | Diff
AAC Playback improvements to MythTV-0.21 (mythtv-0.21-latm-aac.patch,28.16 KB, patch)
2009-02-14 21:20 UTC, Marshall McMullen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marshall McMullen 2009-02-14 21:12:59 UTC
I've created an ebuild to backport all the code added to MythTV trunk to add support for the new analog device created by Hauppauge that allows recording HD in 1080i.  You can read about the device here:

[url]http://www.hauppauge.com/site/products/data_hdpvr.html[/url]

Most of my work was based on someone else's work to backport these changes for Ubuntu. You can read his original wiki entry here:

[url]http://www.mythtv.org/wiki/Patch_myth.21-fixes_for_hdpvr_on_Ubuntu_8.10[/url]

His work really helped, but a lot of manual edits were required in order to get the patches to apply cleanly in an automated way from an ebuild.  I based my ebuild on the existing 0.21 ebuild for mythtv. The only changes were adding in the additional patches for HDPVR, VPDAU support, and some other patches to improve opengl playback in mythtv.  

[b]Important:[/b] The VPDAU support is only for NVIDIA video cards running the latest beta version of their driver.  I was previously runing 180.27, but it had a HUGE bug in it.  The newer 180.29 works flawlessly, and I highly recommend it.  I don't think that is in portage yet (at least not as of this writing), but it's easy to create an ebuild to install it.  If you haven't heard about VPDAU, you should definitely check it out.  It offloads a considerable portion of the HD decoding for playback to the video card and things play a LOT smoother.


Reproducible: Always

Steps to Reproduce:
Not a bug -- patches and new ebuild for those clamoring for HDPVR and VPDAU support in MythTV-0.21.
Comment 1 Marshall McMullen 2009-02-14 21:15:09 UTC
Created attachment 182053 [details]
Proposed ebuild with HDPVR & VPDAU support

This proposed ebuild is based on original mythtv-0.21_p19046.ebuild. It revs the revision to the latest from -fixes and adds support for additional patches required to support HDPVR and VPDAU.
Comment 2 Marshall McMullen 2009-02-14 21:16:02 UTC
Created attachment 182055 [details, diff]
Audio encoding patch for VPDAU in MythTV

This patch fixes some audio encoding problems in MythTV with VPDAU support enabled.
Comment 3 Marshall McMullen 2009-02-14 21:17:05 UTC
Created attachment 182056 [details, diff]
HDPVR support in MythTV-0.21

This patch adds support for HDPVR in MythTV-0.21.
Comment 4 Marshall McMullen 2009-02-14 21:17:29 UTC
Created attachment 182057 [details, diff]
Fixes compilation error in MythTV
Comment 5 Marshall McMullen 2009-02-14 21:19:41 UTC
Created attachment 182059 [details, diff]
OpenGL/VPDAU improvements for MythTV-0.21
Comment 6 Marshall McMullen 2009-02-14 21:20:05 UTC
Created attachment 182060 [details, diff]
AAC Playback improvements to MythTV-0.21
Comment 7 Marshall McMullen 2009-02-14 21:26:20 UTC
For additional info on installing the kernel driver and also configuration of the HDPVR, see: http://www.mythtv.org/wiki/Hauppauge_HD-PVR

Here's a link to a great wiki on how to setup and use the HDPVR on Ubuntu. After installing using this ebuild and patches, you still need to confiruting the playback profile as described herein:
http://www.mythtv.org/wiki/Patch_myth.21-fixes_for_hdpvr_on_Ubuntu_8.10
Comment 8 Marco Gusy 2009-04-12 10:47:11 UTC
this ebuild didn't install /etc/init.d/mythbackend script
Comment 9 Marshall McMullen 2009-04-12 14:55:07 UTC
(In reply to comment #8)
> this ebuild didn't install /etc/init.d/mythbackend script
> 

It should. There's a line in the ebuild:

    newinitd "${FILESDIR}"/mythbackend-0.18.2.rc mythbackend

So it's looking for a file named "mythbackend-0.18.2.rc" inside the "files" directory where you have the ebuild at. You may need to copy that file over from /usr/portage/media-tv/mythtv/files.

Let me know if it works for you.
Comment 10 John M. Drescher 2009-05-29 03:15:49 UTC
BTW, In my overlay I have updated these ebuilds with the latest vdpau patch for mythtv from 

http://www.avenard.org/media/MythTV_%26_VDPAU/MythTV_%26_VDPAU.html


A link to this my overlay is:
http://github.com/drescherjm/jmdgentoooverlay/tree/ac88417e8fa84011fd1379a5366f93415403807b/media-tv/mythtv

consult the wiki link for instructions on how to use the overlay.
Comment 11 Peter Alfredsen (RETIRED) gentoo-dev 2009-06-03 20:19:44 UTC
*** Bug 271899 has been marked as a duplicate of this bug. ***
Comment 12 Doug Goldstein (RETIRED) gentoo-dev 2009-11-08 01:37:13 UTC
Will you guys maintain this for a little bit or are you moving to 0.22?
Comment 13 Marshall McMullen 2009-11-08 01:47:41 UTC
I've moved onto 0.22. Not sure about John's overlay.
Comment 14 Doug Goldstein (RETIRED) gentoo-dev 2010-01-04 05:15:32 UTC
Let's close this one out. My goal is to get 0.22 stable within the month and get 0.21 out of the tree in 60 days.
Comment 15 Marshall McMullen 2010-01-04 12:58:10 UTC
Definitely agree. 0.22 and its ebuilds are working great for me.