[FFmpeg-user] NSOSStatusErrorDomain Code=-12905
Ari Black
sarashinai at gmail.com
Sat May 24 19:51:57 CEST 2014
I have a Mac Mini running Mavericks (10.9.3) with a Logitech c270 USB
webcam. I downloaded the most recent archive of ffmpeg and configured
and made it:
./configure --prefix=/usr/local --extra-cflags="-I/usr/local/include"
--extra-ldflags="-L/usr/local/lib" --enable-libx264 --enable-gpl
make
Following the Mac OS X instructions from
https://trac.ffmpeg.org/wiki/How%20to%20capture%20a%20webcam%20input,
I'm running it from the compilation directory like so:
./ffmpeg -f avfoundation -list_devices true -i ""
ffmpeg version N-63403-gcba92a2 Copyright (c) 2000-2014 the FFmpeg developers
built on May 24 2014 07:27:11 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
configuration: --prefix=/usr/local
--extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
--enable-libx264 --enable-gpl
libavutil 52. 86.100 / 52. 86.100
libavcodec 55. 64.100 / 55. 64.100
libavformat 55. 40.100 / 55. 40.100
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
libpostproc 52. 3.100 / 52. 3.100
[AVFoundation input device @ 0x7fe53340d320] AVFoundation video devices:
[AVFoundation input device @ 0x7fe53340d320] [0] USB Camera
But when I try ./ffmpeg -f avfoundation -i "" out.mpg I get this:
2014-05-24 13:47:01.561 ffmpeg[96367:3e03] ***
AVCaptureVideoDataOutput warning: Output received the following error
while decompressing video: Error Domain=NSOSStatusErrorDomain
Code=-12905 "The operation couldn’t be completed. (OSStatus error
-12905.)". Make sure that the pixel buffer attributes of all outputs
are valid.
2014-05-24 13:47:01.593 ffmpeg[96367:3e03] ***
AVCaptureVideoDataOutput warning: Output received the following error
while decompressing video: Error Domain=NSOSStatusErrorDomain
Code=-12905 "The operation couldn’t be completed. (OSStatus error
-12905.)". Make sure that the pixel buffer attributes of all outputs
are valid.
2014-05-24 13:47:01.625 ffmpeg[96367:3e03] ***
AVCaptureVideoDataOutput warning: Output received the following error
while decompressing video: Error Domain=NSOSStatusErrorDomain
Code=-12905 "The operation couldn’t be completed. (OSStatus error
-12905.)". Make sure that the pixel buffer attributes of all outputs
are valid.
The light on the camera goes on but that error messages continues
forever unless I cancel the process. out.mpg is never created. I've
googled the error code and it seems to be related to the pixel format
but I've been unable to investigate further because I can't get
video4linux to compile on Mac OS X.
Can someone help me solve this?
More information about the ffmpeg-user
mailing list