Results 1 to 2 of 2

Thread: Ffmpeg?

  1. #1
    Join Date
    Nov 2009
    Posts
    59
    Thanks
    20
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Ffmpeg?

    I installed FFMPEG on Ferdora 11 and i Use Qt to use FFMPEG's libs buts it gives me errors.
    Who could help me?
    thanks so much



    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/utils.c:1146: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(h263.o): In function `decode_user_data':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/h263.c:5828: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/pngdec.c:593: undefined reference to `av_freep'
    /usr/local/lib/libavcodec.a(rv10.o): In function `rv_decode_dc':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:222: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(rv10.o): In function `rv20_decode_picture_header':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:410: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(rv10.o): In function `rv10_decode_packet':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:619: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(rv10.o): In function `rv20_decode_picture_header':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:446: undefined reference to `ff_log2_tab'
    /usr/local/lib/libavcodec.a(rv10.o): In function `rv10_decode_packet':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:698: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(rv10.o): In function `rv20_decode_picture_header':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:431: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:415: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:516: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:493: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(rv10.o):/home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/rv10.c:625: more undefined references to `av_log' follow
    /usr/local/lib/libavcodec.a(snow.o): In function `common_init_after_header':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:3763: undefined reference to `av_freep'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:3764: undefined reference to `av_mallocz'
    /usr/local/lib/libavcodec.a(snow.o): In function `slice_buffer_destroy':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:575: undefined reference to `av_freep'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:577: undefined reference to `av_freep'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:578: undefined reference to `av_freep'
    /usr/local/lib/libavcodec.a(snow.o): In function `av_log2':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /usr/local/lib/libavcodec.a(snow.o): In function `get_block_bits':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:2770: undefined reference to `ff_log2_tab'
    /usr/local/lib/libavcodec.a(snow.o): In function `av_log2':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /usr/local/lib/libavcodec.a(snow.o):/home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:2777: more undefined references to `ff_log2_tab' follow
    /usr/local/lib/libavcodec.a(snow.o): In function `encode_subband_c0run':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:1400: undefined reference to `av_log'
    /usr/local/lib/libavcodec.a(snow.o): In function `av_log2':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/common.h:145: undefined reference to `ff_log2_tab'
    /usr/local/lib/libavcodec.a(snow.o):/home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:1855: more undefined references to `ff_log2_tab' follow
    /usr/local/lib/libavcodec.a(snow.o): In function `ff_sqrt':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:171: undefined reference to `ff_sqrt_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:168: undefined reference to `ff_sqrt_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:168: undefined reference to `ff_sqrt_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:171: undefined reference to `ff_sqrt_tab'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:169: undefined reference to `ff_sqrt_tab'
    /usr/local/lib/libavcodec.a(snow.o):/home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:169: more undefined references to `ff_sqrt_tab' follow
    /usr/local/lib/libavcodec.a(snow.o): In function `ff_sqrt':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/./libavutil/internal.h:175: undefined reference to `ff_log2_tab'
    /usr/local/lib/libavcodec.a(snow.o):/home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:4029: more undefined references to `av_mallocz' follow
    /usr/local/lib/libavcodec.a(snow.o): In function `encode_init':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/snow.c:4051: undefined reference to `av_log'l/lib/libavcodec.a(opt.o): In function `opt_list':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:73: undefined reference to `av_d2q'
    /usr/local/lib/libavcodec.a(opt.o): In function `av_opt_set_defaults2':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:447: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:438: undefined reference to `av_d2q'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:427: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:447: undefined reference to `av_log'
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:438: undefined reference to `av_d2q'

    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:134: undefined reference to `av_free'
    /usr/local/lib/libavcodec.a(opt.o): In function `av_get_q':
    /home/nthung/Download/FFMPEG1/ffmpeg-0.5.1/libavcodec/opt.c:310: undefined reference to `av_d2q'
    collect2: ld returned 1 exit status
    make: *** [FFMPEG] Error 1
    Exited with code 2.
    Error while building project FFMPEG
    When executing build step 'Make'

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Ffmpeg?

    are you getting these error while building FFMPEG? (it looks like it)
    Some dependencies are missing.
    You should read the install/readme or install documentation of FFMPEG to see which other libs you need.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. How to get ffmpeg output
    By linuxoid in forum Newbie
    Replies: 2
    Last Post: 15th March 2012, 16:06
  2. QImage data via FFmpeg
    By Degenko in forum Qt Programming
    Replies: 9
    Last Post: 14th September 2010, 04:05
  3. do we have ffmpeg like in qt/qt-modules
    By h123 in forum Qt Programming
    Replies: 4
    Last Post: 9th January 2010, 03:09
  4. Replies: 2
    Last Post: 12th July 2009, 08:24
  5. linking problem (ffmpeg)
    By kralyk in forum Qt Programming
    Replies: 2
    Last Post: 13th April 2009, 07:35

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.