Hello:

I need to generate keyframes inside an FLV.

I'm doing a small web app that records the webcam onto a Red5 server.
I need the resulting FLV files on the server to have at least 2 keyframes per second. I'm using *setMode*, *setQuality* and *setKeyFrameInterval* to attempt to control the quality and framerate of the uploaded video

When I record within a LAN, everything is fine. I get a lot of keyframes on my FLV files. But when I record on the internet (e.g. 128kbps upstream) I get keyframes every 5 or 6 seconds.

I know I can't challenge physics, so I think there's a way to generate additional keyframes on the server side FLV. I don't care if the file size is increased because I'm planning to download the files via HTTP. I just need to be able to jump from any "second" to any other second, and I belive I need 1 keyframe per second to achieve that.

I know Flash Media Server has the "enhanced seek" feature that forces the server to generate keyframes on demand, so it is possible to "seek" to any given frame in the video.
Anyway i think this feature only works when playing back a video via rtmp.

So what I actually need is a way to generate keyframes inside an FLV file that was previously recorded. I can be a process that runs after a video was recorded.

Any ideas?

Thanks,
JulianG





_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to