Rockbox

Tasklist

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

Attached to Project: Rockbox
Opened by Václav Brožík (pabouk) - Thursday, 26 July 2007, 19:45 GMT
Last edited by Alex Parker (BigBambi) - Thursday, 17 December 2009, 21:54 GMT
Task Type Bugs
Category Codecs
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

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
This task depends upon

Closed by  Alex Parker (BigBambi)
Thursday, 17 December 2009, 21:54 GMT
Reason for closing:  Works For Me
Additional comments about closing:  Tested working on r23914
Comment by MichaelGiacomelli (saratoga) - Friday, 27 July 2007, 00:27 GMT
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.
Comment by Václav Brožík (pabouk) - Friday, 27 July 2007, 07:40 GMT
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
Comment by Steve Bavin (pondlife) - Tuesday, 11 December 2007, 17:19 GMT
The first file segfaults the simulator, might that be useful?
Comment by Tom Ross (midgey34) - Friday, 19 December 2008, 21:41 GMT
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.
Comment by Tom Ross (midgey34) - Friday, 19 December 2008, 22:34 GMT
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.
Comment by MichaelGiacomelli (saratoga) - Saturday, 20 December 2008, 02:44 GMT
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...