patchGnash - The GNU Flash player - Patches: patch #7742, Patch for dumping all SWF frames...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7742: Patch for dumping all SWF frames into images

Submitter:  Park Hyunwoo <lqez>
Submitted:  Mon 12 Mar 2012 06:10:42 AM UTC
   
 
Category:  render Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 16 Mar 2012 11:00:48 PM UTC, comment #2: 

If you can spend more time on it, you could also make it so that if "last" is specified any other value generate an error. It'd probably be more consistent.

Sandro Santilli <strk>
Group Member
Fri 16 Mar 2012 10:59:36 PM UTC, comment #1: 

I saw a printf flying by, please use log_debug instead.

Also you're making "last" take precedence over "all" here:

         if (last) ss->lastFrame();
+        else if (all) ss->allFrames();

You probably don't want an "else" in there, right ?

Sandro Santilli <strk>
Group Member
Mon 12 Mar 2012 06:10:42 AM UTC, original submission:  

Hi hackers.

I'm using  gnash to make 'movie' file from SWF.

At first, I dumped SWF files with 'dump-gnash -D' options.

But I couldn't get best quality movie with that option - it only supports 'interval/delay', so I can't get each of exact frame of SWF.
Default dump-gnash delay is 10ms - 100fps, but my SWFs are 30fps and we can't use float value(16.66667ms) as interval.
And also, The result from converting 100fps into 30fps via ffmpeg was not good. So I decided to use 'screenshot' feature to make a movie.

Attached file is a patch for adding 'dump all screenshot' / using '--screenshot all'.
( I wanted to add a help message on '-h' option, I can't find a good location for it. There is no help message for  'last' option that currently supported, neither )

Thanks.

Park Hyunwoo <lqez>

 

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

Attached Files
file #25328:  dump_all_frames.patch added by lqez (3KiB - application/octet-stream - based on 0.8.10)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-03-12 lqez Attached File- Added dump_all_frames.patch, #25328

    Back to the top

    Powered by Savane 3.14-0608.
    Corresponding source code