SHOW:
|
|
- or go back to the newest paste.
1 | Making screencast: | |
2 | $ ffmpeg -f x11grab -s 1280x760 -r 25 -i :0.0+3840+0 -f alsa -ac 2 -i pulse -sameq video.mpg | |
3 | ||
4 | Transcoding to webm: | |
5 | $ ffmpeg -i video.mpg -s 1280x760 -vpre libvpx-720p -b 3900k -pass 1 -an -f webm -y video.webm | |
6 | ||
7 | - | $ffmpeg -i video.mpg -s 1280x760 -vpre libvpx-720p -b 3900k -pass 1 -an -f webm -y video.webm |
7 | + | Output: |
8 | ffmpeg version 0.8.10-4:0.8.10-0ubuntu0.12.04.1, Copyright (c) 2000-2013 the Libav developers | |
9 | - | Output of the /usr/share/ffmpeg/libvpx-720p.ffpreset: |
9 | + | built on Feb 6 2014 20:56:59 with gcc 4.6.3 |
10 | *** THIS PROGRAM IS DEPRECATED *** | |
11 | This program is only provided for compatibility and will be removed in a future release. Please use avconv instead. | |
12 | [mpeg @ 0x8807a0] max_analyze_duration reached | |
13 | Input #0, mpeg, from 'dubna-cookies.mpg': | |
14 | Duration: 00:01:09.80, start: 1.000000, bitrate: 4105 kb/s | |
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 | |
16 | Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s | |
17 | [buffer @ 0x883220] w:1280 h:760 pixfmt:yuv420p | |
18 | [scale @ 0x883600] w:1280 h:760 fmt:yuv420p -> w:1280 h:720 fmt:yuv420p flags:0x4 | |
19 | [libvpx @ 0x884b00] v1.0.0 | |
20 | Output #0, webm, to 'dubna-cookies.webmc': | |
21 | Metadata: | |
22 | encoder : Lavf53.21.1 | |
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 | |
24 | Stream mapping: | |
25 | Stream #0.0 -> #0.0 | |
26 | Press ctrl-c to stop encoding | |
27 | frame= 1747 fps= 75 q=0.0 Lsize= 0kB time=10000000000.00 bitrate= 0.0kbits/s | |
28 | video:0kB audio:0kB global headers:0kB muxing overhead inf% | |
29 | ||
30 | ||
31 | ||
32 | ||
33 | The content of the /usr/share/ffmpeg/libvpx-720p.ffpreset: | |
34 | vcodec=libvpx | |
35 | g=120 | |
36 | rc_lookahead=16 | |
37 | level=216 | |
38 | profile=0 | |
39 | qmax=42 | |
40 | qmin=10 | |
41 | vb=2M | |
42 | #ignored unless using -pass 2 | |
43 | maxrate=24M | |
44 | minrate=100k |