Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-26 Thread François Téchené



On 9/23/19 7:18 PM, DogFilm wrote:
> hmm, ok, so the answer is "no, there is no scripting for kdenlive
> available" - what is of course a major omission for an open source project.
> 

Implementing such a feature has nothing to do with the kind of license
you release the software under but more about the way the software is
designed.

You seem to have strong expectations on how Kdenlive should behave and
the features it should implement. So instead of expressing your
frustrations in this mailing list, I propose you to bring your
contribution and editing experience directly to the devs and designers
of Kdenlive. This is more what one would expect from a free software
project that is missing a feature and I think it is the best way to go
forward with getting those features implemented.


Now, regarding scripting, I don't know what you would like to implement
but you don't need to get a visual interface implemented in kdenlive to
start doing that. You can already write python scripts that manipulate
your Kdenlive file (it is XML) and run them through the command line.
You can write import/export modules or anything else that processes your
project file this way.

Cheers,

Fran??ois


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread j...@dodin.org

Le 23/09/2019 à 19:18, DogFilm a écrit :
hmm, ok, so the answer is "no, there is no scripting for kdenlive 
available" - what is of course a major omission for an open source project.




if you dare to look, the rendering can be seen as a script (same as the 
"render to file").


But the content of the said script is intimidating. To script one can 
use ffmpeg...


jdd

--
http://dodin.org


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread DogFilm
hmm, ok, so the answer is "no, there is no scripting for kdenlive
available" - what is of course a major omission for an open source project.

On Mon, Sep 23, 2019 at 6:50 PM  wrote:

> MLT has a Python API, but it's going to bottom out in authoring XML if you
> want to re-import it to Kdenlive. You shouldn't need to be modifying the
> XML directly.
>
> My choice of the phrase "by hand" was probably not the right one; what I
> meant to ask was if I should expect there to be issues if arbitrary valid
> changes to the MLT XML occur outside of Kdenlive's purview.
>
> El 23 sept 2019, a las 10:16, DogFilm  escribió:
>
> I would prefer a python api to editing xml files.
>
> On Mon, Sep 23, 2019 at 4:09 PM  wrote:
>
>> Are there any Kdenlive-specific gotchas here, or can you go back and
>> forth between editing the MLT XML "by hand" and editing in Kdenlive?
>>
>> > El 23 sept 2019, a las 02:58, Narcis Garcia 
>> escribió:
>> >
>> > Kdenlive is not the API: Kdenlive uses melt API.
>> > https://www.mltframework.org/
>> >
>> >
>> > El 22/9/19 a les 21:52, DogFilm ha escrit:
>> >> Can I write e.g. a Python script to do things in Kdenlive?
>> >>
>> >> I can not find any instructions about any kind of scripting n the
>> >> obvious places... was that feature really forgotten? In an open source
>> >> video editor? I hope I am wrong with that guess...
>> >>
>> >> Thanks!
>>
>


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread amindfv
MLT has a Python API, but it's going to bottom out in authoring XML if you want 
to re-import it to Kdenlive. You shouldn't need to be modifying the XML 
directly.

My choice of the phrase "by hand" was probably not the right one; what I meant 
to ask was if I should expect there to be issues if arbitrary valid changes to 
the MLT XML occur outside of Kdenlive's purview.

> El 23 sept 2019, a las 10:16, DogFilm  escribió:
> 
> I would prefer a python api to editing xml files.
> 
>> On Mon, Sep 23, 2019 at 4:09 PM  wrote:
>> Are there any Kdenlive-specific gotchas here, or can you go back and forth 
>> between editing the MLT XML "by hand" and editing in Kdenlive?
>> 
>> > El 23 sept 2019, a las 02:58, Narcis Garcia  
>> > escribió:
>> > 
>> > Kdenlive is not the API: Kdenlive uses melt API.
>> > https://www.mltframework.org/
>> > 
>> > 
>> > El 22/9/19 a les 21:52, DogFilm ha escrit:
>> >> Can I write e.g. a Python script to do things in Kdenlive?
>> >> 
>> >> I can not find any instructions about any kind of scripting n the
>> >> obvious places... was that feature really forgotten? In an open source
>> >> video editor? I hope I am wrong with that guess...
>> >> 
>> >> Thanks!


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread Narcis Garcia
http://home.avvanta.com/~steveha/xe.html


El 23/9/19 a les 16:16, DogFilm ha escrit:
> I would prefer a python api to editing xml files.
> 
> On Mon, Sep 23, 2019 at 4:09 PM  > wrote:
> 
> Are there any Kdenlive-specific gotchas here, or can you go back and
> forth between editing the MLT XML "by hand" and editing in Kdenlive?
> 
> > El 23 sept 2019, a las 02:58, Narcis Garcia  > escribió:
> >
> > Kdenlive is not the API: Kdenlive uses melt API.
> > https://www.mltframework.org/
> >
> >
> > El 22/9/19 a les 21:52, DogFilm ha escrit:
> >> Can I write e.g. a Python script to do things in Kdenlive?
> >>
> >> I can not find any instructions about any kind of scripting n the
> >> obvious places... was that feature really forgotten? In an open
> source
> >> video editor? I hope I am wrong with that guess...
> >>
> >> Thanks!
> 


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread DogFilm
I would prefer a python api to editing xml files.

On Mon, Sep 23, 2019 at 4:09 PM  wrote:

> Are there any Kdenlive-specific gotchas here, or can you go back and forth
> between editing the MLT XML "by hand" and editing in Kdenlive?
>
> > El 23 sept 2019, a las 02:58, Narcis Garcia 
> escribió:
> >
> > Kdenlive is not the API: Kdenlive uses melt API.
> > https://www.mltframework.org/
> >
> >
> > El 22/9/19 a les 21:52, DogFilm ha escrit:
> >> Can I write e.g. a Python script to do things in Kdenlive?
> >>
> >> I can not find any instructions about any kind of scripting n the
> >> obvious places... was that feature really forgotten? In an open source
> >> video editor? I hope I am wrong with that guess...
> >>
> >> Thanks!
>


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread amindfv
Are there any Kdenlive-specific gotchas here, or can you go back and forth 
between editing the MLT XML "by hand" and editing in Kdenlive?

> El 23 sept 2019, a las 02:58, Narcis Garcia  escribió:
> 
> Kdenlive is not the API: Kdenlive uses melt API.
> https://www.mltframework.org/
> 
> 
> El 22/9/19 a les 21:52, DogFilm ha escrit:
>> Can I write e.g. a Python script to do things in Kdenlive?
>> 
>> I can not find any instructions about any kind of scripting n the
>> obvious places... was that feature really forgotten? In an open source
>> video editor? I hope I am wrong with that guess...
>> 
>> Thanks!


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-23 Thread DogFilm
So instead of scriptng kdenlive you recommend writing scripts for melt? Is
there a good python library for melt?

On Mon, Sep 23, 2019 at 8:58 AM Narcis Garcia  wrote:

> Kdenlive is not the API: Kdenlive uses melt API.
> https://www.mltframework.org/
>
>
> El 22/9/19 a les 21:52, DogFilm ha escrit:
> > Can I write e.g. a Python script to do things in Kdenlive?
> >
> > I can not find any instructions about any kind of scripting n the
> > obvious places... was that feature really forgotten? In an open source
> > video editor? I hope I am wrong with that guess...
> >
> > Thanks!
>


Re: does kdenlive offer any scripting capabilities / programming api?

2019-09-22 Thread Narcis Garcia
Kdenlive is not the API: Kdenlive uses melt API.
https://www.mltframework.org/


El 22/9/19 a les 21:52, DogFilm ha escrit:
> Can I write e.g. a Python script to do things in Kdenlive?
> 
> I can not find any instructions about any kind of scripting n the
> obvious places... was that feature really forgotten? In an open source
> video editor? I hope I am wrong with that guess...
> 
> Thanks!


does kdenlive offer any scripting capabilities / programming api?

2019-09-22 Thread DogFilm
Can I write e.g. a Python script to do things in Kdenlive?

I can not find any instructions about any kind of scripting n the obvious
places... was that feature really forgotten? In an open source video
editor? I hope I am wrong with that guess...

Thanks!