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

Michael Niedermayer michaelni
Tue Jan 15 15:49:25 CET 2008

On Tue, Jan 15, 2008 at 11:04:59AM +0100, Baptiste Coudurier wrote:
> Hi
> Michael Niedermayer wrote:
> > On Tue, Jan 08, 2008 at 10:20:39AM -0800, Paul Egan wrote:
> >> When working with Flash 9/Flex the AVM2 runtime sandboxes
> >> any swf files of older versions.  
> > 
> > ?
> > 
> > 
> >> This means you can't
> >> currently control the timeline of any swfs generated by
> >> ffmpeg.   Attached is a little patch to extend the ffmpeg
> >> swf support with a new file format, "avm2", which can be
> >> loaded into a Flash 9/Flex application.
> > 
> > adding a new dummy format for every little changed parameter is not acceptable
> I tend to agree here, though we got some dummy formats like 3g2, and Im
> thinking about a "flavour"/"brand"/"version" (people please say
> whichever you prefer or suggest a better one) field to AVFormatContext,
> which could be used for swf and or mp4/3gp (ftyp).
> What do you think about that ?

its surely possible to add a
int (file_)version;
that could even export the version on demuxing ...
also i tend slightly toward either leaving the dummy formats for 3g2,...
or adding a seperate field like int ftyp= MKTAG('3','g'...

but id like to think about the second part a little more
because ftyp somehow is different from version in the 1.0, 2.0 ... sense
its more "which of the half compatible standards from which comitee should
be picked" while version is more in the "2.0" is the current "1.0" is old and
superseded deprecated dont use it ...

adding a int (file_)version though should be ok if anyone wants it


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Complexity theory is the science of finding the exact solution to an
approximation. Benchmarking OTOH is finding an approximation of the exact
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080115/162105e9/attachment.pgp>

More information about the ffmpeg-devel mailing list