开发者

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

开发者 https://www.devze.com 2023-01-12 00:22 出处:网络
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 th

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

精彩评论

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