Thanks, Matthias, for your reply.
Matthias Kramm wrote:
On Sun, Nov 16, 2008 at 11:19:28AM +0100, Pablo Rodríguez <[EMAIL PROTECTED]>
wrote:
It works fine an slides are included as object 14. But using "swfextract
-i 14" outputs the slides (http://ousia.justfree.com/output-slides.swf)
both wrong centered (or with wrong height and width) and with too fast
transitions.
Use "swfextract -Pi" instead of "swfextract -i". That preserves the
positioning. To modify the transition rate, you can play around
with various parameters in
swfcombine -dr <framerate> file.swf -o file.swf
Positioning works fine (I wonder whether -P should be the default option
for swfextract), but my issue with fast transitions doesn't have to do
with fps, but with the way the slides are extracted.
Let me explain the issue in a better way (sorry for not having done this
before). I'm interested in converting PDF slides into a Flash file to
add sound synced with the slides (the recorded voice comment the slides
[which is also the standard way to give a presentation]). I have already
achieved this thanks to your excellent SWFTools (many thanks for this).
In some cases, it might be that the original PDF slides are missing. My
point here is not modifying the transition rate in the slides, since
they are set in fps and this rate will always be constant, but to
rewrite a whole new sync between audio and slides. Of course, this is
much easier having the original PDF slides, but sometimes it the only
way to achieve it would be to use the SWF slides (converted by pdf2swf
and included in the final Flash presentation synced with audio).
The issue with the extraction is that the SWF slides
(http://ousia.justfree.com/final-test-slides.swf) are included as 20
frames and they are extracted form the final presentation as a movieClip
that contains 20 frames (http://ousia.justfree.com/output-slides.swf).
The SWF file itself includes only a movieClip, so it contains a frame.
The only way to make extracted SWF slides reusable would be to avoid the
extraction as movieclip and to extract the slides as a SWF file with so
many frames as the number of slides it contains. Would this be possible?
Thanks for your help,
Pablo