h3. C. Capture Devices configuration
----
Galicaster configuration is specified in two files _conf-dist.ini_ and _conf.ini_. You can download two different models of _conf.ini_ depending on the cards you are using:
* Blackmagic + Epiphan: [conf.ini |http://webfiler.teltek.es/webfiler/galicaster/configs/bm_mobile/conf.ini]
* Hauppauge + Epiphan: [conf.ini |http://webfiler.teltek.es/webfiler/galicaster/configs/hau_mobile/conf.ini]
Now, it's time to configure the card you've selected and audio. More information about this matter is available [here|1.1 Cookbook].
{anchor:hau}
h4. B.1 Hauppauge configuration
----
Before running Galicaster you may have to configure your Hauppauge card. Connect your camera and do the following:
*Standard selection*
You have to choose between a list of standards. To list and select the standard, run in a shell:
{code:none}
v4l2-ctl -d /dev/haucamera --list-standards | grep Index -A 2
v4l2-ctl -d /dev/haucamera -s 0
{code}
*Input selection*
Depending on the input you are using you have to choose between S-Video (4-pin) and Composite (RCA). To list and select the input, run in shell:
{code:none}
v4l2-ctl -d /dev/haucamera -n | grep Input -A 1
v4l2-ctl -d /dev/haucamera -i 2
{code}
Inputs 1 and 3 are for 4-pin.
Inputs 2, 4 and 5 are for RCA.
{anchor:bm}
h4. B.2 Blackmagic configuration
----
To list the input standards and formats supported by Blackmagic cards run the following line in a shell:
{code:none}
gst-inspect-0.10 decklinksrc | grep Enum -A 20
{code}
Once you identified the format you want to capture, edit the _conf.ini_ file you've just downloaded. Search for the _track_ Blackmagic and change the parameters _input_ and _input_type_ for their right values. Some try-and-error may be neccessary since maybe you can't gather all the information from your video source.
The _p_ in 1080p stands for _progressive_
The _i_ in 1080i stands for _interlaced_
{anchor:sound}
h4. C.3 Sound configuration
----
To have the best audio feedback on your interface you should configure your audio inputs properly. First of all, go to the Sound Manager (speaker icon on the top right corner of the desktop)
*Headphones output*
Regulate this slide bar to a comfortable sound level.
*Pulse input ( Line in):*
_If you are using the Hauppauge card please skip this section_
Select the input you are using and set the values to 100% volume, no amplification.
Later, if you have distortion on your audio input, edit the conf.ini and set _amplification = 1.0_ in the AudioSource device.
_Recommendation_
----
On the pulse track of your conf.ini, don't leave the value _location_ as \_default. List the inputs and set it. This way you won't need to check it every time you switch on your unit. To do that, run in a shell:
{code:none}
pactl list | grep Source -A 2
{code}
Identify the input you want to use, for example
{code:none}
alsa_input.pci-0000_00_1b.0.analog-stereo
{code}
Use the _name_ as _location_ on the _conf.ini_ pulse track
{code:none}
[track3]
name = AudioSource
device = pulse
flavor = presenter
active = True
*location = alsa_input.pci-0000_00_1b.0.analog-stereo*
file = sound.mp3
amplification = 2.0
vumeter = True
player = True
{code}
----
\\
*Galicaster Vumeter*
Add this section in the _conf.ini_ file.
{code:none}
[audio]
min = -60
max = 0
{code}
If the NO SOUND dialog is coming in and out constantly, set a higher value on _min_, for example \-40.
\\
*Alsa Advanced configuration*
If you still experience problems after configuring the Sound Manager and your Mixer or Sound input device, you should take a look to ALSA.
Run _alsamixer_ on a shell and ensure that your device is not being amplified.
* Press F6 to select the input and F4 to go to the Capture section.
* You can check the real Gain on _Item_ on the top left corner of the screen.
{anchor:net}
h3. C. Network Configuration
----
To change your IP settings, pleas read this [official Ubuntu guideline|https://help.ubuntu.com/10.04/internet/C/connecting-wired.html].
The Network Manager is on the top right corner, Right-button click on the double arrow icon.
!netmanager.png|align=left!\\
{anchor:mh}
h3. D. Opencast Matterhorn related configuration
----
If you have a OC-Matterhorn running you have to ask your Matterhorn system administrator for some information.
First of all, You need the admin host address, including the port. For example:
{code:none}
host = http://fakeadmin.matterhorn.com:80
{code}
You also need a *digest user* \- a regular one won't work. There is a default digest account that should be replaced with your own values.
{code:none}
username= matterhorn_system_account
password= CHANGE_ME
{code}
You also need to set up a default workflow and its parameters. Scheduled recordings will have his own workflow and parameters, defined in the scheduling operation, but the recordings started manually won't. The usual parameters you have to set up are *captions* and *trimHold*, which default to *False*. The normal configuration is:
{code:none}
workflow = full
workflow-parameters = trimHold:true
{code}
If you set up more than one parameter:
{code:none}workflow-parameters = trimHold:true;captions=True{code}
Finally, you have to decide if your recordings will be recorded automatically or not. If you want to do so, set *default* to True. All the configuration together will look like:
{code:none}
[ingest]
active = True
default = False
host = http://fakeadmin.matterhorn.com:80
username = matterhorn_system_account
password = CHANGE_ME
workflow = full
workflow-parameters = trimHold:true
{code}
This piece of code must be written on one of the configurations file. Be aware that values in _conf.ini_ will overrule its equivalent in _conf-dist.ini_.
h2. Sections to order
h4. Webcam configuration
Logitech c920 is an HD webcam with optic lens and automatic behaviour - white balance, autofocus, auto-aperture.
It records 24 fps at 720p. The default configuration is:
* power-line-frequency:50Hz
* cappabilities: image/jpeg,framerate=24/1,width=1280,height=720
*Back to 4:3*
If you want you can _cut_ part of the video to record a non-panoramic video including in the configuration:
* videocrop-left=160
* videocrop-right=160
_The value is in pixels_
To set manual values on the parameters of the webcam use a tool called guvcview:
* Open a terminal and run:
{code:none
guvcview -o
{none}
{code}