开发者

How do I insert a new frame into existing flv files when playing?

This is quite often seen on video sites(to insert some advertisements),

the newly inserted frames should be dynamically generated from the web s开发者_如何学运维erver,

how to implement it myself?


Pause the flv playback programmatically. Display a static advertisement overlaid over the video or play another flv for the advertisement. When the advertisement is done, start playing the original flv again.


you can simply separate your video and advertising frames onto different layers in the timeline. With some planning, your FLV should ideally play on its own without the need to know what is going on around it, then you just layer your additional objects on top.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜