Help - Search - Members - Calendar
Full Version: AIF to FLAC - wrong block size?
Hydrogenaudio Forums > Lossless Audio Compression > FLAC
Tene
QUOTE
flac --best 1.AIF -o 1.flac

flac 1.2.1, Copyright © 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.

1.AIF: WARNING: skipping unknown chunk 'FVER' (use --keep-foreign-metadata to keep)
1.AIF: WARNING: skipping unknown chunk 'APPL' (use --keep-foreign-metadata to keep)
1.AIF: ERROR: block size is 512; must be 0


Does anyone reading this know how to fix it?


Edit:
Tried ffmpeg -i 1.AIF -acodec copy -o 1.wav, got:
CODE

Output #0, wav, to '1.wav':
    Stream #0.0: Audio: pcm_s24be, 44100 Hz, stereo, 2116 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Could not write header for output file #0 (incorrect codec parameters ?)


Then tried ffmpeg -i 1.AIF -acodec copy -o 11.aif, which worked. Running flac on 11.aif was succesful. I hope ffmpeg was accurate (which is not my experience with ffmpeg I must say)... unsure.gif
Tene
Okay, another problem with one of the AIF files I'm attempting to convert:

QUOTE
ERROR: SSND chunk size inconsistent with sample frame count


Any clues?

Edit:
Nevermind, sox was able to fix this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.