I want to record an audio stream with Audio Recorder in .opus format or via the command line. I saw this post and tried the alias suggestion provided as the last answer but unfortunately it gave me an error: Failed to parse the argument for --monitor-stream and Xen2050's question relating to the same problem was never answered. I then tried to see if I could get Audio Recorder to record in .opus with opusenc --raw - $(xdg-user-dir MUSIC)/recording-$(date +"%F_%H-%M-%S").opus and audio/x-raw,rate=44100,channels=2 !libopus name=enc quality=0.5 ! oggmux but it gives me an error that it needs the GStreamer opus plugin. Despite installing via apt gstreamer1.0-plugins-*, opus-tools, and libopus0 it still gives me an error.
Asked
Active
Viewed 929 times
2
bvargo
- 606
1 Answers
1
Under AudioRecorder I use:
- Title: Opus 48khz 32kbs
- File extension: opus
- Command:
audio/x-raw,rate=48000,channels=2 ! opusenc name=enc bitrate=32000 ! oggmux
These are working in Lubuntu 20.04, although there seems to be hard coded rate and not fully libopus working.
Artur Meinild
- 31,035
Osering
- 11