On Thu, Sep 13, 2012 at 1:31 PM, Janne Liljeblad
<[email protected]> wrote:
> I did the following:
>
> I removed Flowblade, Openshot and Kdenlive from the system an did
> 'apt-get autoremove' which removed packages: libmlt++3 libmlt-data
> libmlt4 melt python-mlt3.
>
> Then I installed git head mlt with configure-make-install.

I do things a little differently. I install to $HOME/opt and then
setup environment variables, but I only update that periodically.
Normally, while developing I cd ~/src/mlt and 'source setenv'. That
method sets up env vars redirecting everything into my MLT in-tree
build.

> Then I was able to make and install mlt bindings with the attached
> modified /src/swig/python/build script. but got the following error

Then, I run swig builds.

> when running development Flowblade:
>
> ERROR: /usr/lib/python2.7/dist-packages/_mlt.so: undefined symbol: 
> _Py_RefTotal

>From there, I do not "install" the python-mlt binding. I copy mlt.py
and _mlt.so to the flowblade source folder. Then, I just cd to
flowblade and ./flowblade.

>  However, the example in /src/swig/python/play.py runned and displayed
> the following:
>
> /home/janne/asdd.mp4:
>
>  File Size: 8.73M
>   Encoding: Signed PCM
>   Channels: 2 @ 16-bit
> Samplerate: 48000Hz
> Replaygain: off
>   Duration: unknown
>
> In:0.00% 00:00:00.00 [00:00:00.00] Out:0     [      |      ]
> Clip:0    [mp3 @ 0xceeb60] Header missing
> In:0.00% 00:00:00.00 [00:00:00.00] Out:0     [      |      ]        Clip:0
> Done.
>
> So I think the bindings were created correctly but I installed them wrong.
>
> Do you have any ideas how to go on from here?
>

run 'ldd /usr/lib/python2.7/dist-packages/_mlt.so' to see if all the
dependencies are linked


-- 
+-DRD-+

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to