ffmpeg segfaults on flac files with large amounts of metadata. This is Issue #187 in the bug tracker. abridged output of metaflac --list: METADATA block #0 type: 0 (STREAMINFO) is last: false length: 34 minimum blocksize: 4608 samples maximum blocksize: 4608 samples minimum framesize: 2606 bytes maximum framesize: 9679 bytes sample_rate: 44100 Hz channels: 2 bits-per-sample: 16 total samples: 7445616 MD5 signature: cc40943a3c09067cf009208f92706282 METADATA block #1 type: 4 (VORBIS_COMMENT) is last: false length: 521 vendor string: comments: 20 comment[0]: ENCODER=Max 0.7.1 comment[1]: ENCODING=FLAC settings: exhaustiveModelSearch:0 midSideStereo:1 looseMidSideStereo:0 QLPCoeffPrecision:0, minResidualPartitionOrder:0, maxResidualPartitionOrder:4, maxLPCOrder:8 comment[2]: COPYRIGHT=(c) 2008 nin comment[3]: COMMENT=3/4 time comment[4]: TOTALTRACKS=36 comment[5]: YEAR=2008 comment[6]: DISC=1 comment[7]: DISCC=2 comment[8]: ALBUM=Ghosts I-IV comment[9]: ARTIST=Nine Inch Nails comment[10]: DATE=2008 comment[11]: TITLE=1 Ghosts I comment[12]: TRACKNUMBER=1 comment[13]: TRACKTOTAL=36 comment[14]: DISCNUMBER=1 comment[15]: DISCTOTAL=2 comment[16]: ISRC=USTC40852229 comment[17]: MCN=766929908628 comment[18]: BPM=60 comment[19]: COMPILATION=0 METADATA block #2 type: 3 (SEEKTABLE) is last: false length: 108 seek points: 6 point 0: sample_number=0, stream_offset=0, frame_samples=4608 point 1: sample_number=1322496, stream_offset=1873641, frame_samples=4608 point 2: sample_number=2644992, stream_offset=3881752, frame_samples=4608 point 3: sample_number=3967488, stream_offset=6386458, frame_samples=4608 point 4: sample_number=5289984, stream_offset=8970170, frame_samples=4608 point 5: sample_number=6612480, stream_offset=11427882, frame_samples=4608 METADATA block #3 type: 6 (PICTURE) is last: false length: 271113 type: 3 (Cover (front)) MIME type: image/jpeg description: width: 1000 height: 1000 depth: 24 colors: 0 (unindexed) data length: 271071 data: 00000000: FF D8 FF E0 00 10 4A 46 49 46 00 01 02 01 00 48 ÿØÿà..JFIF.....H ... 000422D0: 2D 31 50 F4 DB AE 28 58 D1 54 0F 0C 55 FF D9 00 -1PôÛ®(XÑT..UÿÙ METADATA block #4 type: 1 (PADDING) is last: true length: 39619