bugGnash - The GNU Flash player - Bugs: bug #40420, VPlayer.swf from the media9 LaTeX...

 
 

bug #40420: VPlayer.swf from the media9 LaTeX package is not supported

Submitter:  None
Submitted:  Tue 29 Oct 2013 06:20:46 PM UTC
   
 
Category:  avm2 Severity:  1 - Wish
Release:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 31 Oct 2013 06:45:31 PM UTC, comment #2: 

Thank you for your help.  I was half expecting this to be the answer.  I have filed a corresponding bug with lightspark, and hope to get in touch with its developers.

Feel free to close this bug.

Anonymous
Thu 31 Oct 2013 05:43:35 AM UTC, comment #1: 

This is the key issue:
19360:2] 109 UNIMPLEMENTED: This SWF file requires AVM2: there will be no ActionScript interpretation

Gnash does not support ActionScript 3 bytecode
that generally used in flash file these days.

Gnash only supports ActionScript 2 and ActionScript 1.

I'm trying not to sound unhelpful but,
solution as far as I know, is implementing
entire ActionScript 3 interpreter stack and its class library,
which is a big, very big task indeed.

I heard that this has been tried before, but the attempt
falled apart due to lack of developer time (and funds).

Current workaround is to use Lightspark (http://lightspark.github.io/),
which features ActionScript 3 (and only ActionScript 3) runtime.

Note: AVM stands for 'ActionScript Virtual Machine'
AVM1 (which Gnash have) is used for running ActionScript 1 and ActionScript 2.
AVM2 (which Gnash didn't have) is used for running ActionScript 3.

Nutchanon Wetchasit <nachanon>
Tue 29 Oct 2013 06:20:46 PM UTC, original submission:  

The media9 LaTeX package contains a little flash program VPlayer.swf implementing a video player.  This flash program will be embedded by LaTeX in the output pdf file.  As a result, the pdf can contain movies, played by VPlayer.swf, if the pdf document viewer supports flash.

(see http://mirrors.ctan.org/macros/latex/contrib/media9/doc/media9.pdf for the details)

Unfortunately, this cannot currently be implemented in open source pdf viewers, because no free flash plugin correctly plays the VPlayer.swf file.  In particular, I would expect to see a movie playing when I type

gnash -v -P "flashvars=source=random.m4" VPlayer.swf

with the test movie file random.m4 in the current directory.  However, all I get to see is the player window.  On the console there are a bunch of error messages which I append below. This is with Gnash 0.8.11dev (master-2-0a5e717) from Debian testing.
Any hint would be appreciated.  In particular, I would be interested to know how much work it is to fix the bug/add the missing features.

Thanks

sander@affe:~/okular-test/media9$ gnash -v -P "flashvars=source=random.m4" VPlayer.swf                                 
19360:1] 99 SECURITY: Sicherheitsüberprüfung von URL 'file:///home/sander/okular-test/media9/VPlayer.swf'              
19360:1] 99 SECURITY: Laden der Datei /home/sander/okular-test/media9/VPlayer.swf erlaubt (in lokaler Sandbox /home/sander/okular-test/media9/)                                                                                                
19360:1] 109 SECURITY: Extensions disabled                                                                             
19360:2] 109 UNIMPLEMENTED: This SWF file requires AVM2: there will be no ActionScript interpretation                  
19360:2] 109 ERROR: Encountered unknown tag DOABCDEFINE. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag SYMBOLCLASS. These usually store creation tool data and do not affect playback
19360:2] 110 UNIMPLEMENTED: DEFINESHAPE4 edge boundaries and scales
19360:2] 110 UNIMPLEMENTED: Blend mode in PlaceObject tag
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DEFINEBINARYDATA. These usually store creation tool data and do not affect playback
19360:2] 110 ERROR: Encountered unknown tag DOABCDEFINE. These usually store creation tool data and do not affect playback
19360:2] 121 ERROR: Encountered unknown tag SYMBOLCLASS. These usually store creation tool data and do not affect playback

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #29500:  VPlayer.swf added by None (491KiB - application/x-shockwave-flash)
file #29501:  random.mp4 added by None (28KiB - video/mp4)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Updated the item)
  • -email is unavailable- added by nachanon (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-31 strk Categoryrelease 0.8.10 avm2
        Severity3 - Normal 1 - Wish
    2013-10-29 None Attached File- Added VPlayer.swf, #29500
        Attached File- Added random.mp4, #29501

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code