I may be saying something completely stupid (in which case I'd like somebody
to point it out :P), but isn't it possible to wrap all that logic inside the
Encode() operation? I mean, since pipelines do not need to be hard-coded
anymore (thanks to Adam's work), and you can probably provide a pipeline or
a bin as an argument, you might probably keep a unique Encode() operation
with different arguments depending on what you want to Encode().

I am not implying that the approach you are proposing is not better than
what there is now; I'm just wondering if this breaking up in bins is only
related with the gstreamer framework structure, and if it would make sense
with other implementations of the Composer. After all, the API should remain
generic enough, and the implementation specifics should remain in the
implementation.

Again, sorry if what I'm saying makes no sense. Anyway, I'll follow this
thread with interest.

Best regards,
Rubén

2010/12/21 Christopher Brooks <[email protected]>

> 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.
>
> I propose we should consider thinking about rewriting some of the
> operation handlers as "bins" instead of as objects/services.  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.
>
> 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.
>
> 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