ffmpeg -f alsa -ac 1 -ab 128k -i hw:1,0 -f x11grab -s 1280x800 -r 15 -i :0.0 -sameq screencast.mov
ffmpeg version 1.0.6 Copyright (c) 2000-2013 the FFmpeg developers
built on Apr 11 2013 18:03:32 with gcc 4.7 (SUSE Linux)
configuration: --shlibdir=/usr/lib --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib --enable-shared --disable-static --enable-debug --disable-stripping --extra-cflags='-fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gsm' --enable-gpl --enable-x11grab --enable-version3 --enable-pthreads --enable-avfilter --enable-libpulse --enable-libvpx --enable-libopus --enable-libass --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libxvid --enable-libx264 --enable-libschroedinger --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-postproc --enable-libdc1394 --enable-librtmp --enable-libfreetype --enable-avresample --enable-libtwolame --enable-libvo-aacenc
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[alsa @ 0x9c34680] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, alsa, from 'hw:1,0':
Duration: N/A, start: 1377698936.979547, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
[x11grab @ 0x9c31be0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1280 height: 800
[x11grab @ 0x9c31be0] shared memory extension found
[x11grab @ 0x9c31be0] Estimating duration from bitrate, this may be inaccurate
Input #1, x11grab, from ':0.0':
Duration: N/A, start: 1377698937.050807, bitrate: 491520 kb/s
Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1280x800, 491520 kb/s, 15 tbr, 1000k tbn, 15 tbc
[libx264 @ 0x9c50e80] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 SlowShuffle
[libx264 @ 0x9c50e80] profile High 4:4:4 Predictive, level 3.2, 4:4:4 8-bit
[libx264 @ 0x9c50e80] 264 - core 135 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=15 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mov, to 'screencast.mov':
Metadata:
encoder : Lavf54.29.104
Stream #0:0: Video: h264 (avc1 / 0x31637661), yuv444p, 1280x800, q=-1--1, 15 tbn, 15 tbc
Stream #0:1: Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, s16, 128 kb/s
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo -> libx264)
Stream #0:0 -> #0:1 (pcm_s16le -> libvo_aacenc)
Press [q] to stop, [?] for help
ALSA buffer xrun.14 q=27.0 size= 297kB time=00:00:03.16 bitrate= 767.3kbits/s
ALSA buffer xrun.14 q=27.0 size= 683kB time=00:00:07.46 bitrate= 749.8kbits/s
frame= 795 fps= 14 q=14492749.0 Lsize= 1993kB time=00:00:52.86 bitrate= 308.8kbits/s
video:1252kB audio:700kB subtitle:0 global headers:0kB muxing overhead 2.064858%
[libx264 @ 0x9c50e80] frame I:8 Avg QP:15.02 size:116540
[libx264 @ 0x9c50e80] frame P:202 Avg QP:20.63 size: 1387
[libx264 @ 0x9c50e80] frame B:585 Avg QP:28.90 size: 118
[libx264 @ 0x9c50e80] consecutive B-frames: 1.8% 0.3% 0.4% 97.6%
[libx264 @ 0x9c50e80] mb I I16..4: 30.9% 32.5% 36.6%
[libx264 @ 0x9c50e80] mb P I16..4: 0.3% 0.1% 0.3% P16..4: 0.7% 0.1% 0.1% 0.0% 0.0% skip:98.5%
[libx264 @ 0x9c50e80] mb B I16..4: 0.2% 0.1% 0.0% B16..8: 0.7% 0.0% 0.0% direct: 0.0% skip:99.0% L0:46.7% L1:53.0% BI: 0.3%
[libx264 @ 0x9c50e80] 8x8 transform intra:31.5% inter:30.1%
[libx264 @ 0x9c50e80] coded y,u,v intra: 25.2% 5.7% 6.4% inter: 0.1% 0.0% 0.0%
[libx264 @ 0x9c50e80] i16 v,h,dc,p: 56% 43% 1% 0%
[libx264 @ 0x9c50e80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 48% 10% 41% 0% 0% 0% 0% 0% 0%
[libx264 @ 0x9c50e80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 31% 11% 3% 4% 4% 5% 3% 4%
[libx264 @ 0x9c50e80] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x9c50e80] ref P L0: 66.6% 4.3% 21.7% 7.4%
[libx264 @ 0x9c50e80] ref B L0: 67.6% 30.6% 1.8%
[libx264 @ 0x9c50e80] ref B L1: 93.6% 6.4%
Пишу с вебкамеры с микрофоном, logitech c270 если что.