[FFmpeg-user] Troubleshooting: ffmeg screencasting commands

maujhsn 103730258b at gmail.com
Sat Jan 5 22:01:59 CET 2013


ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -c:a
pcm_s16le -ar 11025 -c:v libx264 -preset ultrafast -threads 0
~/Desktop/desk_A.mkv

This is  a very Good command...so why this output?

ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -c:a
pcm_s16le -ar 11025 -c:v libx264 -preset ultrafast -threads 0
~/Desktop/desk_A.mkv
ffmpeg version git-2013-01-03-52334f5 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jan  2 2013 22:43:31 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
--enable-version3 --enable-x11grab
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 85.100 / 54. 85.100
  libavformat    54. 59.100 / 54. 59.100
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[alsa @ 0xab82640] 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: 1357400765.687942, bitrate: 1536 kb/s
    Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[x11grab @ 0xab83040] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 1024
height: 768
[x11grab @ 0xab83040] shared memory extension found
[x11grab @ 0xab83040] Estimating duration from bitrate, this may be
inaccurate
Input #1, x11grab, from ':0.0':
  Duration: N/A, start: 1357400765.920416, bitrate: 754974 kb/s
    Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1024x768,
754974 kb/s, 30 tbr, 1000k tbn, 30 tbc
[libx264 @ 0xabacbc0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.2
[libx264 @ 0xabacbc0] profile High 4:4:4 Predictive, level 3.1, 4:4:4 8-bit
[libx264 @ 0xabacbc0] 264 - core 129 r2 1cffe9f - H.264/MPEG-4 AVC codec -
Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0
ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00
mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11
fast_pskip=1 chroma_qp_offset=6 threads=1 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0
intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69
qpstep=4 ip_ratio=1.40 aq=0
Output #0, matroska, to '/home/maujhsn209/Desktop/desk_A.mkv':
  Metadata:
    encoder         : Lavf54.59.100
    Stream #0:0: Video: h264, yuv444p, 1024x768, q=-1--1, 1k tbn, 30 tbc
    Stream #0:1: Audio: pcm_s16le, 11025 Hz, stereo, s16, 352 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
frame=    3 fps=2.5 q=30.0 size=       1kB time=00:00:00.06 bitrate=
 74.9kbits/frame=    3 fps=1.7 q=30.0 size=     289kB time=00:00:00.17
bitrate=13666.5kbitsframe=    6 fps=2.7 q=22.0 size=     353kB
time=00:00:00.17 bitrate=16697.1kbitsframe=    9 fps=3.3 q=16.0 size=
417kB time=00:00:00.26 bitrate=12782.4kbitsframe=   11 fps=3.3 q=14.0 size=
    481kB time=00:00:00.33 bitrate=11823.4kbitsst:0 PTS: 305 DTS: 305 < 312
invalid, clipping
[matroska @ 0xabac6c0] st:0 PTS: 300 DTS: 300 < 312 invalid, clipping
[matroska @ 0xabac6c0] st:0 PTS: 291 DTS: 291 < 312 invalid, clipping
[matroska @ 0xabac6c0] st:0 PTS: 283 DTS: 283 < 312 invalid, clipping
[matroska @ 0xabac6c0] st:0 PTS: 278 DTS: 278 < 312 invalid, clipping
[matroska @ 0xabac6c0] st:0 PTS: 273 DTS: 273 < 312 invalid, clipping

The following is the extended version:

http://www.pastebin.com/zKAWjP2w

Thanks:

On Sat, Jan 5, 2013 at 12:50 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> maujhsn <103730258b <at> gmail.com> writes:
>
> > Please see this: http://www.pastebin.com/zKAWjP2w
>
> Please post all necessary information here on the
> mailing list, external resources may disappear.
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list