MinimServer Forum

Full Version: Error: unexpected end of file in WAV
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
My setup is the following.

Synology DS213+ (os DSM 5.0 latest)
MinimServer latest
XLD latest for ripping
Metadatics latest for adding tags, etc...

Since updating Metadatics, I now get this issue when writing to my WAV files.

Error: unexpected end of file in WAV file hidef/Adele/Skyfall - Single/01 Skyfall.wav (length 164831066)

In order to correct the error, I have to reconvert again in XLD. Very annoying. This issue was not present in the previous version.

Is anyone using similar setup to this and can confirm if they also get the issue?

Many thanks, Anton
(13-12-2014 13:57)AntonD Wrote: [ -> ]My setup is the following.

Synology DS213+ (os DSM 5.0 latest)
MinimServer latest
XLD latest for ripping
Metadatics latest for adding tags, etc...

Since updating Metadatics, I now get this issue when writing to my WAV files.

Error: unexpected end of file in WAV file hidef/Adele/Skyfall - Single/01 Skyfall.wav (length 164831066)

In order to correct the error, I have to reconvert again in XLD. Very annoying. This issue was not present in the previous version.

Is anyone using similar setup to this and can confirm if they also get the issue?

Many thanks, Anton

It sounds like the latest version of Metadatics might be writing WAV files in an incorrect format. The other possibility is a bug in how MinimServer is reading these files.

I will install the latest version of Metadatics and try this myself to see if I get the same error.
It sounds like the latest version of Metadatics might be writing WAV files in an incorrect format. The other possibility is a bug in how MinimServer is reading these files.

I will install the latest version of Metadatics and try this myself to see if I get the same error.
[/quote]

Hi Simon

Many thanks four your prompt response. It will be interesting to see what you find. I have also sent a mail to Metadatics support to see if they have any ideas.

Thanks
Hi Simon

I found this thread which describes a similar problem I am having. After reading this I thought that Metadatics could be the problem however I downloaded a fresh copy of this album from Qobuz and did not run it through Metadatics. As you can see by the log file I am encountering the same problems. It is a WAV file which I am experimenting with (sound quality). The FLAC file of the same album, also downloaded from Qobuz, did not give a problem

Best
Gregg

PS appreciate it if you could comment on the other errors the random 6 other tracks are giving

restarting MinimServer
Language setting is 'eng'
starting MinimServer
Error: incorrect FLAC header 0xb902d201 at offset 0 in file Antonio Vivaldi/Antonio Vivaldi - Le Quattro Stagioni - The English Concert - Trevor Pinnock GL/04 Antonio Vivaldi - L'estate - Allegro Non Molto.flac (length 50437504)
Error: unexpected end of file at offset 0 in file Carbon-Silicon/The Last Post/06 Carbon-Silicon - War On Culture.flac (length 0)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 340 in file D'Angelo/D_Angelo-Black_Messiah/01-01-D_Angelo-Ain_t_That_Easy-SMR.wav (length 166495788)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 336 in file D'Angelo/D_Angelo-Black_Messiah/01-02-D_Angelo-1000_Deaths-SMR.wav (length 201439788)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 336 in file D'Angelo/D_Angelo-Black_Messiah/01-03-D_Angelo-The_Charade-SMR.wav (length 115700268)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 336 in file D'Angelo/D_Angelo-Black_Messiah/01-04-D_Angelo-Sugah_Daddy-SMR.wav (length 174452268)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 336 in file D'Angelo/D_Angelo-Black_Messiah/01-05-D_Angelo-Really_Love-SMR.wav (length 198360108)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 352 in file D'Angelo/D_Angelo-Black_Messiah/01-06-D_Angelo-Back_to_the_Future_Part_I-SMR.wav (length 185557548)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 346 in file D'Angelo/D_Angelo-Black_Messiah/01-07-D_Angelo-Till_It_s_Done_Tutu-SMR.wav (length 133594668)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 331 in file D'Angelo/D_Angelo-Black_Messiah/01-08-D_Angelo-Prayer-SMR.wav (length 157233708)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 340 in file D'Angelo/D_Angelo-Black_Messiah/01-09-D_Angelo-Betray_My_Heart-SMR.wav (length 204680748)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 334 in file D'Angelo/D_Angelo-Black_Messiah/01-10-D_Angelo-The_Door-SMR.wav (length 108373548)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 354 in file D'Angelo/D_Angelo-Black_Messiah/01-11-D_Angelo-Back_to_the_Future_Part_II-SMR.wav (length 83428908)
Error: ID3v2 'COMM' frame has invalid size 339 at offset 338 in file D'Angelo/D_Angelo-Black_Messiah/01-12-D_Angelo-Another_Life-SMR.wav (length 206546052)
Error: unexpected end of file at offset 0 in file Keith Richards/Main Offender/01 Keith Richards - 999.flac (length 0)
Error: unexpected end of file at offset 0 in file Louis Armstrong/Louis Armstrong Plays W.C. Handy/05 Louis Armstrong - Long Gone (From the Bowlin' Green).flac (length 0)
Error: unexpected end of file at offset 0 in file Louis Armstrong/Louis Armstrong Plays W.C. Handy/07 Louis Armstrong - Beale Street Blues.flac (length 0)
Error: unexpected end of file at offset 0 in file Louis Armstrong/Louis Armstrong Plays W.C. Handy/16 Louis Armstrong - Long Gone (From the Bowlin' Green).flac (length 0)
MinimServer is running
(19-12-2014 19:33)glevethan Wrote: [ -> ]Hi Simon

I found this thread which describes a similar problem I am having. After reading this I thought that Metadatics could be the problem however I downloaded a fresh copy of this album from Qobuz and did not run it through Metadatics. As you can see by the log file I am encountering the same problems. It is a WAV file which I am experimenting with (sound quality). The FLAC file of the same album, also downloaded from Qobuz, did not give a problem

Best
Gregg

PS appreciate it if you could comment on the other errors the random 6 other tracks are giving

These messages aren't the same as the previous problem.

1) Messages like this:

Error: unexpected end of file at offset 0 in file Louis Armstrong/Louis Armstrong Plays W.C. Handy/16 Louis Armstrong - Long Gone (From the Bowlin' Green).flac (length 0)

are reporting a FLAC file with zero length (no contents).

2) Messages like this:

Error: incorrect FLAC header 0xb902d201 at offset 0 in file Antonio Vivaldi/Antonio Vivaldi - Le Quattro Stagioni - The English Concert - Trevor Pinnock GL/04 Antonio Vivaldi - L'estate - Allegro Non Molto.flac (length 50437504)

are reporting a FLAC file that is corrupt and doesn't start with a valid FLAC header

3) Messages like this:

Error: ID3v2 'COMM' frame has invalid size 339 at offset 340 in file D'Angelo/D_Angelo-Black_Messiah/01-01-D_Angelo-Ain_t_That_Easy-SMR.wav (length 166495788)


are reporting an ID3v2 frame whose length extends beyond the end of the ID3v2 frame data section of the WAV file. If you would like to upload this file:

01-11-D_Angelo-Back_to_the_Future_Part_II-SMR.wav

to my FTP server, I will give you more exact details of what is wrong with the file. I will PM you the server details.
OK Simon - Thanks
The other files I will re rip and correct.

The D'Angelo files are a brand new album just released this week and downloaded in 24 bit from Qobuz. I would be interested to know the problem

Best
Gregg
(19-12-2014 20:53)glevethan Wrote: [ -> ]OK Simon - Thanks
The other files I will re rip and correct.

The D'Angelo files are a brand new album just released this week and downloaded in 24 bit from Qobuz. I would be interested to know the problem

Best
Gregg

The form size in the RIFF chunk is 115982144, This specifies a total data size of 115982152 but the file contains only 115793452 bytes of data.
Hi Simon

I am in the process of re downloading the files from Qobuz. It is possible that the file I uploaded to your server was the downloaded WAV from Qobuz run through XLD to convert it again to WAV in the hope that it would fix the problem. You will have then officially downloaded WAV file in a moment.

If I understand your comment above (in layman's terms) it appears to say that the actual file size does not match what the "form size" specifies it to be. If this is the case than there should be a way around this ie this was not a ripped file but rather a commercially sold one from Qobuz. With all of the tracks they sell it could mean that many have this problem.....and will be unable to be read by Minimserver???

Best
Gregg
OK - file is being uploaded as we speak. This is the official straight from Qobuz file.
Here is what the error log generated for this file

Error: ID3v2 'COMM' frame has invalid size 339 at offset 336 in file D'Angelo/01-03-D_Angelo-The_Charade-SMR.wav (length 115700268)
(21-12-2014 01:13)glevethan Wrote: [ -> ]OK - file is being uploaded as we speak. This is the official straight from Qobuz file.
Here is what the error log generated for this file

Error: ID3v2 'COMM' frame has invalid size 339 at offset 336 in file D'Angelo/01-03-D_Angelo-The_Charade-SMR.wav (length 115700268)

As the message says, the COMM frame in the ID3v2.3 tag has an incorrect size value of 339. From looking at the contents of the file, this value should be 211.

It seems that XLD got confused by this and made a bigger mess when trying to fix it.

It looks like the COMM size value was encoded using the ID3v2.4 format encoding rules instead of the ID3v2.3 format encoding rules. (The ID3v2 tag in this file is an ID3v2.3 tag.) If the COMM size field in the file is decoded according to the ID3v2.4 rules, this produces the correct value of 211.

I hope this information is useful to Qobuz in fixing their file encoding bug.
Pages: 1 2 3
Reference URL's