如何加入一个音视频文件 - Xuggler [英] How to join one audio and video file -- Xuggler

查看:189
本文介绍了如何加入一个音视频文件 - Xuggler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将视频文件(flv)与音频文件(mp3)一起使用Xuggler。目前,我已经采取了两个流,并将这些流的视频和音频部分分开合并,如图片所示。现在我想将音频和视频文件相互结合在一起。任何建议或提示都将不胜感激。我使用red5服务器。谢谢。

I want to combine a video file (flv) with no audio with an audio file (mp3) using Xuggler. At the moment I have taken two streams and combined the video and audio parts of those streams separately like picture in picture. Now i want to combine the audio and video files with each other.. Any suggestion or hints will be appreciated. I am using red5 server. Thanks.

推荐答案

使用MediaConcatenator。请参阅示例代码Concatenate Audio and Video

Use a MediaConcatenator. See example code "Concatenate Audio And Video"

这篇关于如何加入一个音视频文件 - Xuggler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆