【问题标题】:Copying audio stream from a source file to a trancoded video file using ffmpeg使用ffmpeg将音频流从源文件复制到转码的视频文件
【发布时间】:2012-08-17 13:08:15
【问题描述】:

我使用没有音频的 ffmpeg 构建了自己的纯视频转码器。我不想对音频进行转码。使用 FFMPEG API 将源文件中的音频流添加到转码文件的最佳方法是什么?

【问题讨论】:

    标签: ffmpeg


    【解决方案1】:

    试试-acodec copy,例如像这样:

    ffmpeg -i your_input.file [your video transcoding options] -acodec copy your_output.file
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-04-26
      • 2014-09-12
      • 2016-05-30
      • 1970-01-01
      • 2016-09-03
      • 2017-12-07
      • 2019-12-24
      • 1970-01-01
      相关资源
      最近更新 更多