Opened 10 years ago

Closed 10 years ago

#3593 closed defect (invalid)

qtkit and avfoundation input devices not found

Reported by: Ari Black 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 Ari Black 10 years ago.
ffmpeg formats results.txt (12.8 KB ) - added by Ari Black 10 years ago.
test results.txt (1.7 KB ) - added by Ari Black 10 years ago.
make results.rtf (105.2 KB ) - added by Ari Black 10 years ago.
config.log (300.4 KB ) - added by Ari Black 10 years ago.
Post-Compile FS.txt (901 bytes ) - added by Ari Black 10 years ago.
Pre-Compile FS.txt (656 bytes ) - added by Ari Black 10 years ago.
test results 2.txt (32.1 KB ) - added by Ari Black 10 years ago.

Download all attachments as: .zip

Change History (11)

by Ari Black, 10 years ago

Attachment: configure results.txt added

by Ari Black, 10 years ago

Attachment: ffmpeg formats results.txt added

by Ari Black, 10 years ago

Attachment: test results.txt added

by Ari Black, 10 years ago

Attachment: make results.rtf added

by Ari Black, 10 years ago

Attachment: config.log added

in reply to:  description comment:1 by Carl Eugen Hoyos, 10 years ago

Keywords: qtkit avfoundation indevs removed
Priority: importantnormal
Resolution: invalid
Status: newclosed
Version: 2.2.1unspecified

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 by Ari Black, 10 years ago

Resolution: invalid
Status: closedreopened

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.

by Ari Black, 10 years ago

Attachment: Post-Compile FS.txt added

by Ari Black, 10 years ago

Attachment: Pre-Compile FS.txt added

by Ari Black, 10 years ago

Attachment: test results 2.txt added

in reply to:  2 comment:3 by Carl Eugen Hoyos, 10 years ago

Resolution: invalid
Status: reopenedclosed

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.