javaeclipsered5xugglexuggler

How to join one audio and video file -- Xuggler


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.


Solution

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