updated readme
This commit is contained in:
parent
9529d0b703
commit
b911784d28
|
@ -11,9 +11,7 @@ a new file and sets available meta data.
|
|||
dbus-soundrecorder record [options]
|
||||
```
|
||||
|
||||
Here's a simple example:
|
||||
|
||||
First, get a list of your Pulse Audio sinks:
|
||||
Here a simple example. First, get a list of your Pulse Audio sinks:
|
||||
```
|
||||
pactl list short sinks
|
||||
```
|
||||
|
@ -26,13 +24,16 @@ In any case, you should ensure that the media player uses the sink (eg. using pa
|
|||
|
||||
Then start the recorder. You need to specify the media player application and the sink:
|
||||
```
|
||||
dbus-soundrecorder -a vlc -s virtual1.monitor -o "-c:a libfdk_aac -vbr 4 -ar 44100"
|
||||
dbus-soundrecorder record -a vlc -s virtual1.monitor -o "-c:a libfdk_aac -vbr 4 -ar 44100"
|
||||
```
|
||||
As you can see, it is also possible to specify options for ffmpeg. However input sink,
|
||||
output file and meta data are provided by the recorder and shouldn't be specified.
|
||||
|
||||
For all available options, use the --help command.
|
||||
|
||||
After starting the recorder, start playing the songs you want to record. The recorder
|
||||
should start ffmpeg automatically.
|
||||
|
||||
## Build instructions
|
||||
The application depends on the c++utilities library. It is built in the same way as c++utilities.
|
||||
|
||||
|
|
Loading…
Reference in New Issue