Opus encoding takes a long time.

Bug #1529704 reported by wayne
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SoundConverter
New
Undecided
Unassigned
soundconverter (Ubuntu)
Confirmed
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...

Tags: opus slow
wayne (mathwhiz1212)
description: updated
description: updated
description: updated
wayne (mathwhiz1212)
description: updated
wayne (mathwhiz1212)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in soundconverter (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.