Opus encoding takes a long time.

Bug #1529704 reported by wayne on 2015-12-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SoundConverter
Undecided
Unassigned
soundconverter (Ubuntu)
Undecided
Unassigned

Bug Description

This bug affects soundconverter 2.1.6 and I believe it also affects all versions <= 2.1.6. I am running soundconverter 2.1.6 on linux mint 17.3.

Converting the test file using opusenc with the VBR setting took 34.44 seconds. Soundconverter 2.1.6 converting the same file to opus at the same bitrate takes 214.036 seconds.

I believe this is due to it being encoded in hard CBR. On an individual file basis I know I can run opusenc --vbr --bitrate x inputfile outputfile to obtain high speeds and VBR encoding with a better sound quality.

soundconverter --debug output on soundconverter 2.1.6:

SoundConverter 2.1.6
  using Gstreamer version: 0.10.36
  using 4 thread(s)
  using gio
/usr/local/lib/soundconverter/python/soundconverter/ui.py:1506: Warning: Attempt to add property GnomeProgram::sm-connect after class was initialised
  gnome.init(name, version)
/usr/local/lib/soundconverter/python/soundconverter/ui.py:1506: Warning: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
  gnome.init(name, version)
/usr/local/lib/soundconverter/python/soundconverter/ui.py:1506: Warning: Attempt to add property GnomeProgram::display after class was initialised
  gnome.init(name, version)
/usr/local/lib/soundconverter/python/soundconverter/ui.py:1506: Warning: Attempt to add property GnomeProgram::default-icon after class was initialised
  gnome.init(name, version)
Queue start: 1 tasks, 4 thread(s).
launching: 'giosrc location="file:///home/joshua/Downloads/2012_1118Gratitude.mp3" ! typefind name=typefinder ! fakesink'
have_type: application/x-id3 2012_1118Gratitude.mp3
Queue done in 0.009s (1 tasks)
found_type 2012_1118Gratitude.mp3
Queue start: 1 tasks, 4 thread(s).
launching: 'giosrc location="file:///home/joshua/Downloads/2012_1118Gratitude.mp3" name=src ! decodebin name=decoder ! audiorate tolerance=10000000 ! audioconvert ! audioresample ! opusenc bitrate=48000 ! oggmux ! giosink location="file:///home/joshua/Downloads/2012_1118Gratitude.mp3~713186~SC~"'
found_tags: 2012_1118Gratitude.mp3
 date=<GstDate: 1/1/2012> (<type 'gst.Date'>)
 genre=Vocal (<type 'unicode'>)
 artist=Wayne Mudge (<type 'unicode'>)
 title=An Attitude of Gratitude (<type 'unicode'>)
found_tags: 2012_1118Gratitude.mp3
got file duration: 2105
found_tags: 2012_1118Gratitude.mp3
found_tags: 2012_1118Gratitude.mp3
found_tags: 2012_1118Gratitude.mp3
found_tags: 2012_1118Gratitude.mp3
found_tags: 2012_1118Gratitude.mp3
/home/joshua/Downloads/2012_1118Gratitude.mp3~713186~SC~ -> /home/joshua/Downloads/2012_1118Gratitude.opus
Queue done in 214.036s (1 tasks)
closing...

wayne (mathwhiz1212) on 2015-12-28
description: updated
description: updated
description: updated
wayne (mathwhiz1212) on 2015-12-28
description: updated
wayne (mathwhiz1212) on 2015-12-28
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers