On Tue, Oct 23, 2012 at 12:58 PM, Carl Karsten <[email protected]> wrote:
> On Tue, Oct 23, 2012 at 11:44 AM, Jan Arens
> <[email protected]> wrote:
>> Hi everybody,
>>
>> I'm developing a melted web GUI and run into a little problem:
>>
>> If i'm testing melted using telnet, everything works fine. I can attach
>> a video file to the playlist and play the video. It gets complicated if
>> i'm trying to use a XML based playlist.
>>
>> I created a simple playlist:
>>
>> <mlt>
>> <producer producer0="video">
>> <property name="resource">ib.m4v</property>
>> </producer>
>> <playlist id="playlist0">
>> <entry producer="producer0" in="0" out="250"/>
>> <entry producer="producer0" in="3000" out="4000"/>
>> </playlist>
>> </mlt>
>>
>> The video file used is located in the melted root folder and works
>> perfectly if attach it manually.
>>
>> I'm getting the following error if i'm  going to push this video to the
>> server:
>>
>> [producer_xml] failed to load producer "ib.m4v"
>>
>> Has anybody an idea why i'm getting this error?
>
> I never figured out what the current dir was, so just put the full path, like
>
>  <property name="resource">/home/carl/temp/ib.m4v</property>
>

Without a root attribute on the mlt element, relative paths are
relative to the document's location. But if you send XML over a
protocol like MVCP there is no such thing as "document's location,"
and the XML producer does not know about the melted server's document
root. Try adding a "root" attribute in the XML set to the same path as
the server's root.

-- 
+-DRD-+

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to