Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: Vortex on May 05, 2007, 08:02:19 AM

Title: Trying Rockbox
Post by: Vortex on May 05, 2007, 08:02:19 AM
Hi everyone,

I'm thinking about buying a Sandisk Sansa e280 mainly because it is an affordable small portable player with lots of (expandable) flash-memory.

Since I want to use Rockbox on my Sansa I decided to try it out a bit, before actually buying the player. I'm aware that support for the Sansa is still in it's early stages but nevertheless I wanted to try out some of the general features of Rockbox.

I checked out an svn-version of rockbox and then proceeded to compile and set up the UiSimulator, according to the instructions in the wiki.

The UiSimulator starts up fine, but every time I try to play a song the WPS-Screen is displayed for a split-second, then the UiSimulator segfaults.
This is what it prints out before crashing:
Code: [Select]
We open the real file 'archos/Music/Soilwork/Soilwork - Figure Number Five.mp3'
ID3V2 Length: 0x5000
framelen = 13
id3v2 frame: COMM
framelen = 19
id3v2 frame: TIT2
framelen = 5
id3v2 frame: TYER
framelen = 7
id3v2 frame: TPUB
framelen = 5
id3v2 frame: TCON
framelen = 19
id3v2 frame: TALB
framelen = 2
id3v2 frame: TRCK
framelen = 39
id3v2 frame: PRIV
framelen = 41
id3v2 frame: PRIV
framelen = 31
id3v2 frame: PRIV
framelen = 138
id3v2 frame: PRIV
framelen = 9
id3v2 frame: TPE2
framelen = 34
id3v2 frame: PRIV
framelen = 39
id3v2 frame: PRIV
framelen = 20
id3v2 frame: PRIV
framelen = 14
id3v2 frame: PRIV
framelen = 17
id3v2 frame: PRIV
framelen = 26
id3v2 frame: TCOM
framelen = 9
id3v2 frame: TPE1
framelen = 19212
id3v2 frame: NCON
framelen = 2
id3v2 frame: TLEN
framelen = 0
Header: fffbb004, Ver 0, lay 3, bitr 192, freq 44100, chmode 0, mode_ext 0, emph 0, bytes: 626 time: 1280/49
Space between ID3V2 tag and first audio frame: 0x0 bytes
First frame is at 5000
Segmentation fault

My System is:
Code: [Select]
$ uname -a
Linux kellerkind 2.6.20-viper10 #1 PREEMPT Fri Apr 27 20:50:58 CEST 2007 x86_64 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux
Running 64bit Gentoo-Linux.

Is this a known issue with the Simulator?


Another thing I noticed while using the Simulator, was that the font used in the menus and in the file-browser was almost unreadably small (even on my computer's monitor). Is there a way to increase the font size in the menus (especially on the real Sansa)?


EDIT: Just tried playing a FLAC-File and it played nicely. However it crashed again upon finishing playback of the file.  ???
I will try some other formats and files...

EDIT2: It plays OGG and FLAC files nicely but crashes on track change. It doesn't play mp3 files at all.
Title: Re: Trying Rockbox
Post by: amiconn on May 05, 2007, 08:41:30 AM
This is a known issue with a rockbox specific optimisation in libmad which hits 64 bit simulators. Other formats than mpeg audio will work fine.
Title: Re: Trying Rockbox
Post by: Vortex on May 05, 2007, 10:31:46 AM
Thanks for pointing that out. :)

However, I came across some more problems with Rockbox and would like to know, whether these also exist on the real Sansa.

Rockbox doesn't seem to be able to read tags from ogg files. Can Rockbox only read ID3 tags from mp3 files?

Only a few of the supplied fonts work, others crash the simulator. Is there a way to freely change the font size to something larger?

Quote
Other formats than mpeg audio will work fine.
Indeed, but it still crashes on track change, even when the next file is not an mpeg file. It even crashes when I play only one file but set the playback mode to "repeat one".
Title: Re: Trying Rockbox
Post by: Bagder on May 05, 2007, 04:14:13 PM
Rockbox doesn't seem to be able to read tags from ogg files. Can Rockbox only read ID3 tags from mp3 files?

Id3 tags are for mp3 files. Rockbox read regular ogg tags from ogg files. I don't think Rockbox accepts id3 for other formats, no.

Quote
Only a few of the supplied fonts work, others crash the simulator. Is there a way to freely change the font size to something larger?

The fonts are bitmapped so you need to pick the font you like. It sounds like you have found more (64bit?) simulatior-related bugs.
Title: Re: Trying Rockbox
Post by: Vortex on May 05, 2007, 07:11:06 PM
Quote
Id3 tags are for mp3 files. Rockbox read regular ogg tags from ogg files. I don't think Rockbox accepts id3 for other formats, no.
However, the tags of my ogg files are not recognized by Rockbox (at least in the emulator). It just displays the filename in the WPS screen. When I select "Show ID3 Info" from the context menu while playing, it says "no info" for every property.
Title: Re: Trying Rockbox
Post by: safetydan on May 05, 2007, 07:34:34 PM
It sounds like there may be some issues with the tags in your ogg files. Try checking them with ogginfo and see if that shows the tags correctly. If you don't have or can't use ogginfo, try loading them up in another media player that supports oggs and see if the information is shown correctly.

Rockbox does fully support reading tags/metadata from ogg streams so there should be no issues. There are problems though if you've used bad software (grip is one example) that sticks and ID3v1 or ID3v2 tag on an Ogg file. That doesn't work.
Title: Re: Trying Rockbox
Post by: Vortex on May 06, 2007, 06:26:46 AM
This is what ogginfo says:
Code: [Select]
$ ogginfo 07.Lordi-Chainsaw_Buffet.ogg
Processing file "07.Lordi-Chainsaw_Buffet.ogg"...

New logical stream (#1, serial: 229c6f8d): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20050304
Channels: 2
Rate: 44100

Nominal bitrate: 112.000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        comment=
        title=Chainsaw Buffet
        artist=Lordi
        replaygain_album_gain=
        replaygain_album_peak=
        date=2006
        replaygain_track_gain=
        replaygain_track_peak=
        album=The Arockalypse
        tracknumber=7
        genre=Heavy Metal
Vorbis stream 1:
        Total data length: 3621867 bytes
        Playback length: 3m:57.400s
        Average bitrate: 122.050701 kb/s
Logical stream 1 ended
The tags of the file are displayed fine in other players, but Rockbox doesn't recognize them somehow. ::)
Title: Re: Trying Rockbox
Post by: safetydan on May 06, 2007, 07:00:07 AM
Try checking to see if there's an ID3 tag or something in the file. Quickest way is to open the file in a text editor and see if the file starts with the bytes ID3.
Title: Re: Trying Rockbox
Post by: Vortex on May 06, 2007, 09:12:22 AM
Nope, the file starts with "OggS" followed by garbage and then the tags in plain text.

It looks like this:
Code: [Select]
OggS         ï¿½ï¿½ï¿½]    ï¿½ydsvorbis  
 D�      ï¿½ï¿½     �OggS          ï¿½ï¿½ï¿½]   ��Q�����������������vorbis
  Xiph.Org libVorbis I 20050304      comment=
  title=Chainsaw Buffet   artist=Lordi   replaygain_album_gain=
  replaygain_album_peak=   date=2006   replaygain_track_gain=   replaygain_track_peak=   album=The Arockalypse
   tracknumber=7   genre=Heavy Metalvorbis%BCV @
Title: Re: Trying Rockbox
Post by: nls on May 06, 2007, 10:08:18 AM
The tag reading problem is known for 64bit sims, and has been reported here http://www.rockbox.org/tracker/task/6690
It works fine on the player though.

Edit: the tag reading should now work ok on your 64 bit sim with the latest svn.
Title: Re: Trying Rockbox
Post by: Vortex on May 06, 2007, 11:44:28 AM
Quote
Edit: the tag reading should now work ok on your 64 bit sim with the latest svn.

It really does. ;D

However, I still cannot initialize the database. It says "Building database... 0 found (OFF to return)" and hangs.
I guess this is another problem that only happens on the sim, right?