Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« previous next »
  • Print
Pages: [1]

Author Topic: Opus @ 32kBit: plays fine, but crashes on resume or bookmarks  (Read 2635 times)

Offline johnb

  • Member
  • *
  • Posts: 207
Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« on: July 29, 2017, 04:46:27 AM »
I encoded an audiobook with libopus 1.2.1 @ 32kBit VBR.

Playback and seeking works fine, but resuming playback (after stopping) or launching a bookmark crashes RB on my clip+ with this message:

*PANIC*
Stkov codec
pc: 30063F8C sp:30803B:
    A: 300BCB8
bt end


A different audiobook that I had encoded @ 48kBit/s doesn't show this problem.  <-- that was libopus 1.2-alpha

Is this kinda expected/reasonable as the RB opus.codec has not been updated?
« Last Edit: July 29, 2017, 12:43:17 PM by johnb »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« Reply #1 on: July 29, 2017, 01:10:41 PM »
It's definitely a bug if it crashes on resume. I thought the opus resume problems we're resolved last year, but apparently not. 

Do you have a test file you can share that triggers it?
Logged

Offline johnb

  • Member
  • *
  • Posts: 207
Re: Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« Reply #2 on: July 29, 2017, 02:42:30 PM »
I sent you a PM regarding sample files.

-------------------------------------------------
I did some more tests:

The problem exists @ 32 & 48 kBit/s
All is fine @ 64 & 96 kBit/s.


So I believe this is due to the codec improvements jmvalin has done in the   < 48 kBit/s range:
https://hydrogenaud.io/index.php/topic,114234.0.html

EDIT3:
I get the crashes on clip+, FuzeV2, FuzeV1.
No crash with Samsung YP-R0 and Sony 585  (both hosted).

EDIT4: It doesn't happen with music, rather with speech. So I encoded this free speech:
https://archive.org/download/ObamaSpeech/obama%20speech.flac

32 kBit sample:  http://www.mediafire.com/file/o7c1ccwuzs1ckl2/obama_speech.32.opus
48 kBit sample: http://www.mediafire.com/file/bt0llwlyaeucxl7/obama_speech.48.opus
Both crash RB on the Sansas.

Saratoga, I removed the two files I provided earlier in favor of the freely accessible ones.
« Last Edit: August 12, 2017, 03:10:21 PM by johnb »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« Reply #3 on: August 12, 2017, 04:23:11 PM »
Thanks for looking into this.  Unfortunately I'm not familiar with Opus's SILK mode and not likely to have time to work on it soon. 
Logged

Offline johnb

  • Member
  • *
  • Posts: 207
Re: Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« Reply #4 on: September 23, 2017, 03:39:07 AM »
I summarized this on Flyspray:  https://www.rockbox.org/tracker/task/13131
Logged

Offline johnb

  • Member
  • *
  • Posts: 207
Re: Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
« Reply #5 on: October 27, 2018, 08:10:37 AM »
The problem is gone with the latest Opus release:
https://people.xiph.org/~jm/opus/opus-1.3/

Tested with 32 and 48 kBit.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Opus @ 32kBit: plays fine, but crashes on resume or bookmarks
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.063 seconds with 15 queries.