> I think I will try that approach as part of learning the code base. > However, without modifying the current dynamictext implementation, > could I create a new custom filter plugin inserted prior to > dynamictext which can change the text dynamictext displays each frame?
Yes. Here is how it would work: 1) Create a new filter. Let's call it "foobar". The foobar filter must implement the filter_process function and set a property on the frame. It would look like this: static mlt_frame filter_process( mlt_filter filter, mlt_frame frame ) { mlt_properties frame_props = MLT_FILTER_PROPERTIES( frame ); mlt_properties_set( frame_props, "special_val", "This text to be displayed" ); } 2) Run melt and attach the foobar filter before the dynamic text filter. Tell the dynamictext filter to display the property you create: "special_val". melt color:red -attach foobar -attach dynamictext:#special_val# geometry="50%/50%:100%x100%:100" "special_val" must be enclosed in the "#" because that tells the filter that the string should be substituted with the corresponding property from the frame. The result of the command above will be a red frame with the text "This text to be displayed" overlayed. Of course, your new filter can have logic to put whatever unique text it wants on each frame and dynamictext will render it. ~BM ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ Mlt-devel mailing list Mlt-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mlt-devel