| 1 | ffmpeg -f avfoundation -i "1:0" -frames:v 1 -c:v rawvideo out.yuv
|
|---|
| 2 | ffmpeg version N-80421-g0ea5805 Copyright (c) 2000-2016 the FFmpeg developers
|
|---|
| 3 | built with Apple LLVM version 7.0.2 (clang-700.1.81)
|
|---|
| 4 | configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-opengl
|
|---|
| 5 | libavutil 55. 24.100 / 55. 24.100
|
|---|
| 6 | libavcodec 57. 46.100 / 57. 46.100
|
|---|
| 7 | libavformat 57. 38.102 / 57. 38.102
|
|---|
| 8 | libavdevice 57. 0.101 / 57. 0.101
|
|---|
| 9 | libavfilter 6. 46.102 / 6. 46.102
|
|---|
| 10 | libswscale 4. 1.100 / 4. 1.100
|
|---|
| 11 | libswresample 2. 1.100 / 2. 1.100
|
|---|
| 12 | libpostproc 54. 0.100 / 54. 0.100
|
|---|
| 13 | [avfoundation @ 0x7fe4c3000000] Selected pixel format (yuv420p) is not supported by the input device.
|
|---|
| 14 | [avfoundation @ 0x7fe4c3000000] Supported pixel formats:
|
|---|
| 15 | [avfoundation @ 0x7fe4c3000000] uyvy422
|
|---|
| 16 | [avfoundation @ 0x7fe4c3000000] yuyv422
|
|---|
| 17 | [avfoundation @ 0x7fe4c3000000] nv12
|
|---|
| 18 | [avfoundation @ 0x7fe4c3000000] 0rgb
|
|---|
| 19 | [avfoundation @ 0x7fe4c3000000] bgr0
|
|---|
| 20 | [avfoundation @ 0x7fe4c3000000] Overriding selected pixel format to use uyvy422 instead.
|
|---|
| 21 | Input #0, avfoundation, from '1:0':
|
|---|
| 22 | Duration: N/A, start: 12040.676500, bitrate: N/A
|
|---|
| 23 | Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1366x768, 30 tbr, 1000k tbn, 1000k tbc
|
|---|
| 24 | Stream #0:1: Audio: pcm_f32le, 44100 Hz, stereo, flt, 2822 kb/s
|
|---|
| 25 | [rawvideo @ 0x7fe4c29d9e00] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
|
|---|
| 26 | Output #0, rawvideo, to 'out.yuv':
|
|---|
| 27 | Metadata:
|
|---|
| 28 | encoder : Lavf57.38.102
|
|---|
| 29 | Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 1366x768, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
|
|---|
| 30 | Metadata:
|
|---|
| 31 | encoder : Lavc57.46.100 rawvideo
|
|---|
| 32 | Stream mapping:
|
|---|
| 33 | Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
|
|---|
| 34 | Press [q] to stop, [?] for help
|
|---|
| 35 | frame= 1 fps=0.0 q=-0.0 Lsize= 2049kB time=00:00:00.03 bitrate=503567.3kbits/s speed=9.26x
|
|---|
| 36 | video:2049kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
|
|---|