Re: [Mlt-devel] reducing xml filesizes with repetitive filters

2020-05-10 Thread Dan Dennedy
On Sun, May 10, 2020 at 1:10 AM Mark Polesky via Mlt-devel <
mlt-devel@lists.sourceforge.net> wrote:

> Hi,
>
> I asked this question on stackoverflow a few days ago.  Thought I'd hit up
> the mailing list to see if I might get a bite here:
> https://stackoverflow.com/questions/61628423/
>
> =
>
> Possibly related, but separate question:
>
> Let's say I have a file 'included.mlt':
>
> 
>
> If I want to include that file inside another, none of the usual methods
> seem to work:
>
> 1) XInclude
>
> 
> http://www.w3.org/2001/XInclude;>
>   
>   
> 
>
> Responds with:
> Failed to load "includer.mlt"
>
> 2) external general entity
>
> 
>  
> ]>
> 
>   
>   
> 
>
> Responds with:
> [producer_xml] parse fatal: Entity 'included' failed to parse
>   row: 7  col: 13
> Failed to load "includer.mlt"
>
> Is there any way to do it?
>
> Thanks
>
>



But it will not work with a minimal MLT XML containing only a 
for some reason. It must include that producer in a  or
. Basically, if you create that included.mlt using the following
it works:
melt color:blue out=555 -consumer xml:included.mlt

Also, you need to be aware that mixing frame rates between the XML files
does not work.
You can learn from how popular open source MLT apps are doing things if
they save or export MLT XML. In Shotcut this is made available through File
> Open MLT XML as Clip.
___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel


[Mlt-devel] reducing xml filesizes with repetitive filters

2020-05-10 Thread Mark Polesky via Mlt-devel
Hi,

I asked this question on stackoverflow a few days ago.  Thought I'd hit up the 
mailing list to see if I might get a bite here:
https://stackoverflow.com/questions/61628423/

=

Possibly related, but separate question:

Let's say I have a file 'included.mlt':



If I want to include that file inside another, none of the usual methods seem 
to work:

1) XInclude


http://www.w3.org/2001/XInclude;>
  
  


Responds with:
Failed to load "includer.mlt"

2) external general entity



]>

  
  


Responds with:
[producer_xml] parse fatal: Entity 'included' failed to parse
  row: 7  col: 13
Failed to load "includer.mlt"

Is there any way to do it?

Thanks


___
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel