Bug 10840 - Swfdec should support AVM2
Summary: Swfdec should support AVM2
Status: ASSIGNED
Alias: None
Product: swfdec
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: All Mac OS X (All)
: high enhancement
Assignee: swfdec ml
QA Contact: swfdec ml
URL: http://blog.pixelbreaker.com/upload/p...
Whiteboard:
Keywords:
: 13049 14339 14516 15486 15496 15623 15950 15990 16088 16533 16628 16743 16869 18083 18223 18235 19499 22799 28773 (view as bug list)
Depends on:
Blocks: 17220
  Show dependency treegraph
 
Reported: 2007-05-02 10:46 UTC by Tom Parker
Modified: 2017-07-14 14:10 UTC (History)
17 users (show)

See Also:
i915 platform: ALL
i915 features:


Attachments
new (9 bytes, text/plain)
2014-12-20 18:07 UTC, chris
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Parker 2007-05-02 10:46:33 UTC
The Polar Clock given at the above url looks like a pretty decent test case, given the long string of errors listed below. Looks darn cool in Flash 9, but swfdec can't display any of it. It being a pretty much purely generated animation probably doesn't help... I had a look at Alexis' SWF reference (http://sswf.sourceforge.net/SWFalexref.html) but it doesn't appear to have the problem paint styles listed below at all.

SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xf5
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xb0
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xa1
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xd8
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xdc
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0x0c
SWFDEC: ERROR: swfdec_bits.c(217): swfdec_bits_get_u8: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(217): swfdec_bits_get_u8: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(597): swfdec_bits_get_gradient: not enough data for 6 gradients, could only read 4
SWFDEC: ERROR: swfdec_bits.c(217): swfdec_bits_get_u8: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(217): swfdec_bits_get_u8: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(217): swfdec_bits_get_u8: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(597): swfdec_bits_get_gradient: not enough data for 97 gradients, could only read 5
SWFDEC: ERROR: swfdec_bits.c(217): swfdec_bits_get_u8: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_bits.c(161): swfdec_bits_getbits: reading past end of buffer
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0x87
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xd2
SWFDEC: ERROR: swfdec_pattern.c(329): swfdec_pattern_do_parse: could not find image with id 5085 for pattern
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0x04
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xbb
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0x84
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xda
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0xe0
SWFDEC: ERROR: swfdec_pattern.c(344): swfdec_pattern_do_parse: unknown paint style type 0x9d
Comment 1 Benjamin Otte 2007-05-03 10:05:07 UTC
Paint style errors are normally a problem further above in the shape parsing code.
In this case I'd guess it's the regression I fixed in e58f25683ddec3dd4e613d7a7b4d5ab58a27561c - I found it directly after the 0.4.4 release. ;(
However there's still enough script actions that aren't implemented, so it still doesn't work.
Comment 2 Stéphane Loeuillet 2007-10-13 04:55:13 UTC
Attaching the direct link to the flash file :
http://blog.pixelbreaker.com/wp-content/flash/polarclock3/PolarClock3.swf

With current git (post-0.5.3 ), it gives this on the console :
SWFDEC: ERROR: swfdec_url.c(89): swfdec_url_new: URL /home/leroutier/Bureau/Flash tests/PolarClock3.swf has no protocol
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 86 unknown
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 82 AVM2Action
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 73 DefineFontAlignZones
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 88 unknown
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 74 CSMTextSettings
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 73 DefineFontAlignZones
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 88 unknown
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 74 CSMTextSettings
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 73 DefineFontAlignZones
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 88 unknown
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 74 CSMTextSettings
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 73 DefineFontAlignZones
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 88 unknown
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 74 CSMTextSettings
SWFDEC: WARN : swfdec_swf_decoder.c(341): swfdec_swf_decoder_parse: tag function not implemented for 76 AVM2Decl


Still nothing displayed because of unimplemented methods
Comment 3 Benjamin Otte 2007-10-14 02:53:38 UTC
Uh oh. AVM2 tags are the new scripts added in Flash 9. So until we add support for Tamarin (or a custom interpreter for Tamarin scripts) this will not work.
Comment 4 Pekka Lampila 2007-11-02 09:36:25 UTC
*** Bug 13049 has been marked as a duplicate of this bug. ***
Comment 5 Benjamin Otte 2008-02-02 18:52:01 UTC
*** Bug 14339 has been marked as a duplicate of this bug. ***
Comment 6 Pekka Lampila 2008-02-15 20:48:44 UTC
*** Bug 14516 has been marked as a duplicate of this bug. ***
Comment 7 Benjamin Otte 2008-04-14 00:03:30 UTC
*** Bug 15486 has been marked as a duplicate of this bug. ***
Comment 8 Riccardo Magliocchetti 2008-04-17 12:57:21 UTC
*** Bug 15496 has been marked as a duplicate of this bug. ***
Comment 9 Pekka Lampila 2008-05-02 08:06:19 UTC
*** Bug 15623 has been marked as a duplicate of this bug. ***
Comment 10 Riccardo Magliocchetti 2008-05-19 00:44:29 UTC
*** Bug 15990 has been marked as a duplicate of this bug. ***
Comment 11 Riccardo Magliocchetti 2008-05-25 09:07:16 UTC
*** Bug 16088 has been marked as a duplicate of this bug. ***
Comment 12 Pekka Lampila 2008-06-26 15:55:22 UTC
*** Bug 16533 has been marked as a duplicate of this bug. ***
Comment 13 Benjamin Otte 2008-07-07 13:46:11 UTC
*** Bug 16628 has been marked as a duplicate of this bug. ***
Comment 14 Riccardo Magliocchetti 2008-07-16 13:06:32 UTC
*** Bug 16743 has been marked as a duplicate of this bug. ***
Comment 15 Riccardo Magliocchetti 2008-08-28 02:44:09 UTC
*** Bug 15950 has been marked as a duplicate of this bug. ***
Comment 16 Benjamin Otte 2008-10-15 23:35:53 UTC
*** Bug 18083 has been marked as a duplicate of this bug. ***
Comment 17 Riccardo Magliocchetti 2008-10-26 02:20:08 UTC
*** Bug 18223 has been marked as a duplicate of this bug. ***
Comment 18 Riccardo Magliocchetti 2008-10-26 02:32:44 UTC
*** Bug 16869 has been marked as a duplicate of this bug. ***
Comment 19 Riccardo Magliocchetti 2008-10-27 01:49:12 UTC
*** Bug 18235 has been marked as a duplicate of this bug. ***
Comment 20 Riccardo Magliocchetti 2009-02-14 05:54:51 UTC
*** Bug 19499 has been marked as a duplicate of this bug. ***
Comment 21 Riccardo Magliocchetti 2009-07-17 11:36:15 UTC
*** Bug 22799 has been marked as a duplicate of this bug. ***
Comment 22 Benjamin Otte 2010-06-27 01:02:33 UTC
*** Bug 28773 has been marked as a duplicate of this bug. ***
Comment 23 Luke 2010-06-27 13:28:56 UTC
Oi, this bug has been going on for a long time. Shouldn't the priority be a little higher than low? I was thinking at least medium since it's affecting so many flash related applications. Also, has there been in any progress? It looks like a coders nightmare... lol :P
Comment 24 Anand Kumria 2010-06-27 18:36:58 UTC
given that swfdec is unmaintained, how about just dropping declaring
bugs in it to be invalid?

On Sun, Jun 27, 2010 at 9:28 PM,  <bugzilla-daemon@freedesktop.org> wrote:
> https://bugs.freedesktop.org/show_bug.cgi?id=10840
>
> --- Comment #23 from Luke <gaming4jc2@yahoo.com> 2010-06-27 13:28:56 PDT ---
> Oi, this bug has been going on for a long time. Shouldn't the priority be a
> little higher than low? I was thinking at least medium since it's affecting so
> many flash related applications. Also, has there been in any progress? It looks
> like a coders nightmare... lol :P
>
> --
> Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
>
>
Comment 25 Luke 2010-06-28 12:47:27 UTC
I certainly hope they don't kill the swfdec project entirely. I always thought it pwned gnash hands down. It also comes pre-built with a type of flashblock which was sweet. DON'T GIVE UP! ty. :)
Comment 26 chris 2014-12-20 18:07:01 UTC
Created attachment 111084 [details]
new


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.