Hello,

It's good to note that recording the CA's own screen is a highly
experimental feature, I agree with that, but I wouldn't say that one needs
to purchase third party software to do that. Gstreamer certainly can, and
that means that our capture agent is likely to do it, too.

Consider this pipeline: ximagesrc ! ffmpegcolorspace ! queue ! mpeg2enc !
mpegpsmux ! filesrc location=output.mpg . Running this with gst-launch
succesfully records the screen, so I guess that you could use this profile
in your capture agent (adding some sugar):

capture.device.ScreenCapture.type=CUSTOM_VIDEO_SRC
capture.device.ScreenCapture.customProducer= ximagesrc ! queue !
ffmpegcolorspace ! videorate ! videoscale add-borders=true !
video/x-raw-yuv,width=1920,height=1080,rate=25/1 ! queue
capture.device.ScreenCapture.flavor=presentation/source
capture.device.ScreenCapture.outputfile=screen.mpg
capture.device.ScreenCapture.src=/dev/screen

Note that ideally you need to adapt the values of width and height to match
your actual screen size. Otherwise you may lose quality due to rescaling.
Also, make sure that you add the name ScreenCapture to the property
capture.device.names, so that it appears in the Schedule UI.

*Bear in mind that this is an advanced configuration of the capture agent*,
and that *this may not work at all*. I don't have a capture agent myself to
test if it works, but *it should work with minimal changes to the suggested
customProducer parameter.* However this has its limitations: you are forced
to capture the whole screen, not a specific window (although ximagesrc does
allow that possibility). In any case, *make a backup copy* of your config
file, so that you can revert these changes easily and go back to a working
capture agent in no time.

Of course, you will probably capture in a simpler way and with better
quality using 3rd party software, like Camtasia, which is a great product
with many satisfied costumers. However, as a member of the Opencast
community, I personally prefer to inform you about the purely-Matterhorn
alternatives (emphasizing again the fact that what you intend to do is *
experimental*) and encourage you to give them a try.

Best regards
Rubén


2012/7/24 adeseye a. (aa5g11) <[email protected]>

> Hello,
>
> Thanks for your response. so what you basically saying is that I need to
> purchase an hardware, the ephiphian vga to usb I guess, how much will this
> cost and can I install it on a laptop. also if am gonna use a third party
> software like camtasia studio as you recommended. Will it work
> automatically when I schedule a recording or I have to manually use the
> software to record and upload the recording onto matterhorn.
> Am still having errors when I try to process media files, it still gives
> the media could not be inspected error.
>
> thanks
> ________________________________________
> From: Christopher Brooks [[email protected]]
> Sent: 24 July 2012 04:01
> To: Matterhorn Users
> Cc: [email protected]
> Subject: Re: [Matterhorn-users] capture fails to start
>
> Hi Yemi,
>
> You don't have another option to capture the screen with Matterhorn
> directly; it requires hardware capture.  You would need to use some
> third party software to do your screen capture and then ingest the files
> manually. I think Ruediger had some folks working on a option for this,
> but you could also use something like Camtasia Studio or some of the
> various free cam recorder solutions.
>
> Regards,
>
> Chris
>
> On Tue, 24 Jul 2012 00:13:45 +0000
> "adeseye a. (aa5g11)" <[email protected]> wrote:
>
> > I have been able to capture both my voice and the voice from the
> > screen. but some few things are still left unachieved.
> >
> > capturing the screen (vga output from my laptop)
> > the media could not be inspected error still persist ( the file never
> > gets processed to engage and the rss feed)
> >
> > Yemi
> > ________________________________
> > From: adeseye a. (aa5g11)
> > Sent: 24 July 2012 00:39
> > To: [email protected]
> > Subject: RE: capture fails to start
> >
> > I scheduled a recording and it captured the sound from the video I
> > was streaming on the internet but still it failed with the error
> > media cannot be processed after finishing capture. Am not sure why
> > its failing here. can someone help please. also if i want to capture
> > my voice, and not the voice of the video i was streaming, how can I
> > achieve this and lastly I am using a laptop and hence I cannot use
> > the ephiphan driver, If i want to capture the vga signals, what
> > alternatives are available to me.
> >
> > Thanks
> > ________________________________
> > From: adeseye a. (aa5g11)
> > Sent: 23 July 2012 22:15
> > To: [email protected]
> > Subject: RE: capture fails to start
> >
> > I did a fresh installation on ubuntu 10.10 and it properly identified
> > the audio driver on my laptop and I specified the capture to be
> > mpeg2, but everytime I click on capture. it says capturing and never
> > changes and also when I try to upload an m4a and mp3 file. it fails
> > with the error media cannot be processed. When I run a demo capture
> > from the capture agent, it works fine but I cant hear any audio sound
> > from it. am I doing something wrong. kindly find attached the CA
> > files, the core file remain the same, I made no change to the core.
> >
> > Ah, changing the file extension alone will not do what you want.  You
> > will have to set custom encoding pipeline to encode to mp3.  Take a
> > look at the .customProducer directive in the
> > org.opencastproject.capture.impl.ConfigurationManager.properties files
> > to specify this
> > ________________________________
> > From: adeseye a. (aa5g11)
> > Sent: 20 July 2012 23:55
> > To: [email protected]
> > Subject: RE: capture fails to start
> >
> > Find also the capture of the config from the core.
> > ________________________________
> > From: adeseye a. (aa5g11)
> > Sent: 20 July 2012 23:54
> > To: [email protected]
> > Subject: RE: capture fails to start
> >
> > ________________________________
> > To explains the scenario well, while installing the capture agent, it
> > detected an audio device which was nameless. (am using an oracle vm
> > ubuntu 10.10) and i changed the name to sound as seen in the CA
> > org.opencastproject.capture.impl.ConfigurationManager.properties. I
> > also added another alsa audio that is mp3 version, but still I get
> > the error message. find attached the captures from the CA.
> >
> >
> >
> >
> > To diagnose your issue we will need a couple of files.  Please send
> > config.properties from both your core and your CA, as well as
> > org.opencastproject.capture.impl.ConfigurationManager.properties from
> > your CA
> >
> >
> > From: adeseye a. (aa5g11)
> > Sent: 20 July 2012 10:35
> > To: [email protected]
> > Subject: RE: capture fails to start
> >
> > I changed the extension of the capture agent presenter/source from
> > mp2 to mp3 and it started capturing, however it still returns with
> > the error message on the CA core.
> >
> > org.opencastproject.inspection.impl.api.MediaAnalyzerException: Error
> > while running media analyzer mediainfo
> >
> >
> > yemi
> >
> >
> >
> > ________________________________
> > From: adeseye a. (aa5g11)
> > Sent: 20 July 2012 10:06
> > To: [email protected]
> > Subject: capture fails to start
> >
> > I installed the CA and each time I try to schedule a recording. it
> > returns with the error.
> >
> > WARNING : Recording may have failed to start or ingest!
> > It seems the core system did not receive proper status updates from
> > the Capture Agent that should have conducted this recording.
> >
> >
> >
> >
> > what could be the problem..
> >
> > Yemi
>
>
>
> _______________________________________________
> 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

Reply via email to