开发者

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

开发者 https://www.devze.com 2022-12-26 17:39 出处:网络
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,

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

精彩评论

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