[FFmpeg-user] Can Somebody modify this ffmpeg command so that it will work with .avi container Thanks!
maujhsn
103730258b at gmail.com
Fri Jan 11 00:42:14 CET 2013
ubuntu at ubuntu:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1366x768
-i :0.0 -c:a pcm_s16le -c:v libx264 -preset ultrafast -threads 0 k2.avi
ffmpeg version git-2012-12-11-4b4f16c Copyright (c) 2000-2012 the FFmpeg
developers
built on Dec 11 2012 12:34:17 with gcc 4.6.1 (Ubuntu/Linaro
4.6.1-9ubuntu3)
configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-x11grab --enable-libx264 --enable-nonfree --enable-libpulse
--enable-version3
libavutil 52. 12.100 / 52. 12.100
libavcodec 54. 79.102 / 54. 79.102
libavformat 54. 49.101 / 54. 49.101
libavdevice 54. 3.102 / 54. 3.102
libavfilter 3. 26.102 / 3. 26.102
libswscale 2. 1.103 / 2. 1.103
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[alsa @ 0xad9d5e0] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'pulse':
Duration: N/A, start: 1357860935.366798, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[x11grab @ 0xada1640] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1366
height: 768
[x11grab @ 0xada1640] shared memory extension found
[x11grab @ 0xada1640] Estimating duration from bitrate, this may be
inaccurate
Input #1, x11grab, from ':0.0':
Duration: N/A, start: 1357860937.449417, bitrate: 1007124 kb/s
Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768,
1007124 kb/s, 30 tbr, 1000k tbn, 30 tbc
[libx264 @ 0xad95780] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0xad95780] profile High 4:4:4 Predictive, level 3.2, 4:4:4 8-bit
Output #0, avi, to 'k2.avi':
Metadata:
ISFT : Lavf54.49.101
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv444p, 1366x768,
q=-1--1, 30 tbn, 30 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16, 1536 kb/s
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo -> libx264)
Stream #0:0 -> #0:1 (pcm_s16le -> pcm_s16le)
Press [q] to stop, [?] for help
st:0 PTS: 822531 DTS: 822531 < 822535 invalid, clipping6.80
bitrate=1963.1kbits/s
[avi @ 0xad95060] st:0 PTS: 822531 DTS: 822531 < 822536 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822530 DTS: 822530 < 822537 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822529 DTS: 822529 < 822538 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822528 DTS: 822528 < 822539 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822526 DTS: 822526 < 822540 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822524 DTS: 822524 < 822541 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822522 DTS: 822522 < 822542 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822519 DTS: 822519 < 822543 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822516 DTS: 822516 < 822544 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822514 DTS: 822514 < 822545 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822511 DTS: 822511 < 822546 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822514 DTS: 822514 < 822547 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822517 DTS: 822517 < 822548 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822519 DTS: 822519 < 822549 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822522 DTS: 822522 < 822550 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822524 DTS: 822524 < 822551 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822525 DTS: 822525 < 822552 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822526 DTS: 822526 < 822553 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822527 DTS: 822527 < 822554 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822536 DTS: 822536 < 822555 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822545 DTS: 822545 < 822556 invalid, clipping
[avi @ 0xad95060] st:0 PTS: 822553 DTS: 822553 < 822557 invalid, clipping
st:0 PTS: 2399691 DTS: 2399691 < 2399705 invalid, clipping2
bitrate=1409.7kbits/s
frame= 1351 fps= 20 q=13.0 Lsize= 20170kB time=00:01:10.18
bitrate=2354.3kbits/s
video:5627kB audio:13205kB subtitle:0 global headers:0kB muxing overhead
7.102966%
[libx264 @ 0xad95780] frame I:6 Avg QP:12.17 size:262535
[libx264 @ 0xad95780] frame P:1345 Avg QP:13.84 size: 3113
[libx264 @ 0xad95780] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 0xad95780] mb P I16..4: 0.7% 0.0% 0.0% P16..4: 2.0% 0.0%
0.0% 0.0% 0.0% skip:97.3%
[libx264 @ 0xad95780] coded y,u,v intra: 26.5% 16.0% 13.5% inter: 0.9% 0.6%
0.5%
[libx264 @ 0xad95780] i16 v,h,dc,p: 48% 33% 3% 16%
[libx264 @ 0xad95780] kb/s:1023.67
More information about the ffmpeg-user
mailing list