Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132458

[static linking] undefined symbols for ffmpeg plugin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9
    • Multimedia
    • Linux/Wayland, macOS
    • Multimedia wk 5-6, Multimedia wk 7-8, Multimedia, weeks 9-10, Multimedia, weeks 11-12, Multimedia, weeks 13-14, Multimedia, weeks 15-16

    Description

      trying to link the ffmpeg plugin statically gives a lot of undefined symbols for the ffmpeg backend:

        "_av_buffer_create", referenced from:
            QFFmpeg::VideoEncoder::processOne() in libffmpegmediaplugin.a[46](qffmpegvideoencoder.cpp.o)
            allocHWFrame(AVBufferRef*, __CVBuffer* const&) in libffmpegmediaplugin.a[54](qavfsamplebufferdelegate.mm.o)
        "_av_buffer_ref", referenced from:
            QFFmpeg::CodecContext::create(AVStream*, AVFormatContext*, QFFmpeg::CodecContext::VideoCodecCreationPolicy) in libffmpegmediaplugin.a[37](qffmpegcodeccontext.cpp.o)
            QFFmpeg::VideoFrameEncoder::initCodecContext() in libffmpegmediaplugin.a[48](qffmpegvideoframeencoder.cpp.o)
            QFFmpeg::VideoFrameEncoder::initCodecContext() in libffmpegmediaplugin.a[48](qffmpegvideoframeencoder.cpp.o)
            allocHWFrame(AVBufferRef*, __CVBuffer* const&) in libffmpegmediaplugin.a[54](qavfsamplebufferdelegate.mm.o)
      [...]
      

      https://codereview.qt-project.org/c/qt/qtmultimedia/+/613823 contains a reproducer which fails to build (at least on macos and linux)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            artemiy Artem Dyomin
            timblechmann tim blechmann
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes