Hi Aaron,

If I am reading the ffmpeg output correctly it looks like it shows up as a
video 4 linux 2 device. So to enable it on matterhorn edit the file:

$FELIX_DIR$/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties

There should be near the bottom some devices possibly installed already
(maybe sound?) from going through the install script. You will want to add
the lines:

capture.device.USB-live2.src=/dev/video0
capture.device.USB-live2.outputfile=usb-live.mpg
capture.device.USB-live2.flavor=presentation/source
capture.device.USB-live2.type=FILE_DEVICE

Feel free to change the name "USB-live2" and the output filename
usb-live.mpg, I just chose those as placeholders.

After you have added the above lines also find the line that starts with
"capture.device.names=" and add USB-live2 such as below.

capture.device.names=microphone,USB-live2

After these two changes restart the capture agent "/etc/init.d/matterhorn
restart" and you should be able to capture from it.

Cheers,
Adam

On Fri, May 27, 2011 at 1:01 AM, Aaron Maturen <[email protected]> wrote:

> Hello everyone,
> I'm trying to get a Hauppauge USB-live2 to work with matterhorn 1.1 on
> ubuntu 10.10, I've got the drivers for it installed correctly and I can
> record from the device using ffmpeg. Would anyone be able to point me in the
> right direction in configuring matterhorn to use this device?
>
> Thanks in advance,
> -Aaron Maturen
>
> Here is the output from ffmpeg if it helps:
>
>     matterhorn@lan8-25:~$ ffmpeg -f video4linux2 -i /dev/video0 out.mpeg
>     FFmpeg version 0.6-4:0.6-2ubuntu6.1, Copyright (c) 2000-2010 the FFmpeg 
> developers
>     built on Mar 31 2011 18:43:47 with gcc 4.4.5
>     configuration: --extra-version=4:0.6-2ubuntu6.1 --prefix=/usr 
> --enable-avfilter --enable-avfilter-lavf --enable-vdpau
>     --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex 
> --enable-libtheora --enable-libvorbis --enable-vaapi
>     --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping 
> --enable-runtime-cpudetect --enable-gpl --enable-postproc
>     --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
>     libavutil     50.15. 1 / 50.15. 1
>     libavcodec    52.72. 2 / 52.72. 2
>     libavformat   52.64. 2 / 52.64. 2
>     libavdevice   52. 2. 0 / 52. 2. 0
>     libavfilter    1.19. 0 /  1.19. 0
>     libswscale     0.11. 0 /  0.11. 0
>     libpostproc   51. 2. 0 / 51. 2. 0
>     [video4linux2 @ 0x16dc420]Estimating duration from bitrate, this may be 
> inaccurate
>     Input #0, video4linux2, from '/dev/video0':
>       Duration: N/A, start: 1306446232.143149, bitrate: -2147483 kb/s
>         Stream #0.0: Video: rawvideo, yuyv422, 720x480, -2147483 kb/s, 1000k 
> tbr, 1000k tbn, 1000k tbc
>     Output #0, mpeg, to 'out.mpeg':
>       Metadata:
>         encoder         : Lavf52.64.2
>         Stream #0.0: Video: mpeg1video, yuv420p, 720x480, q=2-31, 200 kb/s, 
> 90k tbn, 60 tbc
>     Stream mapping:
>       Stream #0.0 -> #0.0
>     Press [q] to stop encoding
>     frame= 2196 fps= 60 q=31.0 Lsize=    1446kB time=36.58 bitrate= 
> 323.8kbits/s dup=1109 drop=0
>     video:1433kB audio:0kB global headers:0kB muxing overhead 0.905331%
>     Received signal 2: terminating.
>
>
>
>
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>


-- 
Adam McKenzie
MSc Student
ARIES Laboratory, University of Saskatchewan

Web: http://aries.usask.ca/aiwiki/Adam_McKenzie
Mail: Advanced Research in Intelligent Educational Systems Laboratory
     Department of Computer Science
     University of Saskatchewan
     176 Thorvaldson Building
     110 Science Place
     Saskatoon, SK
     S7N 5C9
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to