I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.
now i have done some editing and have saved these edited files as one with video stream
(OutputVideo.flv)
and one with Audio Stream
(OutputAudio.mp3)
.
Now i want to join these videos into one flv
(Output.flv)
How can i do that using xuggler.
Please if anyone can help me or at least provide me some hints. Note that i am using eclispe java
Check my answer HERE
Can merge audio and video file and the resulting file will be nicely synchronized.
I am just starting to look into xuggler, so this answer is untested. From this tutorial , it looks like you create a chain of commands:
[...]
// create a tool chain:
// reader -> addStaticImage -> reduceVolume -> writer
mediaReader.addListener(imageMediaTool);
imageMediaTool.addListener(audioVolumeMediaTool);
audioVolumeMediaTool.addListener(mediaWriter);
[...]
These don't have to be the same streams, as I understand it; they just have to be chained. Sorry I am not more help, but hopefully someone can correct any errors.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.