ffmpeg FLAC解码错误

ffmpeg FLAC解码错误

我正在使用ffmpeg将一些 FLAC 文件转换为其他格式,但它因这个错误而停止

ffmpeg version git-2017-03-23-1a5631d Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --enable-libfdk-aac --enable-nonfree
  libavutil      55. 50.100 / 55. 50.100
  libavcodec     57. 85.101 / 57. 85.101
  libavformat    57. 67.100 / 57. 67.100
  libavdevice    57.  3.101 / 57.  3.101
  libavfilter     6. 78.100 /  6. 78.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
Input #0, flac, from 'input.flac':
  Metadata:
  Duration: 00:04:11.48, start: 0.000000, bitrate: 2534 kb/s
    Stream #0:0: Audio: flac, 96000 Hz, stereo, s32 (24 bit)
Stream mapping:
  Stream #0:0 -> #0:0 (flac (native) -> flac (native))
Press [q] to stop, [?] for help
Output #0, flac, to 'output.flac':
  Metadata:
    encoder         : Lavf57.67.100
    Stream #0:0: Audio: flac, 96000 Hz, stereo, s32 (24 bit), 128 kb/s
    Metadata:
      encoder         : Lavc57.85.101 flac
Assertion ret <= avpkt->size failed at libavcodec/utils.c:2507157x  

无论输出格式如何,都会发生错误,并且它可以很好地处理mp3输入文件,所以我认为是我的 FLAC 解码器的问题。

~/tmp → ffmpeg -decoders | grep flac
ffmpeg version git-2017-03-23-1a5631d Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  configuration: --enable-libfdk-aac --enable-nonfree
  libavutil      55. 50.100 / 55. 50.100
  libavcodec     57. 85.101 / 57. 85.101
  libavformat    57. 67.100 / 57. 67.100
  libavdevice    57.  3.101 / 57.  3.101
  libavfilter     6. 78.100 /  6. 78.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
316: AF...D flac                 FLAC (Free Lossless Audio Codec)

我现在应该寻找什么?

相关内容