Oriol, A couple comments:
1. The queue before ffmpegcolorspace isn't needed. It doesn't harm either, but it is not really necessary AFAIK. 2. You can always add the videorate element, and in fact it's very recommendable. In fact, the triplet "videorate ! videoscale ! ffmpegcolorspace" is so common that in gstreamer 1.0 they grouped them all in one single component "videoconvert". Adding that combination is almost always a good idea. 3. The three elements above work by adapting the (video rate | video scale | color space) between their input and output. Hence, you have to fix those properties in their "right side" so that they adapt them from their "left side". In other words, if you use a videorate element, but there is nothing that demands a fixed rate downstream, then the videorate does nothing. Therefore I recommend you to explicitly set some "caps" after those adapting elements, for instance: decklinksrc input=HDMI input-mode=4 ! queue ! videorate ! ffmpegcolorspace ! video/x-raw-yum, rate=30/1 ! queue Hope it helps, Rubén Pérez TELTEK Video Research www.teltek.es 2012/11/28 Oriol Pellicer i Sabrià <[email protected]> > You're right, I hadn't mentioned what camera I'm using: it's a Sony > HDR-CX190E, captured by hdmi through a Blackmagic Intensity Pro (PCI-X). > > I'm not sure if I can add the videorate flag to the decklinksrc driver, > but I'll investigate it. > > > Thank you, > > Oriol. > > 2012/11/28 Edmore Moyo <[email protected]> > >> Hi, >> >> We had sync issues a while back. Adding the *videorate* flag seems to >> have resulted in better output. >> >> Our config settings are something like this when using webcams. Pity >> you did not mention what camera you are using( or I might just have missed >> that somehow ). >> >> >> >> #Create the screen capture >> >> >> capture.device.Presentation.src=/dev/video1 >> >> >> capture.device.Presentation.outputfile=Presentation.avi >> >> >> capture.device.Presentation.flavor=presentation/source >> >> >> capture.device.Presentation.buffer.bytes=536870912 >> >> >> capture.device.Presentation.type=EPIPHAN_VGA2USB >> >> >> #Create the presenter capture >> >> >> capture.device.Presenter.customProducer=v4l2src device=/dev/video0 ! >> image/jpeg,width=1280,height=720,framerate=15/1 ! queue ! jpegdec ! >> *videorate *! ffmpegcolorspace >> >> >> capture.device.Presenter.flavor=presenter/source >> >> >> capture.device.Presenter.outputfile=Presenter.avi >> >> >> capture.device.Presenter.src=/dev/video0 >> >> >> capture.device.Presenter.type=CUSTOM_VIDEO_SRC >> >> >> #Create the audio capture >> >> >> capture.device.Audio.codec=flacenc >> >> >> capture.device.Audio.flavor=presenter/source >> >> >> capture.device.Audio.outputfile=audio.flac >> >> >> capture.device.Audio.src=hw:1,0 >> >> >> capture.device.Audio.type=ALSASRC >> >> >> capture.device.names=Audio,Presentation,Presenter >> >> >> Regards, >> >> Edmore Moyo >> >> CET >> >> UCT >> >> >>> Oriol Pellicer i Sabrià<[email protected]> 11/28/2012 2:09 PM >>> >> >> Hello, >> >> I'm having some problems syncing audio/video/vga. It seems that the video >> is fastest than the audio and vga presentation. The configuration in the CA >> is the following: >> >> [...] >> #Create the audio capture >> capture.device.PULSE.type=PULSESRC >> capture.device.PULSE.src=hw:0 >> capture.device.PULSE.flavor=presenter/source >> capture.device.PULSE.outputfile=PULSE.mp2 >> capture.device.PULSE.buffer.bytes=536870912 >> capture.device.PULSE.codec=lame >> capture.device.PULSE.codec.bitrate=192 >> >> #Create the presenter capture >> capture.device.CAMERA.type=CUSTOM_VIDEO_SRC >> capture.device.CAMERA.customProducer=decklinksrc input=HDMI input-mode=4 >> ! queue ! ffmpegcolorspace ! queue >> capture.device.CAMERA.flavor=presenter/source >> capture.device.CAMERA.outputfile=digicam.mpg >> capture.device.CAMERA.buffer.bytes=536870912 >> capture.device.CAMERA.framerate=15 >> >> #Create the screen capture >> capture.device.Epiphan_VGA2USB.src=/dev/video0 >> capture.device.Epiphan_VGA2USB.outputfile=Epiphan_VGA2USB.mpg >> capture.device.Epiphan_VGA2USB.flavor=presentation/source >> capture.device.Epiphan_VGA2USB.buffer.bytes=536870912 >> capture.device.Epiphan_VGA2USB.type=EPIPHAN_VGA2USB >> capture.device.Epiphan_VGA2USB.framerate=5 >> >> capture.device.names=CAMERA,Epiphan_VGA2USB,PULSE >> [END] >> >> My CA hardware: >> >> The PC is a Intel Core 2 Duo @ 2.13GHz with 3 Gb of ram and an integrated >> audio card (tested with alsa and pulseaudio with same results): >> >> 80:01.0 Audio device: VIA Technologies, Inc. VT1708/A [Azalia HDAC] (VIA >> High Definition Audio Controller) (rev 10) >> >> On recording, the AC CPU is idle at 0%, I attach a screenshot. Can I >> moderate the CPU consumption in some way? I've tried to limit the >> framerates with no luck. >> >> >> Greetings, >> >> Oriol. >> >> >> ### >> >> UNIVERSITY OF CAPE TOWN >> >> This e-mail is subject to the UCT ICT policies and e-mail disclaimer >> published on our website at >> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 >> 21 650 9111. This e-mail is intended only for the person(s) to whom it >> is addressed. If the e-mail has reached you in error, please notify the >> author. If you are not the intended recipient of the e-mail you may not >> use, disclose, copy, redirect or print the content. If this e-mail is not >> related to the business of UCT it is sent by the sender in the sender's >> individual capacity. >> >> ### >> >> _______________________________________________ >> 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
