[EDIT]The source of the jpegyuv segfault has been found. See http://bugs.gentoo.org/show_bug.cgi?id=114103[/EDIT]
There have been few requests (on the mythtv forums and other sites) for a version of mythburn that works with the latest version of mythtv since the current download on the sorceforge does not work. The link for this download is http://sourceforge.net/project/showfile ... e_id=36185.
On my system I have managed to get mythburn working by debugging and patching the code but this became very cumbersome so I finally decided to make an ebuild to wrap it all up. Normally, I would post this on bugs.gentoo.org but this time I am starting from a copy of the mythburn cvs which I compressed into a tar.bz2 file that I have uploaded to http://rapidshare.de/files/16603284/myt ... r.bz2.html. This file is a snapshot of the cvs version taken on 03-22-2006. I also uploaded http://rapidshare.de/files/16604105/myt ... r.bz2.html which contains the ebuild to mythwebburn along with all the current patches that I use.
About the ebuild:
Initially I started to make an ebuild for mythburn alone but I soon ran into trouble because mythburn needs to patch mythweb and needs to be installed inside the mythweb folder. After a few hours of trying to force my mythburn ebuild to work with the stock mythweb ebuild, I gave up and I decided to make a single ebuild (mythwebburn) that was for both packages would be much simpler to write.
Anyways, after finally getting the ebuild to install properly I ran into only two problems. The first was that for some reason jeg2yuv segfaults all the time on my system and several others I have tested when converting 720x480 jpegs to a mpeg. So I patched the code to use ppm images instead. This works great but has a few problems, since the frequency specification is different with ppmtoy4m vs jeg2yuv the patch for this does not set the right frequency for pal. Also I am not 100% certain I got all instances of this patched with the right frequency and number of frames so I will double check that as soon as I can. BTW, the patch for this is named mythwebburn-0.19-useppm.patch and can be commented out of the ebuild if jeg2yuv works on your system.
The second problem I found was that commercial cutting did not work at all with my system. After tracking this down I found that there were naming problems with the variables that were used to store the result of the checkboxes on the form themes/default/mythburn/confirm.php. There are two patchs that fix this: mythwebburn-0.19-fixcut.patch and mythwebburn-0.19-fixcut-1.patch.
There are currently two other patches that I use. mythwebburn-0.19-echo-cmdline.patch will echo the arguments that are being passed to mythtvburn.sh (which is the main script runs the job). So if anything fails copy everything from just after the cmdline= to the last arg. Do not include the last arg so the line should end in either no cut or cut. Then you can execute the script directly by running /var/www/localhost/htdocs/mythwebburn/modules/mythburn/mythburnscripts/mythtvburn.sh with this arg list. You will have to change the first part of this path if your webpage is not at /var/www/localhost/htdocs.
The last patch (mythwebburn-0.19-extend-readlog.patch) extends the log list from 15 lines to 50. This is a little helpful but I believe the logging display needs some work as it does not automatically update anymore.
Installation Instructions:
1) Download the mythburn-0.19.20060322.tar.bz2 file and place it in your /usr/portage/distfiles folder.
2) Create a portage overlay at /usr/local/portage (see this for instructions http://gentoo-wiki.com/HOWTO_Installing ... ty_Ebuilds)
3) Then execute the following commands in the shell.
Code: Select all
mkdir -p /usr/local/portage/www-apps
cd /usr/local/portage/www-apps
5) Then (in the shell in /usr/local/portage/www-apps) execute the following commands:
Code: Select all
tar xjf mythwebburn.tar.bz2
cd mythwebburn
ebuild mythwebburn-0.19.ebuild digest
mkdir -p /etc/portage
echo "=www-apps/mythwebburn-0.19 ~x86 ~amd64" >> /etc/portage/package.keywords
emerge mythwebburnMore details to follow but it's just after midnight and I'm feeling sleepy so I'll try to get back later today...


