Difference between revisions of "Installing MythArchive Dependencies"

From MythTV Official Wiki
Jump to: navigation, search
m (Reverted edit of D0pp, changed back to last version by Mtrax)
Line 1: Line 1:
MythBurn is one of several solutions to the problem of getting video out of your MythTV box on to DVD-Video discs so you can play them in your DVD player.
+
MythBurn is one of several solutions to the problem of getting video out of your MythTV box on to DVD-Video discs so you can play them in your DVD player.<br>
 +
The user interface for Mythburn integrates into Mythweb and allows you to select recordings to store on the DVD, graphics and sound for the DVD menu etc.<br>
 +
Mythburn can either create an ISO-image of the DVD, that you can burn on a different PC or it can burn the DVD directly, if you have a DVD-writer in the backend<br>
  
== Project-X Installation ==
+
== MythBurn Installation ==
 +
 
 +
<h3>Dependencies</h3>
 +
 
 +
MythWeb depends upon a number of other software packages that have to be installed.<br>
 +
According to http://www.knoppmythwiki.org/index.php?page=MythTVBurn_Scripts_HowTo these are:
 +
<ul>
 +
<li>mjpegtools 1.6.2</li>
 +
<li>dvdauthor 0.6.10</li>
 +
<li>imagemagick 6.0.6</li>
 +
<li>transcode 0.6.14</li>
 +
<li>ProjectX 0.90.3.01</li>
 +
<li>a Java jre or jdk</li>
 +
<li>MythBurn from CVS</li>
 +
</ul>
  
Java 1.4 for Debian...
+
In addition you need growisofs from dvd+rw-tools to write the ISO-file to the DVD.<br>
  
edit /etc/apt/sources.list<br>
+
<h3>RPM installation of some of the packages</h3>
deb ftp://ftp.tux.org/java/debian/ sarge non-free
 
  
apt-get update<br>
+
If your system is rpm based, you can check the current installed versions with the rpm command:
apt-get install j2sdk1.4
 
  
Get the Project-X Sources from http://sourceforge.net/projects/project-x
+
<ul>
then<br>
+
<li>rpm -q mjpegtools</li>
unzip ProjectX_Source_0.82.1.00.zip
+
<li>rpm -q dvdauthor</li>
<br>
+
<li>rpm -q imagemagick <b>or</b> rpm -q ImageMagick</li>
sh build.sh
+
<li>rpm -q transcode</li>
 +
<li>rpm -q jre</li>
 +
<li>rpm -q jdk</li>
 +
<li>rpm -q dvd+rw-tools</li>
 +
</ul>
 +
 
 +
Note that on some rpm-sites ImageMagick is called imagemagick (KnoppMyth) and on other it is called ImageMagick (freshrpms)<br>
 +
If your system is rpm based you can install some of the packages with apt-get or yum:
 +
 
 +
<ul>
 +
<li>apt-get update</li>
 +
<li>apt-get install mjpegtools</li>
 +
<li>apt-get install dvdauthor</li>
 +
<li>apt-get install ImageMagick <i>(or imagemagick)</i></li>
 +
<li>apt-get install transcode</li>
 +
<li>apt-get install dvd+rw-tools</li>
 +
</ul>
 +
 
 +
Maybe your apt-get or yum has not been set up to correct repositories to get these packages. So you might have to update your sources.list or yum configuration.<br>
 +
On Fedora Core 3 I have installed mjpegtools from atrpms.net, dvdauthor and transcode from apt.sw.be, ImageMagick and dvd+rw-tools from freshrpms.net.
 +
 
 +
<h3>Java</h3>
 +
 
 +
To install java, download either a jdk or jre from http://java.sun.com/j2se/1.5.0/download.jsp. The jre contains the runtime that ProjectX needs to run, while the jdk contains both the compiler that you need for compiling ProjectX and the runtime. So if you want to compile ProjectX on a different PC, then you only need the jre<br>
 +
The installation is very straight forward. If you have downloaded a file like jre-1_5_0_<version>-linux-i586-rpm.bin, then you need the following commands:
 +
 
 +
<ul>
 +
<li>chmod a+x jre-1_5_0_<version>-linux-i586-rpm.bin</li>
 +
<li>./jre-1_5_0_<version>-linux-i586-rpm.bin</li>
 +
</ul>
 +
 
 +
This will not set up the path to the Java bin folder or set any Java environment variable. It would be an advantage to do this, as scripts would be independent from the actual location and version of the Java jre, but I do not know how to set this up properly...
 +
 
 +
<h3>ProjectX</h3>
 +
 
 +
ProjectX needs to be version 0.90.3.01 or later, which is not available as precompiled package, so you need to compile it. However it can be compiled on any computer even on a Windows PC !<br>
 +
Download the source from http://sourceforge.net/project/showfiles.php?group_id=115063 (e.g the file ProjectX_Source_eng_0.90.4.00.zip), uncompress it (e.g to the folder /usr/share/projectx) and run the build.sh file. As I have not set up the path and environment correctly, that did not work for me, so I ran build.bat from a Windows PC with the jdk installed and then ProjectX was compiled.<br>
 +
Then create a script for starting projectx. That might be placed in /usr/bin or some other folder, where your path points to. Mine is placed in /usr/bin and called projectx and has the following content:
 +
<pre>
 +
  #!/bin/sh
 +
  /usr/java/jre1.5.0_06/bin/java -jar /usr/share/projectx/projectX.jar $@
 +
</pre>
 +
If you have set up the java environment, then you can omit the path before java. Otherwise adjust it to where your java is installed.<br>
 +
Make the script executable (chmod a+x /usr/bin/projectx)<br>
 +
Also make sure that ProjectX is placed in an executable folder (chmod a+x /usr/share/projectx)<br>
 +
Test if ProjectX can be started from a command prompt<br>
  
To Run IT<br>
 
java -jar ProjectX.jar
 
  
== MythBurn Installation ==
 
  
 +
== Links ==
  
 
http://www.gossamer-threads.com/lists/mythtv/users/173060
 
http://www.gossamer-threads.com/lists/mythtv/users/173060
  
 
http://www.knoppmythwiki.org/index.php?page=MythTVBurn_Scripts_HowTo
 
http://www.knoppmythwiki.org/index.php?page=MythTVBurn_Scripts_HowTo

Revision as of 10:11, 3 April 2006

MythBurn is one of several solutions to the problem of getting video out of your MythTV box on to DVD-Video discs so you can play them in your DVD player.
The user interface for Mythburn integrates into Mythweb and allows you to select recordings to store on the DVD, graphics and sound for the DVD menu etc.
Mythburn can either create an ISO-image of the DVD, that you can burn on a different PC or it can burn the DVD directly, if you have a DVD-writer in the backend

MythBurn Installation

Dependencies

MythWeb depends upon a number of other software packages that have to be installed.
According to http://www.knoppmythwiki.org/index.php?page=MythTVBurn_Scripts_HowTo these are:

  • mjpegtools 1.6.2
  • dvdauthor 0.6.10
  • imagemagick 6.0.6
  • transcode 0.6.14
  • ProjectX 0.90.3.01
  • a Java jre or jdk
  • MythBurn from CVS

In addition you need growisofs from dvd+rw-tools to write the ISO-file to the DVD.

RPM installation of some of the packages

If your system is rpm based, you can check the current installed versions with the rpm command:

  • rpm -q mjpegtools
  • rpm -q dvdauthor
  • rpm -q imagemagick or rpm -q ImageMagick
  • rpm -q transcode
  • rpm -q jre
  • rpm -q jdk
  • rpm -q dvd+rw-tools

Note that on some rpm-sites ImageMagick is called imagemagick (KnoppMyth) and on other it is called ImageMagick (freshrpms)
If your system is rpm based you can install some of the packages with apt-get or yum:

  • apt-get update
  • apt-get install mjpegtools
  • apt-get install dvdauthor
  • apt-get install ImageMagick (or imagemagick)
  • apt-get install transcode
  • apt-get install dvd+rw-tools

Maybe your apt-get or yum has not been set up to correct repositories to get these packages. So you might have to update your sources.list or yum configuration.
On Fedora Core 3 I have installed mjpegtools from atrpms.net, dvdauthor and transcode from apt.sw.be, ImageMagick and dvd+rw-tools from freshrpms.net.

Java

To install java, download either a jdk or jre from http://java.sun.com/j2se/1.5.0/download.jsp. The jre contains the runtime that ProjectX needs to run, while the jdk contains both the compiler that you need for compiling ProjectX and the runtime. So if you want to compile ProjectX on a different PC, then you only need the jre
The installation is very straight forward. If you have downloaded a file like jre-1_5_0_<version>-linux-i586-rpm.bin, then you need the following commands:

  • chmod a+x jre-1_5_0_<version>-linux-i586-rpm.bin
  • ./jre-1_5_0_<version>-linux-i586-rpm.bin

This will not set up the path to the Java bin folder or set any Java environment variable. It would be an advantage to do this, as scripts would be independent from the actual location and version of the Java jre, but I do not know how to set this up properly...

ProjectX

ProjectX needs to be version 0.90.3.01 or later, which is not available as precompiled package, so you need to compile it. However it can be compiled on any computer even on a Windows PC !
Download the source from http://sourceforge.net/project/showfiles.php?group_id=115063 (e.g the file ProjectX_Source_eng_0.90.4.00.zip), uncompress it (e.g to the folder /usr/share/projectx) and run the build.sh file. As I have not set up the path and environment correctly, that did not work for me, so I ran build.bat from a Windows PC with the jdk installed and then ProjectX was compiled.
Then create a script for starting projectx. That might be placed in /usr/bin or some other folder, where your path points to. Mine is placed in /usr/bin and called projectx and has the following content:

  #!/bin/sh
  /usr/java/jre1.5.0_06/bin/java -jar /usr/share/projectx/projectX.jar $@

If you have set up the java environment, then you can omit the path before java. Otherwise adjust it to where your java is installed.
Make the script executable (chmod a+x /usr/bin/projectx)
Also make sure that ProjectX is placed in an executable folder (chmod a+x /usr/share/projectx)
Test if ProjectX can be started from a command prompt


Links

http://www.gossamer-threads.com/lists/mythtv/users/173060

http://www.knoppmythwiki.org/index.php?page=MythTVBurn_Scripts_HowTo