Hello Adam,

I know this is some time ago, but: having driver
vga2usb-3.25.0.2-ubuntu-2.6.35-25-generic_x86_64.tbz installed, I use
the Epiphan DVI2USB Solo with capture.device.SCREEN.type=V4LSRC on the
CA. When I disconnect the cable, recording stops, plugging it in again
changes nothing.

Trying capture.device.SCREEN.type=EPIPHAN_VGA2USB, recording goes on
with a test pattern, but connecting the cable again doesn't bring the
input back.

So shouldn't it be the other way round, as you discribed? Or: how could
I get scaling/unplugging/replugging features?

Thanks for answering,
regards,

[email protected]

Am 02.08.2011 19:44, schrieb Adam Mckenzie:
> Hi Sebastian,
> 
> There is a bit of a misconfiguration in your Configuration manager file.
> 
> for the .type:
> capture.device.VGA.type=VGA2PCI
> 
> It should either be:
> capture.device.VGA.type=EPIPHAN_VGA2USB
> 
> if you want to use the code we have provided for handling scaling and
> unplugging and replugging without a hardware dscaler or if you just want
> to use the v4lsrc plain like you are using on the command line you could
> use:
> capture.device.VGA.type=V4LSRC
> 
> For both of these above options you will need to add
> capture.device.VGA.src=/dev/video0
> 
> Or if you want to use the custom producer you will want the .type to be:
> capture.device.VGA.type=CUSTOM_VIDEO_SRC
> and the .customProducer line to be:
> capture.device.VGA.customProducer=v4lsrc device=/dev/video0 ! queue
> 
> which is almost exactly the same as the .type being V4LSRC so if I was
> you I would use that one.
> 
> Cheers,
> Adam
> 
> On Tue, Aug 2, 2011 at 7:41 AM, Sebastian Pichelhofer
> <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Sorry for the delay, more progress now:
>      
>     We installed everything from scratch: new Ubuntu, new MH 1.1, etc.
>      
>     We can successfully install the VGA2PCIe drivers.
>     We can successfully watch the frame grabber video with gst-launch -e
>     v4lsrc device=/dev/video0 ! queue ! autovideosink
>      
>     The config part of the VGA2PCIe  in
>     org.opencastproject.capture.impl.ConfigurationManager.properties
>     looks like:
>      
>     capture.device.VGA.type=VGA2PCI
>     capture.device.VGA.customProducer=v4l2src device=/dev/video0 ! queue
>     capture.device.VGA.outputfile=screen.mpg
>     capture.device.VGA.flavor=presentation/source
>     capture.device.VGA.codec=ffenc_mpeg2video
>     capture.device.VGA.buffer.bytes=536870912
>     capture.device.VGA.buffer.time=120000000000
>      
>     Full *.properties file attached.
>      
>     Unfortunately it still fails.
>      
>     opencast.log (full log also attached) shows:
>      
>     2011-08-02 15:06:17  INFO (GStreamerPipeline:435) - Successfully
>     initialised 1 devices.
>      
>     That could be the audio device though....!?
> 
>     2011-08-02 15:06:18  INFO (GStreamerPipeline:104) - Initializing
>     devices for capture.
>     2011-08-02 15:06:18  INFO (GStreamerPipeline:124) - pipeline0 started.
>      
>     Then throws a bunch of WARNs and INFOs and the following ERROR:
>      
>     2011-08-02 15:07:00 ERROR (IngestJob:146) - Ingestion failed with a
>     value of -4
>      
>      
>     To me it looks like we have a another problem in addition to the
>     VGA2PCIe recording not working as well...
>      
>      
>     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 <tel:%2B43-1-47654-2134>
>     www.zid.boku.ac.at <http://www.zid.boku.ac.at/>
> 
>     >>> "Sebastian Pichelhofer" <[email protected]
>     <mailto:[email protected]>> 25.03.2011 12
>     <tel:25.03.2011%2012>:55 >>>
>     Thanks!
>      
>     Now the Gstreamer pipeline is working properly and I assume
>     matterhorn will also work, will try that next.
>      
>     And I agree it would be great to add that to the FAQ!
>      
>     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 <tel:%2B43-1-47654-2134>
>     www.zid.boku.ac.at <http://www.zid.boku.ac.at/>
> 
>     >>> Micah Sutton <[email protected] <mailto:[email protected]>>
>     24.03.2011 16 <tel:24.03.2011%2016>:48 >>>
>     On Mar 24, 2011, at 3:52 AM, Sebastian Pichelhofer wrote:
> 
>>     Unfortunately it does not start:
>>
>>     gst-launch-0.10 -e v4lsrc device=/dev/video0 ! ffenc_mpeg2video !
>>     mpegpsmux ! filesink location=test.mpg
>>     Setting pipeline to PAUSED ...
>>     ERROR: Pipeline doesn't want to pause.
>>     ERROR: from element /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
>>     Could not read from resource.
>>     Additional debug info:
>>     v4lsrc_calls.c(183): gst_v4lsrc_capture_init ():
>>     /GstPipeline:pipeline0/GstV4lSrc:v4lsrc0:
>>     Not enough buffers. We got 1, we want at least 2
> 
>     Sebastian,
> 
>     This is due to a misconfigured driver option. You need to supply
>     v4l_num_buffers=2 while installing the kernel module.
> 
>     If you use Epiphan's make file, you should edit the insmod line to
>     have that kernel option. I have attached a modified make file for
>     your convenience.
> 
>     example: insmod vga2pci.ko v4l_num_buffers=2
> 
>     Micah
> 
> 
>     _______________________________________________
>     Matterhorn-users mailing list
>     [email protected]
>     <mailto:[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

_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to