I have a theory that your colons might be confusing the loader. The loader
supports a feature were the service can be specified as part of the argument
with a colon delimiter:
https://github.com/mltframework/mlt/blob/master/src/modules/core/producer_loader.c#L45
Perhaps your colon is getting picked up by the loader and making it split the
path thinking that the first half is the service that should be used. If this
is the case, then colons in the path name are just not going to be supported.
~Brian
From: Carl Karsten <c...@personnelware.com>
To: mlt-devel <mlt-devel@lists.sourceforge.net>
Sent: Tuesday, December 1, 2015 6:17 PM
Subject: Re: [Mlt-devel] relative paths in .mlt
Um.. I can't figure out the pattern.
other than: give carl file names with colons and watch carl get mad.
If I remove the colon, everything works fine.
carl@twist:~/temp$ ./t.sh
+ cd /home/carl/temp
+ tree
.
├── buz
│ └── foo.mlt
├── foo
│ ├── bar:bar
│ │ └── 00_00_00.dv
│ └── baz
└── t.sh
+ cat buz/foo.mlt
<?xml version="1.0"?>
<mlt LC_NUMERIC="en_US.UTF-8" version="0.9.9" title="00_00_00.dv">
<producer id="producer0" >
<property name="resource">../foo/bar:bar/00_00_00.dv</property>
</producer>
</mlt>
+ melt buz/foo.mlt -consumer xml
[producer_xml] failed to load producer "../foo/bar:bar/00_00_00.dv"
+ cd buz
+ melt foo.mlt -consumer xml
[dv @ 0x1a8f9c0] Estimating duration from bitrate, this may be inaccurate
+ melt ./foo.mlt -consumer xml
[dv @ 0xcd3960] Estimating duration from bitrate, this may be inaccurate
+ melt ../buz/foo.mlt -consumer xml
[dv @ 0x1a77960] Estimating duration from bitrate, this may be inaccurate
+ cd ../foo
+ melt ../buz/foo.mlt -consumer xml
[dv @ 0x15dc960] Estimating duration from bitrate, this may be inaccurate
+ cd baz
+ melt ../../buz/foo.mlt -consumer xml
[producer_xml] failed to load producer "../foo/bar:bar/00_00_00.dv"
+ cd ../bar:bar
+ melt ../../buz/foo.mlt -consumer xml
[producer_xml] failed to load producer "../foo/bar:bar/00_00_00.dv"
On Tue, Dec 1, 2015 at 2:46 PM, Carl Karsten <c...@personnelware.com> wrote:
Hmm.. doing testing with just a path to the media file, so no mlt file. maybe
a different issue. I'll try a simple mlt file next.
this errors:
bar:bar/00_00_00.dv
these do not:
foo/bar:bar/00_00_00.dv./bar:bar/00_00_00.dv
../bar:bar/00_00_00.dv
carl@twist:~/temp$ tree foo/
foo/
├── bar:bar
│ └── 00_00_00.dv
└── baz
carl@twist:~/temp$ melt "foo/bar:bar/00_00_00.dv" -consumer xml > /dev/null
[dv @ 0x2231e00] Estimating duration from bitrate, this may be inaccurate
cd foo
carl@twist:~/temp/foo$ melt "bar:bar/00_00_00.dv" -consumer xml > /dev/null
Failed to load "bar:bar/00_00_00.dv"
carl@twist:~/temp/foo$ melt "./bar:bar/00_00_00.dv" -consumer xml > /dev/null
[dv @ 0xae1e00] Estimating duration from bitrate, this may be inaccurate
cd baz
carl@twist:~/temp/foo/baz$ melt "../bar:bar/00_00_00.dv" -consumer xml >
/dev/null
[dv @ 0xf2de00] Estimating duration from bitrate, this may be inaccurate
On Tue, Dec 1, 2015 at 12:59 PM, Carl Karsten <c...@personnelware.com> wrote:
It seems I can now use relitive paths in a .mlt file.
<property name="resource">../dv/Stowe_Hall/2015-11-14/video swang
11:14/Clip1ATK3.mov</property>
Is this expected to work?
And should it work with odd chars in the name, like colons?
some work, this does not:
(veyepar)juser@cnt1:~$ melt
Videos/veyepar/nodevember/nodevember15/custom/Building_simple_Nodejs_microservices_using_Hapi_and_Redis.mlt
-consumer xml
...
[producer_xml] failed to load producer "../dv/Stowe_Hall/2015-11-14/video swang
11:14/Clip1ATK3.mov"
but if I cd to the dir
(veyepar)juser@cnt1:~$ cd Videos/veyepar/nodevember/nodevember15/custom
(veyepar)juser@cnt1:~/Videos/veyepar/nodevember/nodevember15/custom$ melt
~/Videos/veyepar/nodevember/nodevember15/custom/Building_simple_Nodejs_microservices_using_Hapi_and_Redis.mlt
-consumer xml
(no error)
same with a sibling dir:
(veyepar)juser@cnt1:~/Videos/veyepar/nodevember/nodevember15/custom$ cd ../tmp
(veyepar)juser@cnt1:~/Videos/veyepar/nodevember/nodevember15/tmp$ melt
~/Videos/veyepar/nodevember/nodevember15/custom/Building_simple_Nodejs_microservices_using_Hapi_and_Redis.mlt
-consumer xml
(no error)
--
Carl K
--
Carl K
--
Carl K
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel