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
  • 37,085
  • 25
  • 149
  • 228
JhmL
  • 55
  • 8
  • Try closing Soundconverter and then running the following: `mv -v ~/.gconf/apps/SoundConverter ~/.gconf/apps/SoundConverter_bak` and then restart SoundConverter. This should reset to defaults and may be enough... – andrew.46 Sep 21 '16 at 08:46
  • Thanks @andrew-46 for the suggestion. I tried to reset gconf configuration using the method suggested but that did not solve the issue. – JhmL Sep 21 '16 at 09:01
  • 1
    This did the trick. Thank you @andrew.46! This is clearly a bug and should be sent upstream. Maybe you know how to handle that? – JhmL Sep 21 '16 at 09:52
  • Great news :). The fix is in SoundConverter git so just a matter of time until it gets to Ubuntu. In the meantime this question and its answer will be useful for others! – andrew.46 Sep 21 '16 at 10:02

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
  • 37,085
  • 25
  • 149
  • 228