#3570(avdevice:new): AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick ----------------------------------+-------------------------------------- Reporter: xnohat | Type: defect Status: new | Priority: important Component: avdevice | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ----------------------------------+-------------------------------------- '''Summary of the bug: ''' AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick ''' How to reproduce:''' Follow the guide at https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide {{{ ./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable- libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-indev=avfoundation }}} But after ./configure script run, it not enable avfoundation indev {{{ Enabled bsfs: aac_adtstoasc imx_dump_header mp3_header_decompress chomp mjpeg2jpeg noise dump_extradata mjpega_dump_header remove_extradata h264_mp4toannexb mov2textsub text2movsub Enabled indevs: lavfi Enabled outdevs: sdl }}} '''Problem from this line in ./configure:''' {{{ # these are off by default, so fail if requested and not available enabled avfoundation_indev && { check_header_oc AVFoundation/AVFoundation.h || disable avfoundation_indev; } }}} It disabled permanently avfoundation_indev '''Patch suggest: ''' {{{ enabled avfoundation_indev }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: defect | Status: new Priority: normal | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: => osx * priority: important => normal * component: avdevice => build system Comment: Please run {{{./configure}}} and provide (the relevant part of) the file config.log. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: defect | Status: new Priority: normal | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by xnohat): Hi cehoyos, I attached with this ticket config.log of configure arg: {{{ ./configure --prefix=/usr/local --enable-gpl --enable-nonfree --enable- libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-indev=avfoundation }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: defect | Status: new Priority: normal | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by thilo.borgmann): AVFoundation compiles fine under Mavericks here. So this looks like an Xcode issue. What Xcode version are you using? And on which Mac? Does it have an integrated Camera? -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: enhancement | Status: new Priority: wish | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * priority: normal => wish * type: defect => enhancement Comment: This is using an old compiler (see ticket #3569), workaround is apparently to install current XCode: {{{ $ gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: enhancement | Status: new Priority: wish | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by cehoyos): Could you test if attached patch makes any difference? Does it allow autodetection and build? -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: enhancement | Status: open Priority: wish | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => open * reproduced: 0 => 1 Comment: I am able to reproduce the problem: AVFoundation cannot be built with Xcode 4.6.3 - gcc 4.2.1 llvm 2336.11.00 - on Mavericks, workaround is to install a more recent version of Xcode. I will attach a patch that fixes the issue here, tested with both the failing gcc version and clang 503.0.40. (The patch I attached a week ago does not help.) -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: enhancement | Status: open Priority: wish | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by cehoyos): Relevant thread on ffmpeg-devel about the change originally breaking the configure test: http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/176366 -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: enhancement | Status: open Priority: wish | Component: build Version: git-master | system Keywords: osx | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 1 -------------------------------------+------------------------------------- Comment (by ponpon): i face the problem under macosx 109 and gcc version 5.2.0 (MacPorts gcc5 5.2.0_0) . if the clang of apple is used, OK. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3570: AVFoundation indev cannot enabled when configure ffmpeg compile in Mac OS Marverick -------------------------------------+------------------------------------- Reporter: xnohat | Owner: Type: enhancement | Status: open Priority: wish | Component: build Version: git-master | system Keywords: osx | Resolution: avfoundation | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: osx => osx avfoundation -- Ticket URL: <https://trac.ffmpeg.org/ticket/3570#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg