Hi, Did a little investigating tonight. There are two approaches to implementing trimming for a gstreamer composer that I can see. First, we could use the gnonlin elements. We would create gnlsources that wrap our input files for each time slice we want, then use the gnlcomposition to merge these together. This is complex but likely efficient as long as the composition can output frames of video without needing to finish opening all sources (otherwise it would be a memory hog).
The other way is to make a custom appsrc/appsink that eats frames we don't want to show. Or a custom element if someone wants to bust out C. Either way, this is less efficient (at least for the appsink method) but seems a lot more straight forward and lets us put trimming in a couple of different spots in the pipeline. Nejc, thought this might be interesting to you. 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] _______________________________________________
