开发者

Copying audio stream from a source file to a trancoded video file using ffmpeg

I have built my own video-only transcoder using开发者_StackOverflow ffmpeg without audio. I do not want to transcode the audio. What will be best way to add the audio stream from the source file to the transcoded file using FFMPEG API?


Try -acodec copy, e.g. something like this:

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜