View difference between Paste ID: DPpiSavV and SKiyKpVa
SHOW: | | - or go back to the newest paste.
1-
Making screencast:
1+
2-
$ ffmpeg -f x11grab -s 1280x760 -r 25 -i :0.0+3840+0 -f alsa -ac 2 -i pulse -sameq video.mpg
2+
3
4
Output:
5
ffmpeg version 0.10.11-7:0.10.11-1~precise1 Copyright (c) 2000-2014 the FFmpeg developers
6
  built on Feb  6 2014 16:53:05 with gcc 4.6.3
7
  configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.11-1~precise1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
8-
ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers
8+
  libavutil      51. 35.100 / 51. 35.100
9-
  built on Feb  6 2014 20:56:59 with gcc 4.6.3
9+
  libavcodec     53. 61.100 / 53. 61.100
10-
*** THIS PROGRAM IS DEPRECATED ***
10+
  libavformat    53. 32.100 / 53. 32.100
11-
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
11+
  libavdevice    53.  4.100 / 53.  4.100
12-
[mpeg @ 0x8807a0] max_analyze_duration reached
12+
  libavfilter     2. 61.100 /  2. 61.100
13
  libswscale      2.  1.100 /  2.  1.100
14
  libswresample   0.  6.100 /  0.  6.100
15-
    Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 1280x760 [PAR 1:1 DAR 32:19], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
15+
  libpostproc    52.  0.100 / 52.  0.100
16-
    Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
16+
[mpeg @ 0x1242680] max_analyze_duration 5000000 reached at 5000000
17-
[buffer @ 0x883220] w:1280 h:760 pixfmt:yuv420p
17+
18-
[scale @ 0x883600] w:1280 h:760 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4
18+
19-
[libvpx @ 0x884b00] v1.0.0
19+
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 1280x760 [SAR 1:1 DAR 32:19], 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 25 tbc
20
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s
21
Please use -b:a or -b:v, -b is ambiguous
22-
    encoder         : Lavf53.21.1
22+
[buffer @ 0x125a5a0] w:1280 h:760 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
23-
    Stream #0.0: Video: libvpx, yuv420p, 1280x720 [PAR 18:19 DAR 32:19], q=11-51, pass 1, 3900 kb/s, 1k tbn, 25 tbc
23+
[scale @ 0x125a100] w:1280 h:760 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4
24
[libvpx @ 0x12dad20] v1.0.0
25-
  Stream #0.0 -> #0.0
25+
26-
Press ctrl-c to stop encoding
26+
27-
frame= 1747 fps= 75 q=0.0 Lsize=       0kB time=10000000000.00 bitrate=   0.0kbits/s    
27+
    encoder         : Lavf53.32.100
28
    Stream #0:0: Video: vp8, yuv420p, 1280x720 [SAR 18:19 DAR 32:19], q=11-51, pass 1, 3900 kb/s, 1k tbn, 25 tbc
29
Stream mapping:
30
  Stream #0:0 -> #0:0 (mpeg1video -> libvpx)
31
Press [q] to stop, [?] for help
32
frame= 1747 fps= 76 q=0.0 Lsize=       0kB time=00:00:00.00 bitrate=   0.0kbits/s    
33-
The content of the /usr/share/ffmpeg/libvpx-720p.ffpreset:
33+
34-
vcodec=libvpx
34+
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)