[FFmpeg-trac] #9566(undetermined:new): failed on compling ffmpeg of vf_yadif_videotoolbox.metal problem

FFmpeg trac at avcodec.org
Wed Dec 22 17:36:08 EET 2021


#9566: failed on compling ffmpeg of vf_yadif_videotoolbox.metal problem
-------------------------------------+-------------------------------------
             Reporter:  tommyknchan  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  ffmpeg       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 I'm using an Intel Macbook Pro (Retina 13-inch, Late 2013 edition) to
 homebrewing ffmpeg use custom configs as follow:

 {{{
 brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libcaca --with-openjpeg
 --with-fdk-aac --HEAD
 }}}

 Under working environment of MacOS Big Sur 11.6.1 and Xcode command line
 tool version 13.2. Yet, it happened failure of ffmpeg installation with
 the log follows:

 {{{
 ==> make install
 Last 15 lines from /Users/tommy/Library/Logs/Homebrew/ffmpeg/02.make:
 CC      libavfilter/lavfutils.o
 CC      libavfilter/log2_tab.o
 CC      libavfilter/lswsutils.o
 OBJCC   libavfilter/metal/utils.o
 HOSTCC  ffbuild/bin2c_host.o
 xcrun metal libavfilter/metal/vf_yadif_videotoolbox.metal -o
 libavfilter/metal/vf_yadif_videotoolbox.metal.air

 Failed to execute metal libavfilter/metal/vf_yadif_videotoolbox.metal -o
 libavfilter/metal/vf_yadif_videotoolbox.metal.air

 Xcode and/or the CLT appear to be misconfigured. Try one or both of the
 following:
   xcodebuild -license
   sudo xcode-select --switch /path/to/Xcode.app

 make: *** [libavfilter/metal/vf_yadif_videotoolbox.metal.air] Error 1
 make: *** Waiting for unfinished jobs....
 }}}

 Just asked the GitHub contributors with the same question, but they all
 said there is a problem of compling "vf_yadif_videotoolbox.metal" file on
 Intel Mac (ARM Mac seems no such problem per contributor's quote). Is it a
 problem of compilation during the process? Hope there will be some
 answers, thank you.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9566>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list