Opened 5 years ago

Closed 5 years ago

#3593 closed defect (invalid)

qtkit and avfoundation input devices not found

Reported by: Sarashinai Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I am compiling FFmpeg version 2.2.1 retrieved through Git on a 2.8 GHz Intel Core i7 iMac running 10.9.2.

"gcc --version" returns:
Configured with: --prefix=/Applications/Xcode?.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

I was following the Homebrew-based compilation instructions found at: https://trac.ffmpeg.org/wiki/MacOSXCompilationGuide

I started with "./configure --enable-shared --enable-indev=avfoundation --enable-indev=qtkit --enable-libx264 --enable-gpl" Which returned the results saved in configure results.txt.

Specifically important, this section:
Enabled indevs:
avfoundation lavfi qtkit

I then ran "make" which generated the results in make results.rtf. After that, I ran "./ffmpeg -formats" to check that qtkit and avfoundation were in the list. They weren't (see ffmpeg formats results.txt).

Just to be sure, I also ran "./ffmpeg -f qtkit -i "default" out.mpg" and "./ffmpeg -f avfoundation -i "default" out.mpg". Both resulted in an "Unknown input format" error (see test results.txt).

I have also included the config.log.

Attachments (8)

configure results.txt (10.9 KB) - added by Sarashinai 5 years ago.
ffmpeg formats results.txt (12.8 KB) - added by Sarashinai 5 years ago.
test results.txt (1.7 KB) - added by Sarashinai 5 years ago.
make results.rtf (105.2 KB) - added by Sarashinai 5 years ago.
config.log (300.4 KB) - added by Sarashinai 5 years ago.
Post-Compile FS.txt (901 bytes) - added by Sarashinai 5 years ago.
Pre-Compile FS.txt (656 bytes) - added by Sarashinai 5 years ago.
test results 2.txt (32.1 KB) - added by Sarashinai 5 years ago.

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by Sarashinai

Changed 5 years ago by Sarashinai

Changed 5 years ago by Sarashinai

Changed 5 years ago by Sarashinai

Changed 5 years ago by Sarashinai

comment:1 in reply to: ↑ description Changed 5 years ago by cehoyos

  • Keywords qtkit avfoundation indevs removed
  • Priority changed from important to normal
  • Resolution set to invalid
  • Status changed from new to closed
  • Version changed from 2.2.1 to unspecified

Replying to Sarashinai:

--enable-indev=avfoundation --enable-indev=qtkit

Remove these two configure options, they have no effect.

You compiled a version that supports both qtkit and avfoundation but you tested another (older) version which does not yet support them. If you don't use shared libraries, you can run ./ffmpeg from the build directory without installing.

comment:2 follow-up: Changed 5 years ago by Sarashinai

  • Resolution invalid deleted
  • Status changed from closed to reopened

I ran "make clean" and then pwd followed by ls. Please see Pre-Compile FS.txt for the results.

I then ran "/configure --enable-shared --enable-libx264 --enable-gpl" followed by make, pwd, and ls. Please see Post-Compile FS.txt for the results.

I then ran the same tests as shown in the original ticket description with the same results. Please see test results 2.txt for the log.a

As far as I can understand, this is what you meant by running ./ffmpeg from the build directory which is what I did in the original ticket.

Changed 5 years ago by Sarashinai

Changed 5 years ago by Sarashinai

Changed 5 years ago by Sarashinai

comment:3 in reply to: ↑ 2 Changed 5 years ago by cehoyos

  • Resolution set to invalid
  • Status changed from reopened to closed

Replying to Sarashinai:

As far as I can understand, this is what you meant by running ./ffmpeg from the build directory which is what I did in the original ticket.

I wrote:

If you don't use shared libraries, you can run ./ffmpeg from the build directory without installing.

Now remove --enable-shared from your configure line, bug reports that contain WARNING: library configuration mismatch are invalid by default.

Please understand that this is a bug tracker, not a support forum, see http://ffmpeg.org/contact.html

Note: See TracTickets for help on using tickets.