Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225428
| From | Reco <recoverym4n@enotuniq.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Capture screen with mencoder |
| Date | 2020-07-28 21:30 +0200 |
| Message-ID | <AxDsu-6QE-3@gated-at.bofh.it> (permalink) |
| References | <AxCmJ-6eH-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi. On Tue, Jul 28, 2020 at 06:18:31PM +0000, Rodolfo Medina wrote: > $ mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:alsa:adevice=hw.1,0 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi > How can I modify the above command so to capture desktop > screen instead (with audio)? Start with replacing mencoder with ffmpeg, it's easy afterwards: ffmpeg -f x11grab -r 30 -s 640x480 -i $DISPLAY \ -f pulse -ac 2 -i 1 \ -c:a libopus -c:v libx264 \ screencast.mkv It assumes that you're using X and Pulseaudio. As far as I can tell there's no "x11grab" equivalent in mencoder. I could be wrong, though, haven't used the thing for about 10 years or so. Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Capture screen with mencoder Rodolfo Medina <rodolfo.medina@gmail.com> - 2020-07-28 20:20 +0200
Re: Capture screen with mencoder Dan Ritter <dsr@randomstring.org> - 2020-07-28 21:10 +0200
Re: Capture screen with mencoder Reco <recoverym4n@enotuniq.net> - 2020-07-28 21:30 +0200
Re: Capture screen with mencoder Nicolas George <george@nsup.org> - 2020-07-29 00:50 +0200
Re: Capture screen with mencoder Rodolfo Medina <rodolfo.medina@gmail.com> - 2020-07-29 09:00 +0200
Re: Capture screen with mencoder Long Wind <longwind2@yahoo.com> - 2020-07-29 09:10 +0200
Re: Capture screen with mencoder Nicolas George <george@nsup.org> - 2020-07-29 11:30 +0200
Re: Capture screen with mencoder Rodolfo Medina <rodolfo.medina@gmail.com> - 2020-07-29 14:40 +0200
Re: Capture screen with mencoder Long Wind <longwind2@yahoo.com> - 2020-07-30 02:20 +0200
csiph-web