This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package | |
{ | |
import flash.display.*; import flash.media.*; import flash.text.*; | |
import flash.geom.*; import flash.net.*; import flash.system.*; | |
import flash.events.*; import flash.errors.*; import flash.utils.*; | |
import flash.system.ApplicationDomain; | |
/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
//## DYNAMIC VIDEO USING AS3 AND FFMPEG (as native AIR application) | |
A quick code example for using AS3 to transfer a bitmap object to an FFmpeg video frame. | |
In others word: Create video dynamically from pixel grabs of a displayObject (Sprite, MC, Bitmap etc). | |
> Inspired by : http://stackoverflow.com/a/13777166 | |
> See example result : http://blog.vcone.co.uk/2016/04/10/dynamic-video-test-1/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function convert_RectToPolar ( input_BMP : Bitmap ) : void | |
{ | |
//# *** NOTES *** | |
//# "output_canvas" (used later) is the Sprite container for the "input_BMP" (source image) | |
//# **************************************************************************************** | |
trace("Doing Function : Rectangular To Polar convert"); | |
var x : int = 0; var y : int = 0; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- Plays Speech during I-frame reload. (Even in FireFox) --> | |
<!-- Demo related to : --> | |
<!-- https://stackoverflow.com/questions/54328556/speech-gets-cut-off-in-firefox-when-page-is-auto-refreshed-but-not-in-google-chr --> | |
<html> | |
<style> | |
#content_Iframe |