Installing mythpodcaster

From Nearline Storage
Jump to: navigation, search

MythPocaster lives here

  1. Install the RPM: "yum install mythpodcaster"
  2. Download from and put it in /usr/local/bin
  3. Compile segmenter and put it in /usr/local/bin
    • Need to add options to the Makefile:
       gcc -Wall -g segmenter.c -o segmenter -lavformat -lavcodec -lavutil -lm -I/usr/include/ffmpeg
  1. Compile qt-faststart and put it into /usr/local/bin
    • Comes with ffmpeg but the compiled binary is not included in the RPM:
    1. Set up RPM building environment
      • "yum install rpmdevtools rpm-build rpmrebuild yum-utils && rpmdev-setuptree"
    2. Get the RPM source: "yumdownloader --source ffmpeg" and install it
    3. Make sure that all of the build dependencies listed in ffmpeg.spec are installed
    4. Run "rpmbuild -bp ffmpeg.spec" in order to get the ffmpeg source deployed into ~/rpmbuild/BUILD
    5. Go there and run "./configure && make tools/qt-faststart" to build the binary, then move qt-faststart to /usr/local/bin
  2. Copy ~/.mythtv/config.xml and ~/.mythtv/mysql.txt to /usr/share/tomcat6/.mythtv/ (the .mythtv subdir under the home directory given for the tomcat user in /etc/passwd).
  3. Edit /etc/mythpodcaster/ and put the DB id and psw into the hibernate properties. Check that the paths for ffmpeg, segmenter, and qt-faststart are all correct.
  4. Edit /etc/mythpodcaster/transcoding_profiles.xml and /usr/local/bin/ and make sure that the ffmpeg options will work for the version of ffmpeg you are using. (I added new profiles and options to do 1-pass processing.)
  5. Start tomcat: sudo service tomcat6 start
  6. Connect to http://localhost:8080/MythPodcaster/
  7. Monitor /var/log/mythpodcaster/mythpodcaster.log for problems