Ted Patrick > { Events & Community } > Adobe Systems


FLAVOR - Roundtrip encoder/decoder for bitstream data (SWF)

One of the most difficult tasks in working with Flash is writing swf files. I found this tool that uses a class or XML schema to produce a roundtrip encoder/decoder for any bitstream format including swf! ;). \0

http://flavor.sourceforge.net/

From some initial testing you can easily encode XML into SWF. Even better is the fact that the same code will parse the SWF format back into XML perfectly. If you develop using this toolkit, encoding and decoding are developed at the exact same time reducing errors. The code generator outputs C++ or Java code or uses a standardized executable for XML processing. The toolkit has been successfully used to encode and decode MPEG-4 and many other bitstream formats.

I took a copy of the F7 File Format and made a schema that defines the SWF header blocks. It works perfectly round trip. The only thing needed now is a full blown XML schema for the entire Flash File Format. One day at a time! ;)

Best of all it is open source and is a very hardened piece of software.

Cheers,

Ted ;)

2 Responses to “ FLAVOR - Roundtrip encoder/decoder for bitstream data (SWF) ”

  1. # Anonymous Anonymous

    Hi,
    is flavor used for encode/decode any bitstream?

    The device I'm trying to interface with has lots of messages and those messages are 96 bits long. Message formats are defined in xml file.

    I prefer to have a tool which can produce encoder/decoder for each message using xml file defined for all messages.

    is it possible with flavor?

    Thanks


    Does it possible  

  2. # Blogger Syed

    Hi!
    How to generate the encoded/decoded bitstream for swf files by using flavor? Moreover Can you please write the installation document for linux along with ur package?
    Because I'm new to this package, I felt some hard to utilize this package. Hope that information will be very much helpful to all new users.

    Thanks a lot.... :)  

Post a Comment



Jobs


Flex Jobs
city, state, zip


© 2008 Ted On Flash