Well I got it working.

Seems the key points were these:

1: ffmpeg needed to be configured with --enable-shared, which is not the default.

2: I had to set my $PKG_CONFIG_PATH to include /usr/lib/pkgconfig/ for mlt to build because that's where ffmpeg install was putting it's .pc files.

3: I had to set $LD_LIBRARY_PATH to include /usr/lib and /usr/lib64 in order for mlt to find libavformat during runtime.


Probably it's all because slackware only recently began officially supporting 64 bit, and they may not have that all sorted out yet, AND I have it set up for multi-lib so I can run 32 and 64 bit programs.


Anyway, mlt seems to be working and I am /really really/ enjoying it!


Thank you all very much for the help, and for MLT!


~Jesse


On 09/30/2016 09:01 PM, Dan Dennedy wrote:
MLT is primarily a development framework. You are strongly encouraged to use a GUI app provided by your Linux distro such as Flowblade or Kdenlive. If you decide to continue with your own build, you should let pkg-config do the work of letting MLT configure find the FFmpeg libs instead of using --avformat-shared. If you do not know what pkg-config is, then go learn about it and the PKG_CONFIG_PATH environment variable. If you get through that, then "melt -query producers" will list the MLT plugins that can read files or synthesize video (ala color). Look for "avformat". Hope that helps.

On Fri, Sep 30, 2016 at 8:51 PM Jesse Gordon <tojes...@gmail.com <mailto:tojes...@gmail.com>> wrote:

    Oh blah, I meant to say that the jpeg file /displays/ fine, not
    that it displaces. Sorry.


    ~Jesse


    On 09/30/2016 08:50 PM, Jesse Gordon wrote:

    Some further info, and two specific questions:

    I tried playing a .jpeg file and that displaces.

    I can also specify color:red out=25 videofile.mpeg color:green
    and it plays the red and green fine but not the mpeg (Or any
    other video file I've tried so far.)

    I also tried a full path to my mpeg file, and also tried
    specifying /melt avformat:/somewhere/here/videofile.mpeg/

    None worked.


    Question: Is there a command I can type to see if mlt is supposed
    to be using ffmpeg to handle video files?

    Also, am I correct in my understanding that ffmpeg provides the
    video codec support to mlt for a wide range of common video formats?


    Thank you very much,


    Jesse


    On 09/29/2016 08:03 PM, Jesse Gordon wrote:
    Good day,

    I am very excited to read about mlt/melt, and and am trying to
    install and use it, but may be having some user error.

    My understanding is that I should be able to play common video
    files with /melt videofile.mpeg/

    Unfortunately, it won't work - it just gives usage.

    I did compile and install ffmpeg and it works and can play my
    video files.

    mlt does compile just fine, and I tried compiling it with the
    following options one at a time, but it never will play my video
    files.:

    |./configure --enable-gpl3 --enable-gpl
    --avformat-shared=/big/src/ffmpeg/libavformat/ ./configure
    --enable-gpl3 --enable-gpl ./configure|

    (Followed by /&& make && make install/ of course)

    However, /melt color:green/ plays a green box no problem, and I
    can mix and cross fade between different colors and all that.

    I'm using the latest slackware 14.2 64 bit for operating system,

    I would be most grateful for any clues on what I might be doing
    wrong and how to fix.

    Thank you and have a great day,

    Jesse


    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, SlashDot.org!
    http://sdm.link/slashdot_______________________________________________
    Mlt-devel mailing list
    Mlt-devel@lists.sourceforge.net
    <mailto:Mlt-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/mlt-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to