Thank you very much Dan,

Incidentally, I've been heavily using the command line in Slackware for a third of my life. I'm a big fan of kinodv, it was simple, straight forward, and I could get done what I wanted.

I've tried various newer video editors over the years since then, sometimes able to get them to work and sometimes not. The best I tried so far was kdenlive, and it worked the previous couple of installs, but I was unable to get it to build last week and eventually died a dependency hell death with some cryptic error and I gave up.

I don't do anything fancy with videos, I just like to excerpt out the interesting parts and line up several smaller clips end to end, etc.

I've always been frustrated that there wasn't a simple tool with low dependencies that'd allow me to do simple video editing at the command line - I just want to do simple stuff, so it was frustrating when I'd spend all day chasing dependencies finally to end at one I could not solve, and still not have a working solution.

Why not something like vi but for videos? something simple with low user interface dependencies?

Then I found out about mlt and that is why I was so excited to see that it had melt with it!!


As you may know, slackware does not have a stale version of 98% of all packages available and prebuilt. To a large degree, if I want something, I need to compile it and all its dependencies, which I don't mind, but it is bothersome spending days grinding through dependencies only to end at a cryptic gcc error --- all for a fancy user interface I don't even want or need.

Anyway, thank you very much for your suggestions - because of them I determined that PKG_CONFIG_PATH did not include the folder where the ffmpeg install was putting it's .pc file, and that's why mlt was skipping libavformat.

So I set the PKG_CONFIG_PATH variable and now it's finding it, and trying to use it, but bailing with:

//usr/lib64/gcc/x86_64-slackware-linux/5.3.0/../../../../x86_64-slackware-linux/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC/

The only reason I was manually specifying --avformat-shared was because it was the only I could think to try at the time, since nothing else I tried was working.

Thank you very much!

Jesse Gordon







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