[FFmpeg-trac] #3561(undetermined:new): AVFoundation input causes link failure

FFmpeg trac at avcodec.org
Mon Apr 14 20:30:52 CEST 2014


#3561: AVFoundation input causes link failure
-------------------------------------+-------------------------------------
               Reporter:  jeremyhu   |                  Owner:  borgmann@…
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 The darwin/armv7 buildbot stopped linking successfully between
 c486cfab792e53de3f5fc9f5082909ce687a3fe8 and
 eccec203978e53f897a3c6105d011bbdff2a978b

 http://fate.ffmpeg.org/history.cgi?slot=arm-osx10.9-apple-clang

 {{{
 LD      ffmpeg_g
 Undefined symbols for architecture armv7:
   "_CFRelease", referenced from:
       -[AVFFrameReceiver
 captureOutput:didOutputSampleBuffer:fromConnection:] in
 libavdevice.a(avfoundation.o)
       _avf_read_header in libavdevice.a(avfoundation.o)
       _avf_read_packet in libavdevice.a(avfoundation.o)
       _avf_close in libavdevice.a(avfoundation.o)
   "_CFRetain", referenced from:
       -[AVFFrameReceiver
 captureOutput:didOutputSampleBuffer:fromConnection:] in
 libavdevice.a(avfoundation.o)
   "_CFRunLoopRunInMode", referenced from:
       _avf_read_header in libavdevice.a(avfoundation.o)
   "_CVImageBufferGetEncodedSize", referenced from:
       _avf_read_header in libavdevice.a(avfoundation.o)
   "_CVPixelBufferGetBaseAddress", referenced from:
       _avf_read_packet in libavdevice.a(avfoundation.o)
   "_CVPixelBufferGetDataSize", referenced from:
       _avf_read_packet in libavdevice.a(avfoundation.o)
   "_CVPixelBufferLockBaseAddress", referenced from:
       _avf_read_packet in libavdevice.a(avfoundation.o)
   "_CVPixelBufferUnlockBaseAddress", referenced from:
       _avf_read_packet in libavdevice.a(avfoundation.o)
   "_OBJC_CLASS_$_NSAutoreleasePool", referenced from:
       objc-class-ref in libavdevice.a(avfoundation.o)
   "_OBJC_CLASS_$_NSDictionary", referenced from:
       objc-class-ref in libavdevice.a(avfoundation.o)
   "_OBJC_CLASS_$_NSNumber", referenced from:
       objc-class-ref in libavdevice.a(avfoundation.o)
   "_OBJC_CLASS_$_NSObject", referenced from:
       _OBJC_CLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
   "_OBJC_METACLASS_$_NSObject", referenced from:
       _OBJC_METACLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
   "__objc_empty_cache", referenced from:
       _OBJC_CLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
       _OBJC_METACLASS_$_AVFFrameReceiver in libavdevice.a(avfoundation.o)
   "_kCFRunLoopDefaultMode", referenced from:
       _avf_read_header in libavdevice.a(avfoundation.o)
   "_kCVPixelBufferPixelFormatTypeKey", referenced from:
       _avf_read_header in libavdevice.a(avfoundation.o)
   "_objc_enumerationMutation", referenced from:
       _avf_read_header in libavdevice.a(avfoundation.o)
   "_objc_msgSend", referenced from:
       _avf_read_header in libavdevice.a(avfoundation.o)
       _avf_close in libavdevice.a(avfoundation.o)
   "_objc_msgSendSuper2", referenced from:
       -[AVFFrameReceiver initWithContext:] in
 libavdevice.a(avfoundation.o)
 ld: symbol(s) not found for architecture armv7
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make: *** [ffmpeg_g] Error 1
 }}}

 I suspect this is fallout from:
 {{{
 commit d2417061ef50dbe606692fa24031e3d68cc6292b
 Author: Thilo Borgmann <borgmann at nue170.nue.tu-berlin.de>
 Date:   Fri Apr 11 17:29:07 2014 +0200

     Add AVFoundation input device.

     Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
 }}}

 avfoundation_indev_extralibs is missing:

 -framework CoreVideo -framework Foundation

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3561>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list