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.
Under AudioRecorder I use:
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.