[FFmpeg-devel] Support for generating avm2 compatible swf files

Baptiste Coudurier baptiste.coudurier
Tue Jan 15 11:08:34 CET 2008


Hi,

Paul Egan wrote:
>>
>> [...]
>>
> I wasn't sure of the convention for adding a new version of a
> file format.  What would be acceptable?
> 
>> why is the version not always set to the newest, does it fail with old
>> programs?
>>
> Users of older versions of the Flash player can happily 
> interact with older version swf files - this issue effects
> only those developers/users using an AVM2 based application.
> If a version 9 swf file was generated by default, it wouldn't
> be usable by older players.
> 
>> what does the newly added chunk mean and why is it not always added?
> 
> When loading a swf, AVM2 looks at both the version number 
> and the file attribute tag to determine if the movie clip is
> AVM2 [3].  The attribute tag should probably be added to v8 
> swf files as well, but I didn't want to change existing 
> functionality.
> 

If tag is FILEATTRIBUTE, better naming it that way, and use put_swf_tag.
Can you document (in comments) which feature your are setting with this
tag ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list