"encode video from any format to .flv format in as3" Code Answer


there's a flv encoder as3 library. as far as i remember it requires image bytes and audio bytes for a frame. but you will have to get image data and sound data somewhere. you could either

  1. play the video in flash and grab 'screenshots'
  2. decode it and get actual data

in the first case you'll end with a mp4/flv -> flv converter which i guess is not what you need. in the second case you will have to decode videos somehow. so you either will have to implement decoding algorythms in as3 or use alchemy and existing c/c++ solutions.

adobe is messing up with alchemy at the moment, so i guess it is not an option anyway.

but everyone in their mind uses a server-side script to convert videos. there are tons of articles in the web. this will be the simplest, fastest and least painful solution.

By TheShadow2707 on April 11 2022

Answers related to “encode video from any format to .flv format in as3”

Only authorized users can answer the Search term. Please sign in first, or register a free account.