Nov 09

This page is meant to mirror http://www.kdrt.org/resources/Rivendell.

Introduction

The following packages for Ubuntu differ from the 0.9.80 version of Rivendell as follows:
- Ogg-Vorbis read/write support
- Mpeg read only support
- When using Ogg-Vorbis for the library format mpeg and ogg-vorbis files are copied in (no transcoding). All other formats transcoded to Ogg Vorbis.
- For more details see Compiling Rivendell with Ogg-Vorbis and Mpeg Support

Install Packages

Download and install the Desktop version of Ubuntu. (currently tested with Edgy.) Go do that. Come back here when you’re done.

If using gpio and/or a audio science adapter refer to http://rivendell.tryphon.org/wiki/index.php/Install_Rivendell_on_Ubuntu and install the gpio and hpklinux packages for Ubuntu.

Download and install libhpi_3.05.10-2_all.deb.

Download and install librhpi_0.94.8-0_i386.deb.

Download and install libradio_mad-ogg-0.98.0-0_i386.deb.

Download and install librivendell_0.9.80-0_i386.deb.

Download and install rivendell_0.9.80-0_i386.deb.

Tip: when installing the Rivendell package you will be prompted for a few options. During the install process click on “terminal” so you can see the configuration screens.

Another helpful thing you can do is fire up the terminal and configure debconf. To do that copy and paste the following into the terminal and hit enter.

sudo dpkg-reconfigure debconf

For the frontend choose either ‘gnome’ if you have the regular install of ubuntu or ‘kde’ if you installed kubuntu.
You can also set the priority level. The lower the level the more questions you will be asked when configuring software. More info can be found here.

Next run rdadmin (Applications->Sound->RDAdmin.) It will prompt for a user and password for installing the Rivendell database. Use root for user and leave the password field blank. Before doing this, you might want to read the Ubuntu documentation about setting a password for root in mysql.

Press ‘Ok’ and a dialog should come up saying “Successfully created Rivendell database.”

You’ll then get a login. By default Rivendell adds two users for you, admin and user with no passwords.

At this point you’ll want to read through the Rivendell Operations Guide. You’ll get a feel for the tools included with Rivendell.

Before you are able to record or play audio you have to configure your sound card. Most computers just have one stereo output and one stereo input. However, there are many soundcards on the market with multiple inputs and outputs.

Then setup your jack connections:

If you have only one soundcard with one stereo in and one stereo out then use this.

[JackSession]
Source1=rivendell_0:playout_0L
Destination1=alsa_pcm:playback_1

Source2=rivendell_0:playout_0R
Destination2=alsa_pcm:playback_2

Source3=rivendell_0:playout_1L
Destination3=alsa_pcm:playback_1

Source4=rivendell_0:playout_1R
Destination4=alsa_pcm:playback_2

Source5=rivendell_0:playout_2L
Destination5=alsa_pcm:playback_1

Source6=rivendell_0:playout_2R
Destination6=alsa_pcm:playback_2

Source7=alsa_pcm:capture_1
Destination7=rivendell_0:record_0L

Source8=alsa_pcm:capture_2
Destination8=rivendell_0:record_0R

If you have a card with multiple outputs and inputs try this one:

JACK Session Management
;
;  See the 'JACK.txt' file for details on how this works!
;
[JackSession]
Source1=rivendell_0:playout_0L
Destination1=alsa_pcm:playback_1

Source2=rivendell_0:playout_0R
Destination2=alsa_pcm:playback_2

Source3=rivendell_0:playout_1L
Destination3=alsa_pcm:playback_1

Source4=rivendell_0:playout_1R
Destination4=alsa_pcm:playback_2

Source5=rivendell_0:playout_2L
Destination5=alsa_pcm:playback_3

Source6=rivendell_0:playout_2R
Destination6=alsa_pcm:playback_4

Source7=alsa_pcm:capture_1
Destination7=rivendell_0:record_0L

Source8=alsa_pcm:capture_2
Destination8=rivendell_0:record_0R

Package notes

To add more audio and video playback capability use Easy Ubuntu.

written by tom

Nov 09

toshiba laptopIf I’m going to use this laptop as a “media hub” I want to be able to use another source of output rather than the speakers on the laptop.  Now, here’s the fix on how use your headphone jack as an output.  My current build of Ubuntu does not respond when I plug in headphones.

A problem with other laptop has forced me to use my Toshiba Satellite A135-S4656 as my “media hub”.  The laptop is running Ubuntu 8.04 (aka Hardy Heron).  So what am I to do about my music?  Luckily I had my mp3s backed up on a USB drive.  As for playback I decided upon Amarok.  As I’ve discussed in previous entries Ubuntu works very well, with some set backs.  One is the use of sound.

Here’s a somewhat easy fix to your problems:  Open up terminal and type in:

sudo gedit /etc/modprobe.d/alsa-base

You can copy this from your browser and past in terminal by hitting CRTL+SHIFT+V.

You’ll now get sent to the file for your sound preferences.  Head down to the bottom of the screen and place below the last line of code:

options snd-hda-intel model=lenovo

Save the file and reboot the system.  After you plug-in the headphones not only will you get sound from the jack, but the speakers will drop audio!  You can also control the system sound volume (albiet jumpy) using the wheel by the headphone jack.

Enjoy!

Credit: http://ubuntuforums.org/showthread.php?t=616845&highlight=ALC861VD

written by tom