Hello, These configuration did not work at all.
adeyemi@adeyemi-linux:~$ gst-launch ximagesrc ! ffmpegcolorspace ! queue ! mpeg2enc ! WARNING: erroneous pipeline: link without sink element adeyemi@adeyemi-linux:~$ > mpegpsmux ! filesrc location=output.mpg !: command not found adeyemi@adeyemi-linux:~$ 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 > It throws the error below on the core 23:07:00 INFO (IngestServiceImpl:256) - Ingesting zipped media package to /opt/matterhorn/content/ingest/08ba928e-eb8d-4488-837b-673c3abc9f12/1540.zip 23:07:01 WARN (IngestServiceImpl:694) - Failed to find a workflow with id '1453' 23:07:12 INFO (InspectWorkflowOperationHandler:128) - Inspecting track 'track-2' of 1453 23:07:17 WARN (MediaInspectionServiceImpl:430) - Error enriching track http://kanga-aa5g11.ecs.soton.ac.uk:8080/files/mediapackage/1453/track-2/screen.mpg org.opencastproject.inspection.api.MediaInspectionException: File at http://kanga-aa5g11.ecs.soton.ac.uk:8080/files/mediapackage/1453/track-2/screen.mpg does not seem to be a/v media at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrichTrack(MediaInspectionServiceImpl.java:354) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.enrich(MediaInspectionServiceImpl.java:308) at org.opencastproject.inspection.impl.MediaInspectionServiceImpl.process(MediaInspectionServiceImpl.java:157) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:184) at org.opencastproject.job.api.AbstractJobProducer$JobRunner.call(AbstractJobProducer.java:156) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) 23:07:17 ERROR (WorkflowOperationWorker:159) - Workflow operation 'inspect' failed org.opencastproject.workflow.api.WorkflowOperationException: Track http://kanga-aa5g11.ecs.soton.ac.uk:8080/files/mediapackage/1453/track-2/screen.mpg could not be inspected at org.opencastproject.workflow.handler.InspectWorkflowOperationHandler.start(InspectWorkflowOperationHandler.java:134) at org.opencastproject.workflow.impl.WorkflowOperationWorker.start(WorkflowOperationWorker.java:217) at org.opencastproject.workflow.impl.WorkflowOperationWorker.execute(WorkflowOperationWorker.java:139) at org.opencastproject.workflow.impl.WorkflowServiceImpl.runWorkflowOperation(WorkflowServiceImpl.java:710) at org.opencastproject.workflow.impl.WorkflowServiceImpl.process(WorkflowServiceImpl.java:1528) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1833) at org.opencastproject.workflow.impl.WorkflowServiceImpl$JobRunner.call(WorkflowServiceImpl.java:1806) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) 23:07:27 INFO (ZipWorkflowOperationHandler:158) - Archiving mediapackage 1453 in workflow Workflow {1541} 23:07:27 INFO (ZipWorkflowOperationHandler:176) - Adding zipped mediapackage 1453 to the failed.zips archive 23:07:27 INFO (ZipWorkflowOperationHandler:190) - Zipped mediapackage 1453 moved to the failed.zips archive --------------------------------------------------------------------------------------------------------------------------------------------------------------------- Yemi, Perhaps this is not the case anymore, but due to a design flaw the parametercapture.device.<name>.src must always exist so that it shows up in the Schedule UI. I think this is not the case anymore, but I left that there, just in case, because when you use a customProducer argument, the value in .src is irrelevant. I was aware that the file /dev/screen wouldn't probably exist in your computer, but this leads me to the question: have you actually tested it? If you did and failed, can you please paste the logs so that I can have some useful information about the error? As per the integration with other systems, I'm afraid I cannot help you. What I can do is telling you in which ways Matterhorn can import contents: 1. Using the ingest REST service, which basically gives you two possibilities: (http://opencast.jira.com/wiki/display/MH/IngestService) 1. Importing a .zip file containing a mediapackage (basically, all the media files, the metadata files and an .xml file calling "manifest" listing them all by categories) ( http://opencast.jira.com/wiki/display/MH/MediaPackage+Manifest) 2. Using a sequence of REST calls which first create a new mediapackage, then allow you to send, one by one, all the files within such mediapackage, and finally start its processing (refer to the first link). 2. Using the "Upload recording" UI, which basically does the same steps indicated in the item 1.2 in an automated way, before the curtains. 3. Dropping a .zip file containing a mediapackage (as described above) inside the /inbox directory (that's in FELIX_HOME/inbox). That would automatically trigger a workflow to process the mediapackage. 1. Alternatively, you can drop the unzipped media files in that folder (FELIX_HOME/inbox) and then, using the "Upload recording" UI, mark the "Designated inbox from server" radiobutton, and you can choose among a list of those files. You probably can find more detailed information in the wiki ( http://opencast.jira.com/wiki/display/MH/Matterhorn+Development+Wiki) and documentation ( http://opencast.jira.com/wiki/display/MHDOC/Matterhorn+Documentation) sites. That should help you to identify in which ways those systems can be integrated into Matterhorn. Best regards Rubén ________________________________________ From: adeseye a. (aa5g11) Sent: 24 July 2012 17:33 To: Christopher Brooks; Matterhorn Users Cc: [email protected] Subject: RE: [Matterhorn-users] capture fails to start Hello, I dont have the folder /dev/screen on my linux machine. Also, how do I configure camtasia to work, I also saw another software RecorditNow and DesktopRecorder from the Ubuntu software center. How can I possibly configure this to work and record the desktop vga output automatically and ingest it in matterhorn. Yemi ________________________________________ From: adeseye a. (aa5g11) Sent: 24 July 2012 11:38 To: Christopher Brooks; Matterhorn Users Cc: [email protected] Subject: RE: [Matterhorn-users] capture fails to start thanks. however if I try to use camtasia,how to i configure matterhorn to use it. Thanks, 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. From: adeseye a. (aa5g11) Sent: 24 July 2012 11:03 To: [email protected] Subject: RE: mp3 and mp4 encoding Also this are my encoding and workflow. hope this would work? 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 ________________________________________ From: adeseye a. (aa5g11) Sent: 24 July 2012 09:15 To: Christopher Brooks; Matterhorn Users Cc: [email protected] Subject: RE: [Matterhorn-users] capture fails to start 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
