You are viewing an old version of this page. View the current version.
Compare with Current |
View Page History
This is a generic step by step one page guide to Galicaster 1.2.0. Prerequisites
|
|
Install dependencies
$ sudo apt-get install \ gstreamer0.10-ffmpeg gstreamer0.10-alsa gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse \ gstreamer0.10-plugins-base gstreamer0.10-plugins-base-apps gstreamer0.10-plugins-good \ gstreamer0.10-plugins-ugly $ sudo apt-get install python-pip python-setuptools $ sudo pip install icalendar $ sudo apt-get install v4l-conf v4l-utils guvcview
Install drivers
- Epiphan
- For 64 bits machine with kernel 3.2.0-24 or newer in this link
- Hauppauge
- Hauppauge driver is included Ubuntu 12.04
- Blackmagic cards
- Latest driver is available on this link. It contains a DEB package.
- Blackmagic gstreamer plugin is included on the gstreamer dependencies installed before.
- NCast cards
- Driver for 3.x kernel is available in this address.
Configure your udev rules as in previous releases.
- Consult the device internal names
ls /dev/video* udevadm info --attribute-walk --name=/dev/video0 | grep name
- Create the file /etc/udev/rules.d/galicaster.rules with a variation of the following lines.
KERNEL=="video[0-9]*", ATTR{name}=="UVC Camera (0123d:4567)", GROUP="video", SYMLINK+="webcam" KERNEL=="video[0-9]*", ATTR{name}=="vga2usb", SYMLINK+="screen" KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder MPG", GROUP="video", SYMLINK+="haucamera" KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder YUV", GROUP="video", SYMLINK+="hauprevideo" KERNEL=="video[0-9]*", ATTR{name}=="ivtv0 encoder PCM", GROUP="audio", SYMLINK+="haupreaudio"
Install Galicaster:
- Download the package.
- Unpackage it and place the folder in an area where you have permissions to run applications. Change the folder name if you want to.
- Place the conf.ini example on the designated folder.
- Download the profiles you may want to try and copy then on profiles/. Modify the values to adapt them to your scenario.
- VGA capturing
- VGA and Sound capturing
- Webcam and sound
- The device is set on /dev/video0, where webcams are usually found, change it if necessary
- Hauppauge ( PAL / NTSC ) and VGA
- Sound synced and recorded via Hauppauge
- Blackmagic (with sound incorporated)
- SDI capturing + VGA - i.e. Blackmagic Decklink
- HDMI capturing + VGA - i.e. Blackmagic Intensity Pro
- Run Galicaster with ./run_galicaster.py. It will start with mock devices (bars, static and noise).
Migrate Repository from 1.1.x to 1.2.x
Mediapackages are compatible with both versions but we have included new information concerning the status of the operations. Then, only one file will be modified, the others will remain unaltered.
To do so:
- The script is docs/scripts/migrate_repository.py
- Move it to your Galicaster 1.2 directory,
- Configure Galicaster to point to the repository you want to migrate. basic>repository=/home/folder/example
- Optional: Make a backup
- Run it on a terminal:
python migrate_repository.py
Create a launcher on the Desktop and on Unity
- Copy docs/autostart/galicaster.svg to /usr/share/icons.
- Copy docs/autostart/galicaster.destktop to usr/share/applications.
- Pulse Meta(Win key), type Galicaster and drag the GC icon to the desktop.
- If the GC logo doesn't show, right-button on the file, go to Properties, choose the tab Permissions and check Allow executing file as a program.
- Resize it by clicking right-button on the launcher, go to Resize Icon... .
To make galicaster start as the operative system loads do the following:
- Copy docs/autostart/galicaster.desktop to ~/.config/autostart.
Configure the server and the ingest behaviour
Depending on when or how you want to ingest the mediapackages set none/immediately/nightly on manual and scheduled.
[ingest] active = True manual = nightly scheduled = immediate host = http://fakeadmin.matterhorn.com:80 username = matterhorn_system_account password = CHANGE_ME workflow = full workflow-parameters = trimHold:true