Opened 7 years ago

Closed 7 years ago

#6081 closed defect (fixed)

kVTCompressionPropertyKey_H264EntropyMode not available on osx 10.8

Reported by: Carl Eugen Hoyos Owned by: Rick Kern
Priority: minor Component: avcodec
Version: git-master Keywords: osx
Cc: kagami Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


As reported by forum user tygerbug, trying to run a current ffmpeg binary on osx shows:

dyld: Symbol not found: _kVTCompressionPropertyKey_H264EntropyMode
  Referenced from: /Applications/ffmpeg
  Expected in: /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
 in /Applications/ffmpeg
Trace/BPT trap: 5

Change History (7)

comment:1 by Rick Kern, 7 years ago

Owner: set to Rick Kern
Status: newopen

comment:2 by Rick Kern, 7 years ago

Resolution: fixed
Status: openclosed

comment:3 by kagami, 7 years ago


I'm still getting error Symbol not found: _kCVImageBufferColorPrimaries_ITU_R_2020 when trying to run latest ffmpeg on Maverics built on Sierra. libavcodec.dylib still includes references to such symbols:

$ nm -g libavcodec.57.dylib | grep R_2020
                 U _kCVImageBufferColorPrimaries_ITU_R_2020
                 U _kCVImageBufferTransferFunction_ITU_R_2020
                 U _kCVImageBufferYCbCrMatrix_ITU_R_2020

Do you know what might be the reason of that? These symbols are not available in 10.9 and linker obviously fails.

Problem goes away when I use --disable-videotoolbox configure option.

comment:4 by Carl Eugen Hoyos, 7 years ago

Cc: kagami added

Which version did you test?

comment:5 by kagami, 7 years ago

I built commit 7e4f32f4e4b93c95dcc872cb844c5548e69f352e with Homebrew on Sierra 10.12.3 and tested it on Maverics 10.9.5.

comment:6 by Rick Kern, 7 years ago

Resolution: fixed
Status: closedreopened

I see the issue. Difficult to test on my setup.

comment:7 by Rick Kern, 7 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.