开发者

Can I insert audio in flv file at a specific location using actionscript3?

I've a flash AS3 based application that provides option to play/pause/record FLV 开发者_运维百科files from flash media server. These files are only audio files. Now, I want to add a new functionality of inserting audio at a specific location.

Like if the already recorded file is of five minutes duration, and I want to record 1 minute audio after third minute, the end result should be a six minute file with the new audio added from 3rd to 4th minute.


This should be done on the server side. Using ffmpeg, convert the FLV to WAV, then using SoX you can take a WAV file, split it and then concatenate it to another WAV file. Finally, using ffmpeg, you can encode it back to FLV.

Working directly with the flv files (without converting it back and forth) might also be possible using mencoder, but I'm not sure.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜