LiveCode 8 Library Component: MLT Video Editing Framework

Mark Wilcox mark at sorcery-ltd.co.uk
Sun Mar 22 04:48:25 EDT 2015


Hi David,

Module is a generic term with a specific meaning in MLT (and slightly different meanings in lots of other projects). Dependencies and how they're resolved tends to be platform specific.

C code is just code and can be packaged up to be linked in a static or dynamic way.

You have to research each platform (and in some cases project) separately to understand how things are managed. I'd love to give some high level article pointers but I've never read any (although some probably exist). I think most people learn the details by trying to build these things for themselves, or port them to new platforms.

LiveCode widget vs. shell command - a widget will be much more integrated. It depends what the library does as to whether this just adds convenience and performance, or makes the previously impossible possible.

Sorry those are very generic answers but you're opening up a very big topic and I'm typing on a phone. :)

Mark

Sent from my iPhone

> On 22 Mar 2015, at 07:58, David Bovill <david at viral.academy> wrote:
> 
> Thanks so much for the reply Mark. I would like to understand the
> difference between module and dependent code sufficiently to be able to
> look at C code and its documentation and understand this issue.
> 
> When a package manager (like brew) lists a bunch of things it is going to
> install is there a way to know what sort of dependency is being fetched?
> 
> Other questions (related to the one above) I'd like to get a handle on -
> specifically in this area of wrap-able command line tools: what are the
> advantages to wrapping a library in a widget over creating a library in
> livescript that makes shell calls?
> 
> * is there a speed advantage (its usually only one shell call out per
> library handler)
> 
> Taking MLT as an example - it uses / depends on FFMPEG. My assumption is
> that this is a module, and that if it were installed on my machine with an
> appropriate package manager then would my MLT widget library would be able
> to use FFMPEG?
> 
> Any pointers on reading / how to gain this level of knowledge would be
> greatly appreciated.
>> On Sun, 22 Mar 2015 at 06:40, Mark Wilcox <mark at sorcery-ltd.co.uk> wrote:
>> 
>> The framework is free of dependencies and probably quite easy to wrap as a
>> component for LiveCode 8. However, on it's own it doesn't do anything.
>> There are lots of modules that make it incredibly powerful but they do have
>> dependencies, some of them huge, like Qt. The video rendering is via SDL,
>> so it's not immediately clear how you'd integrate that with the rest of
>> your LiveCode app. It might be necessary to replace that module.
>> 
>> If you wanted to write video editing tools in LiveCode this might be a
>> good place to start. For other AV related functionality it'd probably be
>> better to go for simpler single purpose libraries.
>> 
>> Mark
>> 
>> Sent from my iPhone
>> 
>>> On 21 Mar 2015, at 17:16, David Bovill <david at viral.academy> wrote:
>>> 
>>> This framework is great and written in C -
>>> http://www.mltframework.org/bin/view/MLT/Framework
>>> 
>>> It's the basis for most of the best cross platform video editors. On OSX
>> I
>>> can recommend http://www.shotcut.org/
>>> 
>>> Does that look like a good candidate for a new LiveCode 8 library
>> component?
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list