Hi Sebastian,

I think I have figured out the bug in the code that is causing you problems.
We actually only look for "Epiphan VGA2USB" and "Epiphan VGA2PCI" devices
but not PCI-e Epiphan products. I've created the issue at:

https://opencast.jira.com/browse/MH-7191

In the mean time as a work around could you add

capture.device.SCREEN.type=EPIPHAN_VGA2USB

To your ConfigurationManager.properties file, this will skip the code trying
to detect the device because you have specified it. Also could you do me a
huge favor and run:

v4l-info /dev/video0

and email me the output so that I can fix this in our codebase?

Thanks,
Adam

On Wed, Mar 16, 2011 at 9:28 AM, Sebastian Pichelhofer <
[email protected]> wrote:

>  Thanks for all the suggestions, unfortunately we were not able to solve
> the issue yet.
>
>
> We installed epiphan vga2pcie card and it created /dev/video0 successfully.
>
> Our org.opencastproject.capture.impl.ConfigurationManager.properties file
> currently looks like this:
> ...
> ...
> capture.device.names=SCREEN
>
> capture.device.SCREEN.src=/dev/video0
>
> capture.device.SCREEN.outputfile=screen.mpg
> capture.device.SCREEN.flavor=presentation/source
> capture.device.SCREEN.codec=ffenc_mpeg2video
> capture.device.SCREEN.buffer.bytes=536870912
> capture.device.SCREEN.buffer.time=120000000000
> ...
> ...
>
>
> I also attached the opencast.log.
> the line which seems to be most interesting to me is:
> 2011-03-16 17:15:13 ERROR (PipelineFactory:157) - Unrecognized device
> org.opencastproject.capture.pipeline.UnrecognizedDeviceException: Do not
> recognized device: /dev/video0
>
>
> Help appreciated.
>
> Regards Sebastian
>
>
>
> --
> Sebastian Pichelhofer
> Medienstelle
> Zentraler Informatikdienst und Medienstelle (ZID/BOKU-IT)
> Universität für Bodenkultur
> Peter-Jordan-Str. 82 1190 Wien
> Telefon: +43-1-47654-2134
> www.zid.boku.ac.at
>
> >>> Micah Sutton <[email protected]> 10.03.2011 22:42 >>>
>
>  On Mar 10, 2011, at 7:48 AM, Ruediger Rolf wrote:
>
>  Hi Sebastian!
>
> Am 10.03.2011 14:27, schrieb Sebastian Pichelhofer:
>
> Hi there.
>
> I posted to this mailinglist last December:
>
> http://opencast.3480289.n2.nabble.com/Matterhorn-users-epiphan-VGA2PCIe-instead-of-VGA2USB-td5819489.html
>
> Now we got all the hardware together and recently started to install a
> Matterhorn Capture Agent and used an Epiphan VGA2PCIe card.
>
> Would you recommend to install trunk or wait for 1.1 or use 1.0 and the
> patch Micah Sutton recommended (unfortunately all efforts to get the patch
> from him or contact him have failed so far)?
>
> Go for 1.1! Its nearly finished and a huge improvement. The RC1 is
> currently in QA and I guess the RC2 will be cut in a few days, because of
> the minor problems that we found. Use the code from the SVN branch here
> http://opencast.jira.com/svn/MH/branches/1.1.x/. I don't think that there
> will be many changes comming up and the APIs and database is stable so that
> you just will need to do a few svn updates to have a stable 1.1 version.
>
>
> In general the card is working. We used mplayer with the epiphan
> recommended parameters and can view the VGA input live image.
>
> These don't work for me too. There is a minor error in the docs. Try this
> (assuming that /dev/video1 is your epiphan device):
> mplayer -tv noaudio:driver=v4l:outfmt=bgr24:device=/dev/video1:fps=15 tv://
>
>
> We also successfully installed Matterhorn trunk with MOCK inputs, so far
> everything seems to be working well.
>
> But now we don't know what the next steps are: What we need to do to make
> the card work with matterhorn.
>
> I you used the installer for the capture agent (
> http://opencast.jira.com/svn/MH/branches/1.1.x/docs/scripts/ubuntu_capture_agent/install.sh)
> and the recommended hardware everything should be configured already and you
> simply will need to schedule a recording on your core system.
>
>  If you did not use the installer or you use different hardware have a
> look at this page on how to configure the capture agent:
>
> http://opencast.jira.com/wiki/display/MH/Capture+Agent+Configuration+%28Trunk%29
>
>
> Do we just need to get the VGA2PCIe card working with Gstreamer and use a
> customProducer in Mattergorn config?
>
>
> You can use the custom producer if you wish you make a special pipeline.
> However, by default it will use the existing VGA2USB pipeline. For example,
> our configuration for the VGA2PCIe device looks like:
>
>  capture.device.Screen.src=/dev/video0
> capture.device.Screen.outputfile=Screen.mpg
> capture.device.Screen.flavor=presentation/source
> capture.device.Screen.buffer.bytes=536870912
>
>  For the epiphan you would need to add the following at the end of
> $FELIX_HOME/conf/services/org.orpencastproject.capture.ConfigurationManager.properties
>
> capture.device.SCREEN.src=/dev/video1
> capture.device.SCREEN.outputfile=screen.mpg
> capture.device.SCREEN.flavor=presentation/source
> capture.device.SCREEN.codec=ffenc_mpeg2video
> capture.device.SCREEN.codec.bitrate=2048
> capture.device.SCREEN.codec.container=mpegtsmux
> capture.device.SCREEN.framerate=5
>
> And don't forget to add SCREEN to the capture.device.names-property in the
> same file.
>
> I hope I could help you with this information.
>
> Good luck
> Rüdiger
>
> --
>
> ________________________________________________
> Rüdiger Rolf, M.A.
> Universität Osnabrück - Zentrum virtUOS
> Heger-Tor-Wall 12, 49069 Osnabrück
> Telefon: (0541) 969-6511 - Fax: (0541) 969-16511
> E-Mail: [email protected]
> Internet: www.virtuos.uni-osnabrueck.de
>
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
>
>
>
> _______________________________________________
> 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