teltek / Galicaster

The Galicaster Project is an open initiative to provide flexible, state-of-the-art solutions for recording educational multimedia contents like lectures and conferences
galicaster.teltek.es
Other
35 stars 31 forks source link

Duplicate filenames cause recording failure #613

Open smarquard opened 5 years ago

smarquard commented 5 years ago

We had a CA with an incorrectly configured conf.ini with multiple references to

file = presenter.mkv

once in the correct track, and twice in a presentation track, after the declaration of another file = ....

This caused complete recording failure in a non-obvious way; it seemed to record, then hung when trying to copy the recording from rectemp to a repo location.

[basic]
admin = True
repository = /usr/share/galicaster-repository

[logger]
path = /var/log/galicaster/galicaster.log

[ingest]
host = http://some.hostname
username = opencast_system_account
password = PASSWORD
hostname = caname

[track1]
name = audio
device = pulse
flavor = presenter
location = alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo
file = audio.flac
vumeter = True
amplification = 1.0
player = True
audioencoder = deinterleave name=d d.src_0 ! audioconvert ! flacenc
active = True
delay = 0.3

[track2]
name = presenter
muxer = matroskamux
device = rtp
flavor = presenter
location = rtspt://mblt2-cam01.uct.ac.za/axis-media/media.amp
file = presenter.mkv
cameratype = h264
audio = False
muxer = matroskamux
caps-preview = video/x-raw,framerate=1/1
active = True

[track3]
name = presentation
device = blackmagic
location = /dev/blackmagic/io0
file = presentation.avi
flavor = presentation
audio-input = none
subdevice = 0
input = hdmi
input-mode = 720p60
framerate = 25/1
caps-preview = video/x-raw,framerate=1/1
active = True

[track4]
name = presentation2
flavor = presentation2
device = blackmagic
location = /dev/blackmagic/io1
file = presentation2.avi
audio-input = none
subdevice = 1
input = hdmi
input-mode = 720p60
framerate = 25/1
active = True
caps-preview = video/x-raw,framerate=1/1
file = presenter.mkv
file = presenter.mkv