Thank you Fernando, I think that now I'm on the right way.
Regards, Oriol. 2012/11/21 費納德費納德 <[email protected]> > Hello Oriol, > > we have a couple of capture agents with Epiphan VGA2USB and also > Blackmagic Intensity pro capture cards with ALMOST no problems running on > Ubuntu 10.04 and 10.10. The problems we found were due to USB microphones > and Pulse audio drivers, and try to record HD quality video. We get out of > sync video&audio, but this is another problem. So I will send to your email > a file with all the files of the 'gst-decklink' repository, so you can > continue the installation steps for the Blackmagic card. > > (If someone else is interested and/or there is no problem to attach it to > this email, please tell me and I will do it) > > Best regards, > > Fernando Hernandez > *Cloudpe Corp.* > > 2012/11/21 Oriol Pellicer i Sabrià <[email protected]> > >> Sorry: I meant in the second paragraph that I have a v4l device, not a >> v4l2 one. >> >> >> Greetings, >> >> Oriol. >> >> >> >> 2012/11/21 Oriol Pellicer i Sabrià <[email protected]> >> >>> 2012/11/20 McKenzie, Adam <[email protected]> >>> >>>> Hi Oriol,**** >>>> >>>> ** ** >>>> >>>> I noticed you had “location=/dev/vga2usb0” for your epiphan capture >>>> device. I know it is ridiculous but you can’t actually capture from this >>>> location. You need to capture from the equivalent /dev/video0 , /dev/video1 >>>> location. >>>> >>> >>> Ok, thank you for this info. >>> >>> >>>> Could you follow the v4l-info instructions here to determine if your >>>> Epiphan VGA2USB is a v4l or v4l2 device (if there is anything that is >>>> missing or confusing please let me know so that I can fix the documentation >>>> for other users):**** >>>> >>>> http://opencast.jira.com/wiki/display/mh13/Custom+Capture+Devices+v1.3 >>>> >>> >>> The output is: >>> >>> ### video4linux device info [/dev/video0] ### >>> [...] >>> >>> So, I understand that I have a v4l2 device. >>> >>> >>>> **** >>>> >>>> ** ** >>>> >>>> If it is a v4l2 device to fix the error you should be able to fix it by >>>> adding:**** >>>> >>>> capture.device.DEVICE_NAME.type=V4L2SRC**** >>>> >>>> ** ** >>>> >>>> To your ConfigurationManager device in the service directory where >>>> DEVICE_NAME is the name you chose for the vga2usb. **** >>>> >>>> ** ** >>>> >>>> It could be that your version of gstreamer doesn’t have the v4lsrc but >>>> I think this is highly unlikely. You can check this using the gstreamer >>>> tools (sudo apt-get install gstreamer-tools I think) and running the >>>> command gst-inspect v4lsrc. It should spit out a lot of information about >>>> the source or complain that it doesn’t exist. >>>> >>> >>> # gst-inspect v4lsrc >>> No such element or plugin 'v4lsrc' >>> >>> I can try to install the original Ubuntu 10.10 version of gstreamer (as >>> Jonathan Bird says he's using v4l on 0.10.30 version), but then the problem >>> will be that I will not have the decklinksrc plugin for gstreamer (needed >>> by Blackmagic Intensity Pro) and the svn server refered on the guide ( >>> http://gforge.unl.edu/svn/gst-decklink) doesn't exists anymore. >>> >>> Do you think that I'll be able to configure an Agent with a Epiphan >>> VGA2USB and a Blackmagic Intensity Pro (PCI-X) together? I can start from >>> zero with another Linux distro if it is necessary. >>> >>> >>> Thank you all, >>> >>> Oriol. >>> >>> **** >>>> >>>> ** ** >>>> >>>> Thanks,**** >>>> >>>> Adam**** >>>> >>>> ** ** >>>> >>>> *Adam McKenzie* >>>> * Programmer Analyst***** >>>> >>>> Applications, Information and Communications Technology**** >>>> >>>> Ph: (306) 966-8241**** >>>> >>>> ** ** >>>> >>>> *From:* [email protected] [mailto: >>>> [email protected]] *On Behalf Of *Bird, >>>> Jonathan >>>> *Sent:* Tuesday, November 20, 2012 10:27 AM >>>> *To:* Matterhorn Users >>>> *Subject:* Re: [Matterhorn-users] Agent installation problems**** >>>> >>>> ** ** >>>> >>>> So we have 1.3.1 agents built with 10.10. **** >>>> >>>> ** ** >>>> >>>> Our streamer version is:**** >>>> >>>> gst-launch --version**** >>>> >>>> gst-launch-0.10 version 0.10.30**** >>>> >>>> GStreamer 0.10.30**** >>>> >>>> https://launchpad.net/distros/ubuntu/+source/gstreamer0.10**** >>>> >>>> ** ** >>>> >>>> ** ** >>>> >>>> and on our devices the video card is always faster at starting that the >>>> epiphan so it always gets /dev/video0 and the the epiphan card maps to >>>> /dev/video1**** >>>> >>>> ** ** >>>> >>>> and here is our settings from our >>>> config: >>>> /opt/matterhorn/felix/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties >>>> **** >>>> >>>> ** ** >>>> >>>> ...**** >>>> >>>> ** ** >>>> >>>> capture.device.camera.src=/dev/camera**** >>>> >>>> capture.device.camera.outputfile=camera.mpg**** >>>> >>>> capture.device.camera.flavor=presenter/source**** >>>> >>>> capture.device.camera.buffer.bytes=536870912**** >>>> >>>> capture.device.camera.framerate=30**** >>>> >>>> ** ** >>>> >>>> capture.device.vga.src=/dev/video1**** >>>> >>>> capture.device.vga.outputfile=vga.mpg**** >>>> >>>> capture.device.vga.flavor=presentation/source**** >>>> >>>> capture.device.vga.buffer.bytes=536870912**** >>>> >>>> capture.device.vga.framerate=10**** >>>> >>>> capture.device.vga.type=V4LSRC**** >>>> >>>> ** ** >>>> >>>> capture.device.audio.src=hw:0**** >>>> >>>> capture.device.audio.outputfile=audio.mp2**** >>>> >>>> capture.device.audio.flavor=presenter/source**** >>>> >>>> capture.device.audio.buffer.bytes=536870912**** >>>> >>>> capture.device.names=vga,audio**** >>>> >>>> ** ** >>>> >>>> _____________________________________ **** >>>> >>>> ** ** >>>> >>>> >>>> *Jonathan S. Bird* **** >>>> >>>> *Senior Instructional Support Specialist***** >>>> >>>> Information and Communications Technology**** >>>> >>>> Ph: (306) 966-8266**** >>>> >>>> **** >>>> >>>> <http://www.usask.ca/>**** >>>> >>>> ** ** >>>> >>>> On 2012-11-20, at 10:18 AM, Rubén Pérez <[email protected]> wrote:** >>>> ** >>>> >>>> >>>> >>>> **** >>>> >>>> I see what your problem is. As you are using a newer gstreamer version, >>>> there is no element "v4lsrc". The support for "v4l" was dropped in the >>>> latest gstreamer versions, in favor of "v4l*2*src". **** >>>> >>>> ** ** >>>> >>>> I don't see an easy solution for you: the fix involves changing the >>>> code and I'm not sure it will work by simply changing "v4lsrc" with >>>> "v4l2src". Maybe Adam Mckenzie, who has made most of the work in the >>>> current Capture Agent, has a better idea.**** >>>> >>>> ** ** >>>> >>>> Regards**** >>>> >>>> ** ** >>>> >>>> ** ** >>>> >>>> Rubén Pérez**** >>>> >>>> TELTEK Video Research**** >>>> >>>> www.teltek.es**** >>>> >>>> >>>> >>>> **** >>>> >>>> 2012/11/20 Oriol Pellicer i Sabrià <[email protected]>**** >>>> >>>> Hello, >>>> >>>> thanks for your answer, but it keeps crashing. However, the logs are >>>> showing some interesting messages: >>>> >>>> [...] >>>> org.opencastproject.capture.pipeline.bins.UnableToCreateElementException: >>>> Epiphan_VGA2USB could not create v4lsrc at >>>> [...] >>>> >>>> If I execute: >>>> >>>> gst-launch --gst-debug-no-color -e --gst-debug=2 v4lsrc >>>> device=/dev/vga2usb0 ! fakesink >>>> >>>> I get this error: >>>> >>>> 0:00:00.027119101 2438 0x1aad080 ERROR GST_PIPELINE >>>> ./grammar.y:661:_gst_parse_yyparse: no element "v4lsrc" >>>> 0:00:00.027165534 2438 0x1aad080 ERROR GST_PIPELINE >>>> ./grammar.y:929:_gst_parse_launch: Unrecoverable syntax error while parsing >>>> pipeline v4lsrc device=/dev/vga2usb0 ! fakesink >>>> ERROR: pipeline could not be constructed: no element "v4lsrc". >>>> >>>> I've tried the v4l2src and it says that it isn't a v4l2 driver. I'm >>>> thinking that maybe the problem is that I haven't the v4lsrc plugin for the >>>> gstreamer. >>>> >>>> # gstreamer-properties >>>> [...] >>>> # gstreamer-properties-Message: Skipping unavailable plugin 'v4lsrc' >>>> [...] >>>> >>>> Is there any easy way to install the v4lsrc plugin for the gstreamer >>>> 0.10 in a Ubuntu 10.10 x86_64? >>>> >>>> >>>> Thank you!**** >>>> >>>> ** ** >>>> >>>> 2012/11/20 Long, Warren <[email protected]> **** >>>> >>>> ** ** >>>> >>>> (novice responding here, but we have spent some time with 1.3.1 and >>>> capture agents. And this is what has burned us EVERY time.) **** >>>> >>>> ** ** >>>> >>>> Make sure you have a good and continuous video signal to the Epiphan, >>>> before even allowing the machine to boot! **** >>>> >>>> ** ** >>>> >>>> W**** >>>> >>>> ** ** >>>> >>>> On 2012-11-20, at 8:55 AM, Oriol Pellicer i Sabrià wrote:**** >>>> >>>> ** ** >>>> >>>> Hello, >>>> >>>> after a successful Core Server installation on a dedicated server, I'm >>>> trying to install the Capture Agent 1.3.1 on a PC running Ubuntu 10.10 64 >>>> bits, but I can't configure properly nor the Epiphan VGA2USB Card neither >>>> the BlackMagicDesign Intensity Pro PCI-Express card. >>>> >>>> Problem1 -> VGA2USB: I'm able to capture the vga output using mencoder: >>>> >>>> mencoder -oac lavc -ovc lavc -lavcopts >>>> vcodec=mpeg4:keyint=100:vbitrate=8000:vhq -noaspect -o >>>> /home/client/test3.avi -tv >>>> noaudio:driver=v4l:outfmt=bgr24:device=/dev/video0 tv:// >>>> >>>> However, from http://localhost:8080/capture I can start/stop >>>> capturing, but the file Epiphan_VGA2USB.mpg is empty (0 Bytes). >>>> >>>> The configuration in >>>> /opt/matterhorn/felix/conf/services/org.opencastproject.capture.impl.ConfigurationManager.properties: >>>> >>>> [...] >>>> capture.device.Epiphan_VGA2USB.src=/dev/video0 >>>> capture.device.Epiphan_VGA2USB.outputfile=Epiphan_VGA2USB.mpg >>>> capture.device.Epiphan_VGA2USB.flavor=presenter/source >>>> capture.device.Epiphan_VGA2USB.buffer.bytes=536870912 >>>> capture.device.Epiphan_VGA2USB.type=EPIPHAN_VGA2USB >>>> capture.device.Epiphan_VGA2USB.confidence.interval=10 >>>> [...] >>>> >>>> Problem2 -> Intensity PRO: >>>> >>>> From my point, the card is properly detected: >>>> >>>> root@client-desktop:/opt/matterhorn# dmesg | grep blackmagic >>>> [ 11.866896] blackmagic: module license 'Proprietary' taints kernel. >>>> [ 11.874589] blackmagic: Loading driver (version: 9.6.7a19) >>>> [ 11.888797] blackmagic_driver 0000:03:00.0: PCI INT A -> GSI 28 >>>> (level, low) -> IRQ 28 >>>> [ 11.888805] blackmagic_driver 0000:03:00.0: setting latency timer to >>>> 64 >>>> [ 11.888810] blackmagic_driver 0000:03:00.0: PCI: Disallowing DAC for >>>> device >>>> [ 11.888858] blackmagic_driver 0000:03:00.0: setting latency timer to >>>> 64 >>>> [ 16.049947] blackmagic: Successfully loaded device "blackmagic0" >>>> [pci@0000:03:00.0] >>>> >>>> I had to install an updated gstreamer from PPA ( >>>> http://ppa.launchpad.net/gstreamer-developers/ppa/ubuntu) since the >>>> svn server from the guide doesn't exists anymore. Now I have an updated >>>> version of gstreamer-plugins-bad: 0.10.22, that includes decklinksrc. >>>> >>>> However, I can run gst-inspect decklinksrc but I suspect that the >>>> output is not the desired: >>>> >>>> Factory Details: >>>> Long name: Decklink source >>>> Class: Source/Video >>>> Description: DeckLink Source >>>> Author(s): David Schleef <[email protected]> >>>> Rank: none (0) >>>> Plugin Details: >>>> Name: decklink >>>> Description: Blackmagic Decklink plugin >>>> Filename: /usr/lib/gstreamer-0.10/libgstdecklink.so >>>> Version: 0.10.22 >>>> License: LGPL >>>> Source module: gst-plugins-bad >>>> Source release date: 2011-05-10 >>>> Binary package: GStreamer Bad Plug-ins >>>> Origin URL: >>>> https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad0.10 >>>> [...] >>>> Element Properties: >>>> name : The name of the object >>>> flags: readable, writable >>>> String. Default: null Current: "decklinksrc0" >>>> >>>> I think that is missing the final part where is defined the "input" and >>>> the "input-mode" and without that I can't execute this: >>>> >>>> gst-launch -v -m decklinksrc input=HDMI input-mode=4 ! queue ! >>>> ffmpegcolorspace ! ffenc_mpeg2video ! mpegtsmux ! filesink >>>> location=/tmp/test.mpg >>>> WARNING: erroneous pipeline: no property "input" in element >>>> "decklinksrc0" >>>> >>>> >>>> Thank you and sorry for the huge extension :) >>>> >>>> >>>> Oriol.**** >>>> >>>> _______________________________________________ >>>> Matterhorn-users mailing list >>>> [email protected] >>>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users**** >>>> >>>> ** ** >>>> >>>> _____________________________________**** >>>> >>>> ** ** >>>> >>>> >>>> *Warren Long* **** >>>> >>>> * Senior Instructional Support Specialist***** >>>> >>>> Information and Communications Technology**** >>>> >>>> Email: [email protected]**** >>>> >>>> Ph: (306) 966-5426**** >>>> >>>> **** >>>> >>>> >>>> **** >>>> >>>> ** ** >>>> >>>> >>>> _______________________________________________ >>>> 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**** >>>> >>>> ** ** >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>> >> >> _______________________________________________ >> 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 > >
_______________________________________________ Matterhorn-users mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
