Post Reply 
Unexpected end of file error in 0.8.1 update 25
26-10-2014, 17:05
Post: #11
RE: Unexpected end of file error in 0.8.1 update 25
(26-10-2014 16:01)simoncn Wrote:  
(26-10-2014 15:37)miguelito Wrote:  Understood. So I have two options:
1- Clean up the AIFF files. How?
2- Have Minimserver ignore the error. Possible?

Many cataloging apps are immune to this error (iTunes, JRiver, Audirvana2). Why is this an issue here?

See example file in: http://goo.gl/Dy5Ta1

Thx.

Miguel

I tried this file and MinimServer didn't report an "end of file" error. There was a warning about an incorrect TYER frame.

Sorry about that, my fault.

Try this file: http://goo.gl/gNwZEB
Find all posts by this user
Quote this message in a reply
26-10-2014, 18:52
Post: #12
RE: Unexpected end of file error in 0.8.1 update 25
(26-10-2014 17:05)miguelito Wrote:  Sorry about that, my fault.

Try this file: http://goo.gl/gNwZEB

This file has an incorrect form size (1 less than it should be). I was able to fix it by converting it from AIFF to AIFF using dBpoweramp Music Converter.
Find all posts by this user
Quote this message in a reply
26-10-2014, 19:05
Post: #13
RE: Unexpected end of file error in 0.8.1 update 25
(26-10-2014 18:52)simoncn Wrote:  
(26-10-2014 17:05)miguelito Wrote:  Sorry about that, my fault.

Try this file: http://goo.gl/gNwZEB

This file has an incorrect form size (1 less than it should be). I was able to fix it by converting it from AIFF to AIFF using dBpoweramp Music Converter.

Understood. But iTunes, JRiver, Audirvana, all tollerate this error. Could you allow the ability to do just that?
Find all posts by this user
Quote this message in a reply
26-10-2014, 21:38
Post: #14
RE: Unexpected end of file error in 0.8.1 update 25
(26-10-2014 19:05)miguelito Wrote:  Understood. But iTunes, JRiver, Audirvana, all tollerate this error. Could you allow the ability to do just that?

I don't think it's a good idea for MinimServer to try to process corrupt files. In some cases it might work and in other cases it might cause MinimServer to fail in unpredictable ways.
Find all posts by this user
Quote this message in a reply
27-10-2014, 14:47 (This post was last modified: 27-10-2014 14:48 by miguelito.)
Post: #15
RE: Unexpected end of file error in 0.8.1 update 25
(26-10-2014 21:38)simoncn Wrote:  
(26-10-2014 19:05)miguelito Wrote:  Understood. But iTunes, JRiver, Audirvana, all tollerate this error. Could you allow the ability to do just that?

I don't think it's a good idea for MinimServer to try to process corrupt files. In some cases it might work and in other cases it might cause MinimServer to fail in unpredictable ways.
I used Yate (from http://2manyrobots.com) to clean up the AIFF tags. It allows you to batch-process any number of files through a script. Very easy scripting and very robust solution.

I have only one remaining file that I could not fix - neither by retagging nor by re-aiff-ing (is that a word?). I will post a link later.

Thx.
Find all posts by this user
Quote this message in a reply
01-11-2014, 18:37 (This post was last modified: 01-11-2014 18:37 by miguelito.)
Post: #16
RE: Unexpected end of file error in 0.8.1 update 25
(27-10-2014 14:47)miguelito Wrote:  
(26-10-2014 21:38)simoncn Wrote:  
(26-10-2014 19:05)miguelito Wrote:  Understood. But iTunes, JRiver, Audirvana, all tollerate this error. Could you allow the ability to do just that?

I don't think it's a good idea for MinimServer to try to process corrupt files. In some cases it might work and in other cases it might cause MinimServer to fail in unpredictable ways.
I used Yate (from http://2manyrobots.com) to clean up the AIFF tags. It allows you to batch-process any number of files through a script. Very easy scripting and very robust solution.

I have only one remaining file that I could not fix - neither by retagging nor by re-aiff-ing (is that a word?). I will post a link later.

Thx.
I have been able to make all files work by retagging with Yate except for this one:

http://goo.gl/JAUHn1

I have tried retagging, converting to FLAC (which does not give an error) and converting back to AIFF (all with XLD). No dice. Could you please take a look? Warning: it is a big file (~2.7gb).

Thx.
Find all posts by this user
Quote this message in a reply
01-11-2014, 21:56
Post: #17
RE: Unexpected end of file error in 0.8.1 update 25
(26-10-2014 16:01)simoncn Wrote:  
(26-10-2014 15:37)miguelito Wrote:  Understood. So I have two options:
1- Clean up the AIFF files. How?
2- Have Minimserver ignore the error. Possible?

Many cataloging apps are immune to this error (iTunes, JRiver, Audirvana2). Why is this an issue here?

See example file in: http://goo.gl/Dy5Ta1

Thx.

Miguel

I tried this file and MinimServer didn't report an "end of file" error. There was a warning about an incorrect TYER frame.

Very sorry, seem to keep getting the shortcuts wrong... Here's the correct shortcut:

http://goo.gl/JAUHn1

It's a big file, 2.7gb.

Miguel
Find all posts by this user
Quote this message in a reply
01-11-2014, 22:26
Post: #18
RE: Unexpected end of file error in 0.8.1 update 25
(01-11-2014 21:56)miguelito Wrote:  Very sorry, seem to keep getting the shortcuts wrong... Here's the correct shortcut:

http://goo.gl/JAUHn1

It's a big file, 2.7gb.

Miguel

The AIFF format is limited to files less than 2 GB long because it uses a signed 32-bit integer for the chunk length. This file exceeds this limit.

Some programs might treat the chunk length field as a 32-bit unsigned integer and allow a chunk length of less than 4 GB. I could do this in MinimServer but you might have problems when playing the file.
Find all posts by this user
Quote this message in a reply
02-11-2014, 04:30
Post: #19
RE: Unexpected end of file error in 0.8.1 update 25
(01-11-2014 22:26)simoncn Wrote:  
(01-11-2014 21:56)miguelito Wrote:  Very sorry, seem to keep getting the shortcuts wrong... Here's the correct shortcut:

http://goo.gl/JAUHn1

It's a big file, 2.7gb.

Miguel

The AIFF format is limited to files less than 2 GB long because it uses a signed 32-bit integer for the chunk length. This file exceeds this limit.

Some programs might treat the chunk length field as a 32-bit unsigned integer and allow a chunk length of less than 4 GB. I could do this in MinimServer but you might have problems when playing the file.

Ok thx. Thx for the insight.

I do think this is an unreasonable format for this file (should be splt by movement) but that's how it came from HDTracks (where I purchased it from). I will live with having this file in ALAC format.

Appreciate your help.

Miguel
Find all posts by this user
Quote this message in a reply
03-11-2014, 01:26
Post: #20
RE: Unexpected end of file error in 0.8.1 update 25
(01-11-2014 22:26)simoncn Wrote:  
(01-11-2014 21:56)miguelito Wrote:  Very sorry, seem to keep getting the shortcuts wrong... Here's the correct shortcut:

http://goo.gl/JAUHn1

It's a big file, 2.7gb.

Miguel

The AIFF format is limited to files less than 2 GB long because it uses a signed 32-bit integer for the chunk length. This file exceeds this limit.

Some programs might treat the chunk length field as a 32-bit unsigned integer and allow a chunk length of less than 4 GB. I could do this in MinimServer but you might have problems when playing the file.
Understood. I have not had any trouble playing the file though - albeit locally from a hard drive rather than served but I don't see why this would matter.

It would be nice if you could add an option in minimserver that would effectively be more error tolerant with AIFF (i.e. like an options in Properties). Presumably you'd want to ignore the errors in this thread - none of which have caused any errors during playback as far as I can tell. I have used iTunes, Audirvana (1&2), JRiver (20, on mac) and Amarra (2&3 on mac) without any problems.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)