• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Music playback
  • Assigned To No-one
  • Operating System All players
  • 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 cool_walking_ - 2009-01-31
Last edited by Buschel - 2011-01-15

FS#9854 - Playback is borked after attempting (and failing) to play a certain file.

I’ve reproduced this on r19773 on a Gigabeat S and r19888 on an iPod Video sim.

1. Play any file.
2. While it’s still playing or paused, play one of these two files: (6.6MiB) (5.1MiB)
3. The file fails to play, and attempts to play any other file result in the timer staying still at 0:00. Fast Forward, Rewind, Next, and Previous appear to work (all of the WPS except for “track number” is updated), but playback is still “stuck”.
4. Going into MpegPlayer (you don’t have to even play the video, getting to the menu is enough) or listening to the radio fixes it.

The rest of the files in the album act normally and play fine. Here’s one of them: (75KiB)

It’s not my rip so I’m not sure what encoder/settings were used.

Closed by  Buschel
2011-01-15 23:34
Reason for closing:  Duplicate
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

This is a duplicate to  FS#10930  which describes the underlying failure in more detail.

Forgot to mention that both the problem files play fine in mplayer.

nls commented on 2009-01-31 10:36

I can reproduce this on a h300 sim (no suprise really) simply stopping playback is what’s
“fixing” it and that is what radio and mpegplayer does but just pressing stop works as well.
This bug seems to have two parts:
1. For some reason rockbox rejects the file.
2. Trying to play a file that gets rejected while something is playing messes up playback, i tried
with some other files that get rejected and they show the same behaviour.

On further investigation, I think the two problem files have come from a different rip than the rest of the album*, as the rest of the files have embedded album art and a large comment tag, which those 2 are lacking. Also rather telling is that EasyTAG shows the 2 problem files as having bitrates of “~-2147483648 kb/s”, whereas the others have the decidedly more sane 128kbps. mp3info just says they’re ~192 VBR though.

*Actually, track 12 seems to have come from yet another rip.

Rockbox finds a Xing VBR frame where the frame count is zero. This makes Rockbox unable to calculate how long the file is (in time), and the files are considered to have invalid metadata because of this (see audio_finish_load_track in playback.c). So running a VBR-fixer on the files should allow them to play, though Rockbox should handle this case better (it is supposed to just load the next track, ignoring the bad one).


Available keyboard shortcuts


Task Details

Task Editing