Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: "Truncated file" error, should it concern me? (Read 4895 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

"Truncated file" error, should it concern me?

I've been converting some old WAV files to FLAC (in foobar2000). About half of them report the error:

"converted with minor problems.
  Indicated RIFF size exceeds actual file size, file appears to be truncated"


Is this anything to worry about, given that the files play fine both before and after conversion?

Re: "Truncated file" error, should it concern me?

Reply #1
If you can upload such a file somewhere I'll take a look

Re: "Truncated file" error, should it concern me?

Reply #2
If you can upload such a file somewhere I'll take a look
Thank you very much, I've sent you the link in a private message :)

Re: "Truncated file" error, should it concern me?

Reply #3
Here's what sndfile-info writes:
Code: [Select]
Length : 310035
RIFF : 310122 (should be 310027)
WAVE
fmt  : 16
  Format        : 0x1 => WAVE_FORMAT_PCM
  Channels      : 1
  Sample Rate  : 11025
  Block Align  : 1
  Bit Width    : 8
  Bytes/sec    : 11025
LIST : 88
  exif
    EXIF Version : 2.20
    ecor : 6 (CANON)
    emnt : 50 (II*)
data : 309895
End
The header that describes audio part of the file (data : 309895) is correct, but the header that describes the total file length (RIFF : 310122) is 95 bytes off.
I have no idea why this can happen, but the audio iself seems to be ok.

Re: "Truncated file" error, should it concern me?

Reply #4
Buggy software that wrote those WAV files?
"I hear it when I see it."

 

Re: "Truncated file" error, should it concern me?

Reply #5
The header that describes audio part of the file (data : 309895) is correct, but the header that describes the total file length (RIFF : 310122) is 95 bytes off.
I have no idea why this can happen, but the audio iself seems to be ok.
Thank you for your help :)

Buggy software that wrote those WAV files?
The WAV files in question were actually made using an old Canon camera. It was the "audio notation" feature which allowed you to attach a bit of audio to a photo. It was a pretty horrible feature which limited all recordings to 1 minute, and the resulting sound quality was terrible compared to that of the built-in video recorder. So, a totally worthless feature.