Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] [OT] ffmpeg video+audio capture question
Date: Wed, 18 Sep 2019 09:11:07
Message-Id: 20190918091016.GA21787@waltdnes.org
1 I'm trying to do a video+audio capture of my desktop, e.g. a Youtube
2 video playing, or whatever. I've got video capture working, but not
3 audio. I've compiled ffmpeg with both "alsa" and "oss" USE flags and
4 tried the commands...
5
6 ffmpeg -f alsa -ac 2 -i hw:0 -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 output.mp4
7
8
9 ffmpeg -f oss -i /dev/dsp -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 output.mp4
10
11 In both case the video capture works, and ffmpeg claims to be
12 capturing audio, but I don't get any audio capture at all. What am I
13 doing wrong? Any more USE flags to set?
14
15 --
16 Walter Dnes <waltdnes@××××××××.org>
17 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] [OT] ffmpeg video+audio capture question Mick <michaelkintzios@×××××.com>