From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <4e6ca2050902020126p2253cf80n8a878cb7dcd2c84d@mail.gmail.com> References: <4e6ca2050902012323vf3bcc14vdffe2c8a88a6b124@mail.gmail.com> <05390a0c29b2650bf3604e34f050f3ef@9netics.com> <4e6ca2050902020126p2253cf80n8a878cb7dcd2c84d@mail.gmail.com> Date: Mon, 2 Feb 2009 08:14:05 -0500 Message-ID: <9ab217670902020514h5e1f61eye7f6b3c72a241901@mail.gmail.com> From: "Devon H. O'Dell" To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Flash Video Topicbox-Message-UUID: 921d186a-ead4-11e9-9d60-3106f5b1d025 2009/2/2 Akshat Kumar : > 2009/2/2 Skip Tavakkolian <9nut@9netics.com>: >> it might require a c-section. >> might want to start with VLC or ffmpeg. >> > > My aim was just to get 9fans talking about it. > Hence, the pushing. > > But yes, what information can you provide > about either of those, with regards to porting > or creating natively? The Flash file format is an open standard (http://www.adobe.com/devnet/swf/). To be useful for encoded video, you'd need a VP6 codec (which seems lolno) and x264. It would probably be possible to do at least the x264 stuff via ffmpeg, which is probably not too difficult to port -- it's pretty simple code and the codecs are easily portable. To be useful for anything else, you'd also need a bytecode interpreter that understood the compiled actionscript -- it's just a bytecode-compiled ECMAScript, and I believe its details are also found in that PDF. The rest is being able to display JPG/PNG raster images and antialiased TTF and vectors. (Flash allows you to embed fonts into the generated SWF output as well). --dho > ak > >