[FFmpeg-trac] #4880(avdevice:open): failure to record from webcam
FFmpeg
trac at avcodec.org
Fri Sep 25 19:01:53 CEST 2015
#4880: failure to record from webcam
-------------------------------------+-------------------------------------
Reporter: lr25374 | Owner:
Type: defect | thilo.borgmann
Priority: normal | Status: open
Version: git-master | Component: avdevice
Keywords: | Resolution:
avfoundation | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by lr25374):
{{{
% ffmpeg -f avfoundation -video_size 1184x656 -framerate 10 -i "1" -y
out.mpg
ffmpeg version N-42510-gaa6c43f Copyright (c) 2000-2015 the FFmpeg
developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-
opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc
--enable-libxvid --enable-vda
libavutil 55. 2.100 / 55. 2.100
libavcodec 57. 3.100 / 57. 3.100
libavformat 57. 2.100 / 57. 2.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 8.100 / 6. 8.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.100 / 2. 0.100
libpostproc 54. 0.100 / 54. 0.100
[avfoundation @ 0x7fc723000000] Selected pixel format (yuv420p) is not
supported by the input device.
[avfoundation @ 0x7fc723000000] Supported pixel formats:
[avfoundation @ 0x7fc723000000] uyvy422
[avfoundation @ 0x7fc723000000] yuyv422
[avfoundation @ 0x7fc723000000] nv12
[avfoundation @ 0x7fc723000000] 0rgb
[avfoundation @ 0x7fc723000000] bgr0
[avfoundation @ 0x7fc723000000] Overriding selected pixel format to use
uyvy422 instead.
Input #0, avfoundation, from '1':
Duration: N/A, start: 27542.969567, bitrate: N/A
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1184x656,
10 fps, 10 tbr, 1000k tbn, 1000k tbc
[mpeg1video @ 0x7fc72282dc00] MPEG1/2 does not support 10/1 fps
Output #0, mpeg, to 'out.mpg':
Stream #0:0: Video: mpeg1video, none, q=2-31, 128 kb/s, 10 fps
Metadata:
encoder : Lavc57.3.100 mpeg1video
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg1video (native))
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4880#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list