AS3 Video Encoding at runtime with high compression (H.264?)

I need to compress video data (say, a display object) in AS3 into a high compression byte array at runtime. The frame should only be around 5, but the 1024x768 video should go at <40 Kilobytes per second without quality beeing tooo bad. I wrote my own encoder and got it at about 80-100 kilobytes per second for 1024 * 768, which is still too much and I don’t see many improvements to go crazy for me.

Using JPG or PNG Encoder gives higher KB / s. Is there any open source way to decode and encode video in as3 at runtime? For instance. H.264 as3 encoder and decoder? Or other codecs?

Or maybe the C # source code for the h.264 encoder and decoder? I think I could port it to as3 ...

EDIT: No need to be h.264, just something with good quality when working at 5 frames / sec and 40 kilobytes ...

+3
source share
2 answers

Flash Player 11 (beta) is H.264 encoded:

H.264 / AVC SW Encoding - high-quality video encoding locally using H.264 video.

Edit: Flash Player 11 is no longer beta

+3
source

ffmpeg - / , . , #. - H.264 , . , , Firefox H.264 HTML5.

+1

Source: https://habr.com/ru/post/1764873/


All Articles