Thanks Chris for getting this conversation going.  We're still in the
technology integration phase, so we didn't want to change the composer API
as we approach the 1.1 release.  Still, it's good to start planning for
1.2.  Comments inline...

On Tue, Dec 21, 2010 at 5:00 AM, Christopher Brooks <[email protected]>wrote:

> The API right now includes calls to Encode() as if it were an atomic
> operation, but the use of gstreamer is fundamentally different from the
> use of ffmpeg here; we want to include workflow operations "inline".
> It's analogous to using aspects instead of objects; composition isn't
> gluing things together but is integrating them with a blender.
>

Yes, absolutely.


>
> I propose we should consider thinking about rewriting some of the
> operation handlers as "bins" instead of as objects/services.


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.


>  In
> particular, some of the upcoming operations like trim, composition,
> bumpers, watermarking, audio normalization, etc. work better as
> subgraphs in the pipeline call structure rather than services.
>

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?

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 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.


> Here's an example of a realistic pipeline requirement we might have
> locally, put together mostly as a discussion piece to illustrate how it
> might be different from the way we are currently doing it:
> http://opencast.jira.com/wiki/display/MH/Composer+Pipeline
>
> The callout note shows a fragment of how we might serialize this
> pipeline declaratively.  It would require a special purpose-build
> parser of our own to put together, but it's not too crazy as it's
> mostly gstreamer cli syntax.
>

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.


>
> Comments welcome, very much a work in progress.  Especially looking for
> thoughts on this issue from
> Adam/Nejc/Micah/Waldemar/Ruediger/Josh/Tobias/etc.
>
> Chris
> --
> Christopher Brooks, BSc, MSc
> ARIES Laboratory, University of Saskatchewan
>
> Web: http://www.cs.usask.ca/~cab938 <http://www.cs.usask.ca/%7Ecab938>
> 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]
> _______________________________________________
>
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to