Gentoo Archives: gentoo-user

From: Leonardo Guilherme <leonardo.guilherme@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: {OT} Screen recorder?
Date: Mon, 18 Jul 2011 18:24:21
Message-Id: CAGGSsJZ=3Y_7GEUqnT=Eev4DB_qa16k-wmY3uVJbd53qv=WPag@mail.gmail.com
In Reply to: [gentoo-user] Re: {OT} Screen recorder? by James
1 2011/7/18 James <wireless@×××××××××××.com>
2
3 > Leonardo Guilherme <leonardo.guilherme <at> gmail.com> writes:
4 >
5 >
6 > > Useful link http://verb3k.wordpress.com/2010/01/26/how-to-do-
7 > proper-screencasts-on-linux/
8 >
9 > > Leonardo2011/7/18 Mick <michaelkintzios <at> gmail.com>
10 >
11 > OK, I looked at this page and have a few questions on
12 > compiling ffmpeg for screencasts.
13 >
14 > x11grab = qx11grab ?? or use the X flag for ffmpeg?????
15 >
16 > These ubuntu libs are listed as required: So set these flags:
17 >
18 > libx264 just use (ffmpeg) flag x246
19 > libfaac just use (ffmpeg) flag faac
20 > libvpx just use (ffmpeg) flag vpx
21 > libvorbis just use (ffmpeg) flag vorbis
22 > libxvid just use (ffmpeg) flag xvid
23 > libmp3lame just use (ffmpeg) flag mp3
24 > libtheora just use (ffmpeg) flag theora
25 >
26 > I have other flags set for ffmpeg. Do you have any other
27 > recommendations for flag setting to enable ffmpeg to be
28 > used for screencasts?
29 >
30 >
31 This is the command I use for screencasts and then encoding the converted
32 video
33
34 ffmpeg -f alsa -ac 2 -i hw:0,0 -acodec pcm_s16le -f x11grab -r 30 -i :0.0
35 -vcodec libx264 -vpre lossless_ultrafast -threads 0 raw.mkv
36 ffmpeg -i raw.mkv -acodec libmp3lame -ab 128k -ac 2 -vcodec libx264 -vpre
37 lossless_slow -crf 22 -threads 0 done.mp4
38
39 These are my flags for ffmpeg:
40
41 3dnow 3dnowext X aac alsa bzip2 encode faac hardcoded-tables mmx mmxext mp3
42 sdl ssse3 theora threads truetype v4l v4l2 vorbis vpx x264 xvid zlib
43
44 Note that many are unrelated to screencasting.