Hi Josh, > composer API as we approach the 1.1 release. Still, it's good to > start planning for 1.2. Comments inline...
Right, I'm behind that of course. > Right, the operation handler API is not at all suited for this kind of > composition. We will certainly be able to replace some of the > operation handlers, such as image and possibly even text extraction, > but not others, such as "hold for trim", etc. Yes, and I think we should keep the operation handlers. No reason to not have aspects and objects if both lend themselves to different things! > Tobias and I have exchanged a few thoughts about this while talking > with Nejc about the gstreamer composer prototype. We think it is > important that we retain the ability perform these kinds of > operations via services as well. If all a client needs is a > watermark on an existing video file, why force them through a > workflow or a pipeline? Because it may mean another encode of the video...(for hard watermarks) > Even though everything *can* be done in one pipeline, there are many > use cases where this isn't practical. Any time a pesky human is > involved in the middle of processing, we need to break things up into Right, lots of places we want to continue to use operations. But, I envision more and more making it right into the pipeline for performance. For instance image segmentation; you could run trim and save it to an intermediate file for image segmentation alone, but if you're decompressing the media anyways, why bother reencoding it to fork off another service (which would have to decode the video again) to do the segmentation? Once pipelines are used there are a lot of performance gains to be had by considering which services could be turned into a subgraph. > separate operations, even if there's a performance penalty. > Operating on the frame level as well as the file level will be a > challenge, but I think it's viable to do both. I think it's not only viable but necessary. I don't think we should can the file approach we are doing, but just augment it with a pipelined approach. Lots to be thought about how to add the same kind of modularity to the pipeline approach though (e.g. how do we register new subgraphs and organize these together; my initial thoughts on this are in a little code snipit on the wiki). > That's the least of our worries... we've come up with all kinds of > crazy xsd's in the past. We're good at creating DSLs. The trick is > creating usable ones. The capture agent is using a similar process to create "user defined pipelines", so I think we need to make sure we're collaborating here. We might find we have more we can reuse than we figured. Chris -- Christopher Brooks, BSc, MSc ARIES Laboratory, University of Saskatchewan Web: http://www.cs.usask.ca/~cab938 Phone: 1.306.966.1442 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 mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
