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 authentification level.

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

Submitted by:  Park Hyunwoo <lqez>
Submitted on:  Mon 12 Mar 2012 06:10:42 AM UTC  
 
Category: renderPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/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>
Project 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>
Project 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>

 

Attached Files
file #25328:  dump_all_frames.patch added by lqez (3kB - 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
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by lqez (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Mar 2012 06:10:42 AM UTClqezAttached File-=>Added dump_all_frames.patch, #25328

    Back to the top


    Powered by Savane 3.1-cleanup