Menu

lqt_ffmpeg plugin lib needs -lavcodec

Help
Tom Shield
2007-11-17
2013-01-15
  • Tom Shield

    Tom Shield - 2007-11-17

    I found I had to edit the plugins/ffmpeg/Makefile line

    libswscale_libs = -L/usr3/local/lib -lswscale -lavutil -lavcodec

    (I configured with --prefix=/usr3/local)

    to add the -lavcodec to get the lqt_ffmpeg.so object to load without the error:

    lqt_ffmpeg.so: undefined symbol: avcodec_alloc_frame

    This is on Fedora 7 with ffmpeg version 2007-10-19 and libquicktime 1.0.1.

    Tom

     
    • Burkhard Plaum

      Burkhard Plaum - 2007-11-18

      Does the problem go away if you change line 18 of plugins/ffmpeg/Makefile.am from

      lqt_ffmpeg_la_LIBADD = @MODULE_LIBADD@ @AVCODEC_LIBS@ $(libswscale_libs)

      to

      lqt_ffmpeg_la_LIBADD = @MODULE_LIBADD@ $(libswscale_libs) @AVCODEC_LIBS@

      ?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.