FS#11124 - Flac decoding of large/high quality file fails

Attached to Project: Rockbox
Opened by Christoph Pohl (Psirus) - Thursday, 18 March 2010, 18:36 GMT
Last edited by Andree Buschmann (Buschel) - Monday, 02 May 2011, 20:33 GMT
Task Type Bugs
Category Codecs
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


My Ipod 5G (30GB) won't play a flac file.
The file is very large, 3.12GB since it is encoded as 96kHz and 24bit and almost 3 hours long.
My Rockbox Version is: r25117M-100311
This task depends upon

Closed by  Andree Buschmann (Buschel)
Monday, 02 May 2011, 20:33 GMT
Reason for closing:  Out of Date
Additional comments about closing:  No further response by user.
Comment by Christoph Pohl (Psirus) - Thursday, 18 March 2010, 18:58 GMT
Output of ffmpeg:
[flac @ 0x98c73d0]MAX_READ_SIZE:5000000 reached
Input #0, flac, from 'foobar.flac':
HDCD : 0
Duration: 02:49:02.42, bitrate: 2648 kb/s
Stream #0.0: Audio: flac, 96000 Hz, 2 channels, s32
Comment by Nils Wallménius (nls) - Tuesday, 03 August 2010, 09:29 GMT
Hi, the rockbox flac decoder is limited to a max blocksize of 4608 samples. could you cjeck the maximum blocksize in this file?
This can be done with the "flac" utility like this "flac -a file.flac" this will write a file.ana file which contains a lot of info from your file, search this file for lines containing blocksize=<something> where <something> is larger than 4608

edit: you can losslessly re-encode your file to a smaller blocksize if this is the case