Loading sub-menu...

1.2.0 Galicaster Configuration

Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History


There is two configuration files: conf-dist.ini and conf.ini. The idea is to set default values on the first one and use the second to set the current configuration. If any duplicated value between the two files, conf.ini values will prevail.

In addition Galicaster 1.2 supports a profile logic. Profiles are sets of tracks that can be loaded to run together. Profiles are listed on a menu on the welcome page, thus being available only for admin users.

Sections

The files are divided in sections. The beginning of a section is marked by a keyword indicating its title, surrounded by square brackets. Below is a detailed description of the different sections and their contents:

Section basic
  • admin: enables admin mode (True|False)
    • False: By default, the user will only be allowed to make recordings. Galicaster will operate as a Galicaster Class
    • True: Apart from recording, the user can edit metadata, play and manage the recordings. Galicaster will behave as a Galicaster Mobile
  • repository: absolute path to the working folder. If not specified, a Repository directory in the user's home will be used.
  • export: absolute path to the export folder for operations. If not specified, exported files will be placed at the user's home folder.
  • stopdialog: Enable/Disable a dialog requesting confirmation to stop the recording. Defaults to True. (True|False)
  • quit: Shows or hides the quit button. (True|False)

Example:

[basic]
admin = True
repository = /mnt/videos/Repository
export = /home/user/Videos
stopdialog = True
quit = True

Section screen
  • right: Name of the video device in the track list to be shown in the right screen (None to deactivate).
  • left: Name of the video device in the track list to be shown in the left screen (None to deactivate).

Note that if a profile different from default is selected, they will be ordered automatically via track position

  • Example:
    [screen]
    right = Epiphan
    left = Hauppauge
    

Section ingest
  • active: Enables the connection to a Opencast-Matterhorn server (True|False).
  • {{manua}}l: Configure the method to automatically ingest the manual recordings. The possible options are: disable the automatic ingestion (none), ingest immediately after the recording (immediately) or ingest nightly all the recordings of the previous day (nightly). Defaults to 'none'. (none|immediately|nightly)
  • scheduled: Configure the method to automatically ingest the scheduled recordings. The possible options are: disable the automatic ingestion (none), ingest immediately after the recording (immediately) or ingest nightly all the recordings of the previous day (nightly). Defaults to 'none'. (none|immediately|nightly)
  • host: Matterhorn server URL.
  • {{username: Name of the Galicaster unit. Defaults to the host name as defined in the OS, prepended by "GC-" if it is a Galicaster Class or "GCMobile-" if it is a Galicaster Mobile.
  • password: Password for the account used to operate the Matterhorn REST endpoints service.
  • hostname: Custom denomination of the galicaster unit. By default it's obtained from de operative system.
  • workflow: name of the workflow used to ingest the recordings.
  • workflow-parameters: pairs of parameter and value (parameter:value) to be parsed on the Matterhorn workflow, separated by semicolon.

Example:

[ingest]
active = False
manual =  nightly
scheduled = immediately
host = http://fakeadmin.matterhorn.com:80
username = matterhorn_system_account
password = CHANGE_ME
workflow = full
workflow-parameters = trimHold:true

Section allows
  • manual: Allows full manual control of the recordings. (True|False)
  • start: If manual is false, recordings can be started manually. (True|False)
  • stop: If manual is false, recordings can be stopped manually -also the scheduled ones. (True|False)
  • pause: Allows pausing a recording -independently from the value of manual. (True|False)
  • overlap: If activated, a manual recording takes priority over a scheduled one, meaning it will not stop when the scheduled one should start. Otherwise, the manual recording will be stopped and the scheduled one started.(True|False)

Example:

[allows]
manual = True
start = False
stop = False
pause = True
overlap = False

Section trackN

A section per device used in the capturer. Each section is set according to the device type: hauppauge, pulse, v4l2 or vga2usb:

v4l2: Video device

  • Admitted values:
    • name: Name assigned to the device.
    • device: Device type: v4l2
    • flavor: Matterhorn "flavor" associated to the track. (presenter|presentation|other)
    • location: Device's mount point in the system (e.g. /dev/video0).
    • file: The file name where the track will be recorded.
    • active: Whether the device will be played and recorded. (True|False)
    • videocrop: Margin in pixels to be cutted. Useful to set a 4:3 proportion on a HD webcam.videocrop-top, videocrop-bottom, videocrop-left, videocrop-right (optional).
    • caps:  GStreamer cappabilities of the device (mimetype=TYPE, framerate=X/Y,width=A,height=B)

TYPE: (image/jpeg | video/x-raw-yuv)
Use GVUCView tool to know wich capabilities are compatible with your device
For more information  http://pygstdocs.berlios.de/pygst-tutorial/capabilities.html

Example:

[track4]
name = Webcam
device = v4l2
flavor = presenter
location = /dev/webcam
file = WEBCAM.avi
active = False
caps = image/jpeg,framerate=25/1,width=1280,height=720
videocrop-left = 160
videocrop-right = 160

vga2usb: Video device

    • Admitted values:
    • name: Name assigned to the device.
    • device: Device type: vga2usb
    • flavor: Matterhorn "flavor" associated to the track. (presenter|presentation|other)
    • location: Device's mount point in the system (e.g. /dev/video0).
    • file: The file name where the track will be recorded.
    • active: Whether the device will be played and recorded. (True|False)
    • drivertype: Wheter the device use a v4l or a v4l2 interface to guarantee compatibility (v4l|v4l2)
      As for Ubuntu 10.10 (recommended OS) use v4l.

Example:

[track2]
name = Epiphan
device = vga2usb
flavor = presentation
location = /dev/screen
file = SCREEN.avi
active = True
drivertype = v4l

pulse: Audio device.

  • Admitted values:
    • name: Name assigned to the device.
    • device: Device type: pulse
    • flavor: Matterhorn "flavor" associated to the track. (presenter|presentation|other)
    • location: PulseAudio source name. Use default to select the same Input as the Sound Control
    • file: The file name where the track will be recorded.
    • active: Whether the device will be played and recorded. (True|False)
    • vumeter: Activates data sending to the program's vumeter. (True|False) Only one device should be activated.
    • amplification: Gstreamer amplification value: < 1 decreases and > 1 increases volume. Values between 1 and 2 are commonly used.
  • to list PulseAudio devices run:
    $ pactl list | grep "Source" -A 5
    

    and use "Name:" as the location field.

Example:

[track3]
name = AudioSource
device = pulse
flavor = presenter
location = default
file = sound.mp3
active = False
vumeter = Active
amplification = 2.0

blackmagic: Video device

  • Admitted values:
    • name: Name assigned to the device.
    • device: Device type: blackmagic
    • flavor: Matterhorn "flavor" associated to the track. (presenter|presentation|other)
    • file: The file name where the track will be recorded.
    • active: Whether the device will be played and recorded. (True|False)
    • input: Input signal format. (sdi|hdmi|opticalsdi|component|composite|svideo)
    • input-mode: Input vidoe mode and framerate (1-20). More information here.

Example:

[track5]
name = BlackmagicSDI
device = blackmagic
flavor = presenter
file = CAMERA.avi
active = True
input = sdi
input-mode = 4

hauppauge: Audio and Video device.

  • Admitted values:
    • name: Name assigned to the device.
    • device: Device type: hauppauge
    • flavor: Matterhorn "flavor" associated to the track. (presenter|presentation|other)
    • location: Device's mount point of the MPEG output
    • locprevideo: Device's mount point of the RAW output
    • locpreaudio: Device's mount point of the PCM output
    • file: The file name where the track will be recorded.
    • active: Whether the device will be played and recorded. (True|False)

Example:

[track1]
name = Hauppauge
device = hauppauge
flavor = presenter
location = /dev/haucamera
locpreavideo = /dev/hauprevideo
locpreaudio = /dev/haupreaudio
file = CAMERA.mpg
active = False

Profiles

Profiles are a new feature added on Galicaster 1.2.0. Each profile contains a group of tracks that will be ran together. The syntax of a profile it's simple.

  • On the data section, a name to identify the profile is set.
  • The order on the track list determine the position on the preview, the first one on the list will be the first from left to right.

An example with mock devices:

[data]
name = Example

[track1]
name = Static
device = videotest
location = default
file = SCREEN.avi
flavor = presentation
caps = video/x-raw-yuv,framerate=25/1,width=640,height=480
pattern = 1
color1 = 4294967295
color2 = 4278190080

[track2]
name = Bars
device = videotest
flavor = presenter
location = default
file = CAMERA.avi
caps = video/x-raw-yuv,framerate=25/1,width=640,height=480
pattern = 0
color1 = 4294967295
color2 = 4278190080

Profiles can be switched anytime, if the configuration is wrong or a device is disconnected a message will appear when entering the Recorder Area. To edit any profile, better leave the program to reload them.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.