Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Codecs
  • Assigned To No-one
  • Operating System Iriver H100 series
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by pabouk - 2007-07-26
Last edited by BigBambi - 2009-12-17

FS#7488 - WMA - freeze instead of playback - with example files

I have found four files which play fine in fooobar2000 and Windows Media Player but do not play in the current Rockbox (Version: r13990-070726, hardware: H120). When trying to play any of the files Rockbox shows the correct tags in the WPS (but the track number is often nonsensical like -1). It shows play time 0:00 and then it freezes the whole Rockbox.

Information about the files was extracted using foobar2000. I lost the original location of the last two files but I can upload them somewhere.

http://www.sound-emotion.com/sound-emotioncom/wmamusic/beyonthepain907z.wma

Duration: 1:11.284 (3143624 samples)
Sample Rate: 44100 Hz
Channels: 2
Bitrate: 33 kbps
Codec: WMA
Codec Profile: WMA V2
Encoding: lossy

http://www.sound-emotion.com/sound-emotioncom/wmamusic/baroqueloop90z.wma

Duration: 0:26.516 (1169356 samples)
Sample Rate: 44100 Hz
Channels: 1
Bitrate: 33 kbps
Codec: WMA
Codec Profile: WMA V2
Encoding: lossy

iamthecamerarange.wma

Duration: 2:48.412 (5389184 samples)
Sample Rate: 32000 Hz
Channels: 2
Bitrate: 33 kbps
Codec: WMA
Codec Profile: WMA V2
Encoding: lossy

pickmeuprange.wma

Duration: 0:54.800 (1753600 samples)
Sample Rate: 32000 Hz
Channels: 2
Bitrate: 33 kbps
Codec: WMA
Codec Profile: WMA V2
Encoding: lossy

Closed by  BigBambi
2009-12-17 21:54
Reason for closing:  Works For Me
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

Tested working on r23914

These files are interesting. Theres a half dozen things they break. I’ve fixed most, but a complete solution will have to wait until another day.

Thank you Michael, I sent you the remaining two files by e-mail (they are small) which as I suppose are from a different source.
The history is following: I wanted to test the new WMA codec but I did not have any WMA file available so I used Google to find some. Most of them played fine and here is the unplayable remainder.
Vaclav

The first file segfaults the simulator, might that be useful?

I think there are a few fixed point math errors in libwma. I was looking in FS #9536 and I believe I found at least one in the noise coding calculations. By applying the patch I’ve attached, beyonthepain907z sounds significantly better, although it still has a few glitches here and there. baroqueloop90z is still basically noise unless it’s the first wma played. Both files played through on the sim without crashing.

Completely resetting the decode state if we are decoding another WMA seems to help baroqueloop90z with it’s noise issue. Glitches pop up after a few track changes but nothing too terrible.

Added in r19494, r19496, and r19498 with minor changes to avoid initing the entire decoder state on track change. If you have any other fixes please feel free to suggest them.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing