bpa wrote: > Looking at more details - 3h:22min relates to a WAV header size field > which has a width 32 bits. > Flac headers have a field size of 36 bits - so I'm guessing the original > problem occurred when encoding somehow with a WAV intermediary. > > Use metaflac to confirm whether the file header is incorrect > e.g > > Code: -------------------- > > > metaflac --show-total-samples testfile.flc > -------------------- > > > or for full dump of STREAMINFO > > > Code: -------------------- > > > metaflac --list --block-type=STREAMINFO testfile.flc > -------------------- > > > > output will be something like > > Code: -------------------- > > > METADATA block #0 > type: 0 (STREAMINFO) > is last: false > length: 34 > minimum blocksize: 4096 samples > maximum blocksize: 4096 samples > minimum framesize: 401 bytes > maximum framesize: 9336 bytes > sample_rate: 44100 Hz > channels: 2 > bits-per-sample: 16 > total samples: 8221416 > -------------------- > > > > The following command re-writes the file header correctly without > losing metadata. I think it involves a decode and re-encode so may > take time. I tried variations of "-c:a copy" options to avoid > decode/encode but STREAMINFO was not rewritten. > > Code: -------------------- > > > ffmpeg -i input.flc -f flac output.flc > -------------------- > >
Wow, thanks. I can give that a shot. If I can script it, more better. The disks on my nas are scrubbing right now so I have a wait for a little while. 2 Duets controllers, 1 X Boom, 1 X Radio 1 X Receiver + Edifier S1000DB 1 X Receiver + Yamaha RX-A2000, Polk M70 1 X Receiver + Boston MicroSystem CD Raspberry Pi 3 B+ HiFi Berry Amp2 7" touchscreen PiCorePlayer 7.0 Audioengine A5 ( passive mode ) Raspberry Pi 2 B, HiFiBerry Dac+ & Max2play SqueezeAmp 3 Monsoon MM-700 flat panels + Infinity sub HTC 10 w/ Squeeze Ctrl ReadyNAS 516 LMS 8.2.1 ------------------------------------------------------------------------ mark wollschlager's Profile: http://forums.slimdevices.com/member.php?userid=22302 View this thread: http://forums.slimdevices.com/showthread.php?t=116230 _______________________________________________ ripping mailing list ripping@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/ripping