3

Since installing 16.04 I'm unable to convert wav files to the opus format. This is the error message I get:

GStreamer error when creating pipeline

gst_parse_error: no property "cbr" in element "opusenc0" (2)

I'm using soundConverter version 2.9.0-beta1 with Gstreamer 1.8.2.0

andrew.46
  • 39,359
JhmL
  • 55

1 Answers1

4

There is a known bug with SoundConverter and newer versions of GStreamer which has a fix in git. The tricky work with sed below duplicates the upstream patch which is not yet present in the Ubuntu package:

1. Fix:

Copy and paste the entire code below into a Terminal window:

sudo sed -i_bak 's/opusenc bitrate=%s cbr=false/opusenc bitrate=%s bitrate-type=vbr/' \
/usr/share/soundconverter/python/soundconverter/gstreamer.py

2. Reverse the fix:

If you would like to reverse this simple hack run the following single command:

sudo mv -v /usr/share/soundconverter/python/soundconverter/gstreamer.py_bak \
/usr/share/soundconverter/python/soundconverter/gstreamer.py

And SoundConverter will be returned to its original state :).

References:

andrew.46
  • 39,359