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

FTBFS with ffmpeg-8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P0: Blocker P0: Blocker
    • None
    • 6.9.2
    • WebEngine
    • None
    • Linux/X11

      openSUSE is trying to switch to ffmpeg 8 and this causes build failures in qtwebengine 6.9.2 (and 5.15.18) with system ffmpeg

      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc: In function ‘media::VideoCodecProfile media::ProfileIDToVideoCodecProfile(int)’:
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:289:15: error: ‘FF_PROFILE_H264_CONSTRAINED’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_CONSTRAINED’?
      [ 2644s]   289 |   profile &= ~FF_PROFILE_H264_CONSTRAINED;
      [ 2644s]       |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |               AV_PROFILE_H264_CONSTRAINED
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:290:15: error: ‘FF_PROFILE_H264_INTRA’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_INTRA’?
      [ 2644s]   290 |   profile &= ~FF_PROFILE_H264_INTRA;
      [ 2644s]       |               ^~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |               AV_PROFILE_H264_INTRA
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:292:10: error: ‘FF_PROFILE_H264_BASELINE’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_BASELINE’?
      [ 2644s]   292 |     case FF_PROFILE_H264_BASELINE:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_BASELINE
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:294:10: error: ‘FF_PROFILE_H264_MAIN’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_MAIN’?
      [ 2644s]   294 |     case FF_PROFILE_H264_MAIN:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_MAIN
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:296:10: error: ‘FF_PROFILE_H264_EXTENDED’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_EXTENDED’?
      [ 2644s]   296 |     case FF_PROFILE_H264_EXTENDED:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_EXTENDED
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:298:10: error: ‘FF_PROFILE_H264_HIGH’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_HIGH’?
      [ 2644s]   298 |     case FF_PROFILE_H264_HIGH:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_HIGH
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:300:10: error: ‘FF_PROFILE_H264_HIGH_10’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_HIGH_10’?
      [ 2644s]   300 |     case FF_PROFILE_H264_HIGH_10:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_HIGH_10
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:302:10: error: ‘FF_PROFILE_H264_HIGH_422’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_HIGH_422’?
      [ 2644s]   302 |     case FF_PROFILE_H264_HIGH_422:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_HIGH_422
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:304:10: error: ‘FF_PROFILE_H264_HIGH_444_PREDICTIVE’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_HIGH_444_PREDICTIVE’?
      [ 2644s]   304 |     case FF_PROFILE_H264_HIGH_444_PREDICTIVE:
      [ 2644s]       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      [ 2644s]       |          AV_PROFILE_H264_HIGH_444_PREDICTIVE
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc: In function ‘int media::VideoCodecProfileToProfileID(VideoCodecProfile)’:
      [ 2644s] ../../../../../src/3rdparty/chromium/media/ffmpeg/ffmpeg_common.cc:315:14: error: ‘FF_PROFILE_H264_BASELINE’ was not declared in this scope; did you mean ‘AV_PROFILE_H264_BASELINE’?
      [ 2644s]   315 |       return FF_PROFILE_H264_BASELINE;
      [ 2644s]       |              ^~~~~~~~~~~~~~~~~~~~~~~~
      

      and so on.

      https://github.com/chromium/chromium/commit/129f48501a7 looks relevant

        For Gerrit Dashboard: QTBUG-139704
        # Subject Branch Project Status CR V

            moheim Moss Heim
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change