【问题标题】:error encoding file with missing audio aac bitstream error缺少音频 aac 比特流错误的错误编码文件
【发布时间】:2014-08-27 15:34:38
【问题描述】:

我从客户端收到一个视频,当它上传到我们的视频处理服务器(元素服务器)时它挂起并且永远不会完成。显示的错误是:

Can't decompress audio. Ignoring packet.
osl: [aac @ 0x7f90940031c0]Input buffer exhausted before END element found

尝试过是否可以使用简单的复制格式使用 ffmpeg 进行修复:

ffmpeg -i "C:\broken.mp4" -c copy output.mp4"

,这并不能解决音频流的问题,显示错误

aac bitstream error

每隔几行。

我尝试将视频转换为 mpeg,但在读取损坏的文件时也明显失败:

Sample rate index in program config element does not match the sample rate index configured by the container.

视频文件可以修复吗?视频在普通桌面上播放正常,但音频缺少部分。 我们不想保留视频,因为我们无法再次录制它,同时能够编码为其他所需的格式。

谢谢。

【问题讨论】:

    标签: video ffmpeg video-processing aac bitstream


    【解决方案1】:

    如果你只需要视频,你可以试试 -an (禁用音频):

    ffmpeg -i "C:\broken.mp4" -an -c copy output.mp4" 
    

    【讨论】:

      猜你喜欢
      • 2015-10-04
      • 2017-07-13
      • 1970-01-01
      • 2015-10-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-20
      • 1970-01-01
      相关资源
      最近更新 更多