Problem with SWF export and audio looping

When I export from Keynote into SWF, I get an odd audio looping problem when playing the SWF files. Here's the workflow:
Create Keynote presentation (includes transitions typically, but also happens with presentations that don't).
Record audio using Audacity, convert using iTunes to MP3 in order to be able to export from Keynote to Flash (Keynote can't export WAV files).
Drop in MP3s onto slides. Sync up my transitions with audio.
Export Keynote file to SWF, including the audio.
Play SWF file either directly using Safari or when posted using Firefox. Audio plays, but a certain length into the audio the audio file seems to re-initiate and play over itself.
Anybody seen this? Anyone know how to solve it?
This is pretty critical for us (work related). We are using Keynote to create educational content SWF files, and we only discovered this problem after release.
Thanks for your help!
Michael

The helper class using IText:
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.pdf.PdfContentByte;
import com.lowagie.text.pdf.PdfImportedPage;
import com.lowagie.text.pdf.PdfReader;
import com.lowagie.text.pdf.PdfWriter;
public class PDFHealer
   public static InputStream heal(InputStream in) throws DocumentException, IOException
      try
         ByteArrayOutputStream out = new ByteArrayOutputStream();
         PdfReader reader = new PdfReader(in);
         // we retrieve the total number of pages
         int n = reader.getNumberOfPages();
         // step 1: creation of a document-object
         Document document = new Document();
         // step 2: we create a writer that listens to the document
         PdfWriter writer = PdfWriter.getInstance(document, out);
         // step 3: we open the document
         document.open();
         // step 4: we add content
         PdfContentByte cb = writer.getDirectContent();
         int i = 0;
         while( i < n )
            document.newPage();
            i++;
            PdfImportedPage page1 = writer.getImportedPage(reader, i);
            cb.addTemplate(page1, 0, 0);
         // step 5: we close the document
         document.close();
         ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
         out.close();
         return ret;
      finally
         in.close();

Similar Messages

  • Problem with sync video and audio

    Hi
    Problem with sync video and audio
    1- capture video ( Telecinema dv pal)
    2- conform 25 to 24
    3- import timeline audio and video
    4- sync
    5- Link
    6- make sub-clip
    7- new name
    ---- error
    Sequence Error: Unable to add clip to sequence.
    Possible media limits problem in clip or sequence.
    FINAL CUT PRO IS DONE.
    HELP ME.
    THX

    exactly why are you converting 25 to 24?

  • VGA problem with FiFA 2003 and Audio Problem with NHL2003

    i use onboard VGA
    800 x600for both games
    with no problem
    but for Fifa 2003
    the screen looks so dark...
    all players look like a black people(all  black color hair
    and black face))
    some audio problem with NHL 2003...

    Have you tried the following?
    Adjust monitor settings? i.e. contrast/brightness
    Video settings within the game? Some have gamma or brightness settings.
    Gamma correction in "Display Properties"?
    for starters anyway......

  • Problem with PDF export and embedded font (characters disappear)

    Designer: Crystal Reports 2008 SP 2
    Engine: CR4E 2.0 SP2 (runtime_12.2.203)
    Hi there!
    we found a problem in the pdf export. It seems like there would be a problem with the embedded fonts, the problem is as follows:
    Rpt file with, for example only a text box which contains the german string " Änderungs Schlüssel ".
    Export the Rpt file with CR4E to a pdf file.
    When we open the pdf file in Adope Reader 8, the text appears to be correct,
    but if we print the PDF file from the Adope Reader, the text changes to " nderungs Schl sselu201C,
    here we are missing ther german umlaute.
    When we open the file for example with an alternative PDF reader like Foxit Reader, there they are also missing.
    After i found some posts here in the forum, there are people facing the same problem, since i couldn't find a solution in the forum, we build a little workaround for it that works for us.
    For all of you that have the same problem here the workaround:
    We used the IText JAVA library, this jar can can help as to fix the PDF file so the text is displayed correctly.
    Here the code:
    ReportClientDocument doc = new ReportClientDocument();
    doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    doc.open("C:\XY.rpt", OpenReportOptions._openAsReadOnly);
    //... database logon,.....
    InputStream inputStream = doc.getPrintOutputController().export(ReportExportFormat.PDF);
    inputStream = PDFHealer.heal(inputStream);
    //... write the stream some where

    The helper class using IText:
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class PDFHealer
       public static InputStream heal(InputStream in) throws DocumentException, IOException
          try
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             PdfReader reader = new PdfReader(in);
             // we retrieve the total number of pages
             int n = reader.getNumberOfPages();
             // step 1: creation of a document-object
             Document document = new Document();
             // step 2: we create a writer that listens to the document
             PdfWriter writer = PdfWriter.getInstance(document, out);
             // step 3: we open the document
             document.open();
             // step 4: we add content
             PdfContentByte cb = writer.getDirectContent();
             int i = 0;
             while( i < n )
                document.newPage();
                i++;
                PdfImportedPage page1 = writer.getImportedPage(reader, i);
                cb.addTemplate(page1, 0, 0);
             // step 5: we close the document
             document.close();
             ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
             out.close();
             return ret;
          finally
             in.close();

  • Full crash with graphic degredation and audio looping. Hard reset needed.

    I haven't seen anything else like this posted so perhaps it's an isolated issue. However, I've been running my new late 2008 MacBook Pro for about a week and over the past couple days have had it start hard crashing on me. The graphics will freak out and the audio will stop what's playing and loop over. The computer is completely crashed.
    This has happened running on both the 9400 and the 9600 graphics cards. Also, I've had it happen with and without an external display connected.
    Is anyone else experiencing this problem? Here's a pic I snagged of what it looks like when the computer crashes. Sometimes the screen freaks out and sometimes it doesn't.
    http://twitpic.com/iewd
    Message was edited by: Bruce Clark - fixed picture link

    You have 3 options:
    1. Call Applecare
    2. Go to a Genius Bar
    3. Do it yourself--no guarantees on this one! I don't like the look of the screen, and tend to think it is a hardware problem, notwithstanding the results of hardware test. Genius Bars have more extensive tools. If you belong to AppleCare you have a TechTool Deluxe disk that can run some tests as well. Archive and install (rather than erase and install) is an option, but my money is against it. All in all, I would call applecare first, then go to a genius bar.
    Good luck!

  • Problem with CR exporting and Excel formatting/merging

    I'm currently running Visual Studio 2008 (Version 10 of CR).  We have a Winforms application that runs various crystal reports  I can't say there's anything particularly sophisticated about it.  Just slap the report in a viewer, pass in the parameters, and run.  As I've mentioned elsewhere I have not done much with CR (or Excel for that matter).
    The problem is this.  Our client is exporting certain reports to Excel, the 'full' version if that's the right term, not the data only option.  The first field on every line of the detail is a text object consisting of several fields, concatenated.  These fields combined form an ID number that we want to sort by.  Unfortunately, so they tell me, this is currently impossible because in the export, the number occupies two columns and they are not merged.  (Actually it doesn't look like any of the report columns bear any relation to any of the Excel columns.)
    I always thought Excel export was one of those black box extras. 
    Now I have to ask, is there any way to customize it, programmatically or otherwise?  (Am I overlooking any options?)
    (Digging a bit deeper, could there be something in the CrystalDecisions API that I could use?  Not sure I see anything useful in the ExcelExportOptions object yet.)
    Edited by: BChernick on Jul 8, 2011 3:09 PM

    [SAP Crystal Reports Design|SAP Crystal Reports; forum.
    - Ludek
    Edited by: Don Williams on Jul 8, 2011 11:05 AM

  • Problems with jpg export and color profiles

    I browsed the forum but I didn't find any recent thread about the issue I'm experiencing right now, I wonder if it's common or it just affects me. Mavericks, Aperture 3.5, all up-to-date.
    I imported a RAW file (I tried with both a Nikon and a Sony camera), made a few adjustements and then exported the picture as a jpg. It looked good in the Finder, in Photoshop, in Preview. When I uploaded the file to flickr, everything was ok.
    Then, I browsed flickr via its iOS app and - surprise - the image is completely wrong: colors are washed out, desaturated, with an awful greenish dominance. I tried a few things and discovered soon that also opening the file on my Mac with GraphicConverter has the same ugly result. Same with the iOS version of Safari.
    I use ProPhoto RGB as my default color space in Aperture. I changed to sRGB: same result. I changed to AbobeRGB and te output is finally consistent through all the platforms and apps.
    Too bad I managed to do this only for one photo because, even if I changed the settings, every other photo I exported is still sticking with ProPhoto RGB. The problem is surely here because I solved it changing manually the color space to AdobeRGB with Pixelmator and re-saving the images one by one. But of course this cannot be a successful workflow...
    Any experience about this?
    Thank you!

    OK, I can reply to myself. The issue has mysteriously gone away - no idea why. Edit: The issue is gone on Desktop, with GraphicConverter. From iOS, pictures still look weird.
    About the exported default, my bad: I was using presets and they choose their own settings for color space. Still, no idea why the first one was exported in Adobe RGB instead of ProPhoto RGB (the default for "JPEG - fit within 2048x2048").
    Message was edited by: difool

  • My lap hp envy 17-j130us problem with playing videos and audio

    when i am playing videos it freezes up to 2 seconds and playing continously as well as playing audio in music player also.i have downloaded videos in youtube mkv file with high resoluton 1080p video it was freezing at starting and after playing too fastly and them i have loaded the videos from pen drive that videos ae alos having the same trouble in above process how can i fix the problem i just have buy this pc 20 days ago my model is HP ENVY 17-J130US TOUCH SMART

    Hi,
    Which software are you using to play videos (offline). Please try the following software, it will play nearly all video formats:
         http://www.videolan.org/vlc/download-windows.html ​   
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Why is my Mozilla Version 6.0.1 having problems with Bookmark Export and Import (html) ?

    I have used this feature numerous times with no problems. Starting yesterday, when I export html bookmark file, I get a delay - and then the html file is extraordinarily large (16,400 KB versus 782 KB normal file size).
    Also, when I attempt to import a saved html file, the new file will not save. Again, when I hit the "Export" or "Import"button, there is a prolonged delay.
    Should I delete Mozilla and reinstall ?

    Hi mrpetesix,
    Thanks for the insight. I seem to have solved the problem and can now sync iCal with my phone's calander as I used to without using iCloud. I am running the same setup as you (iTunes 11.0.1, osx 10.6.8, iOS 6.0.1) so, if you want, I'm sure you can do this too (although it seems you now hae found a good solution yourself). Anyway, here it is for the archives:
    When my phone was connected to iTunes, iTunes was showing that my Calander was being updated over the air by iCloud. It was not giving me any other options to choose which calanders to sync etc. So...
    On your iPhone, go to settings>>iCloud and turn calandars OFF.
    Now when you connect it to iTunes you can see all the old options under calandars and syncing between the two devices is back to 'normal'.
    I don't know when this iCloud setting got switched on my phone (I didn't even know it existed before this episode), probably when I updated iOS/iTunes recently.
    Hope that's useful to somebody. Cheers.

  • I have a big problem with IOS 6 and audio bluetooth

    My Radio Car Pioneer AVH-2400 BT dont work with bluetooth, no tag, no control, just possibility to play from iPhone. All the function is OK in IOS 5
    Nothing jn IOS 6 :-(
    Plus de fonction Bluetooth audio depuis le passage en IOS 6 avec mon autoradio Pioneer AVH-2400 BT, tout fonctionnait bien sur IOS 5, maintenant je peux juste lire depuis l'iPhone et plus d'affichage d'infos sur le titre ou l'album (TAG)
    Je viens d'acheter cet autoradio il y a 1 mois, c'est un modèle 2012 !
    Help!

    I have an iPhone4 and a Pioneer AVH-P2400BT car unit.  I've upgraded to IOS 6.  The update (from what I've tried and what I can tell) is NOT reversible.
    Here's what I've found happening between the iPhone & Pioneer for bluetooth streaming audio:
    1.  The track/artist info no longer displays.
    2.  The track skip buttons no longer function.
    3.  The pause/play button no longer functions.  It may SEEM like it does, but it simply mutes the audio, the content continues to play (silently) on the iPhone.
    4.  The content no longer resumes when the vehicle is started.
    5.  The content will pause when the vehicle is turned off, but a couple of seconds continue (silently) on the iPhone.
    6.  If content is paused by the vehicle being turned off, it will resume playing on the iPhone speakers following an incoming phone call, whether answered or not.  (This can be a little embarrassing, depending on the content of your prefferred podcasts! )

  • Problem with pdf export and setting of the paper size

    Hi,
    I develop plugins for InDesign server.
    Can anybody suggest me an way to exports a pdf/ps file from a indesign document with my custom adjustment of the output "paper" size?
    I tried with kPrintActionCmdBoss but the "SavePDFAs" popups although I set kSuppressEverything(!?)
    When I used kPDFExportCmdBoss I cannot set paper size.
    greetings

    The helper class using IText:
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class PDFHealer
       public static InputStream heal(InputStream in) throws DocumentException, IOException
          try
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             PdfReader reader = new PdfReader(in);
             // we retrieve the total number of pages
             int n = reader.getNumberOfPages();
             // step 1: creation of a document-object
             Document document = new Document();
             // step 2: we create a writer that listens to the document
             PdfWriter writer = PdfWriter.getInstance(document, out);
             // step 3: we open the document
             document.open();
             // step 4: we add content
             PdfContentByte cb = writer.getDirectContent();
             int i = 0;
             while( i < n )
                document.newPage();
                i++;
                PdfImportedPage page1 = writer.getImportedPage(reader, i);
                cb.addTemplate(page1, 0, 0);
             // step 5: we close the document
             document.close();
             ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
             out.close();
             return ret;
          finally
             in.close();

  • Problems with 1.5 and vista - audio recording

    Hello.  I have PP 1.5.  I have an Audio Techinca AT2020USB microphone.  I have a couple different computers running 1.5 - The one that has XP as an OS, I can use the mic to record audio.  On the computer that runs Vista, I can not.  Is anyone aware of any patch or anything that will allow me to make this work?
    Please, advise.  Thank you.
    bobhugejunk

    YOU ARE THE MAN!!!!  It took a little bit of working the configurations, but I got it to work....oh, me so happy...oh, oh, me so happy
    Thank you!
    Make sure you visit www.bobhughesmichigan.com for my music samples, schedule and video information!
    Date: Wed, 21 Oct 2009 19:34:20 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problems with 1.5 and vista - audio recording
    As Jim points out, CS3 was the first Vista-certified version, though many did get PrPro 2.0 to run on it.
    Now, if PrPro 1.5 is running otherwise, you might have some luck with http://www.asio4all.com You'll need to download this freeware, install it, and then point PrPro to it in Edit>Preferences>Audio Hardware>Asio Settings for input and output.
    Good luck,
    Hunt
    >

  • Problem with .swf playback

    Hello,
    I have a problem with .swf animation playback in captivate 4. I created the .swf in flash with as3 on one frame. The animation is contained in a movieclip. I exported from flash and made sure the framerates between captivate and flash work. I import the animation to a slide and notice that the duration of the animation is .01 (could this be a red flag?). When previewing my captivate file the animation does not play it shows up static. I have my captivate file set up with continue buttons but I tried taking the button off the animation slide and it still shows up with the static what would be animation. Has anyone else encountered this? I'm really at a loss as to whats going on
    For bonus points: I'm still getting a transition that fades to white briefly even after I put no transition. Is their a way to just have an abrubt transition without the fade?
    Cheers
    -Matt

    Alright now it makes more "sense".
    Your SWF problem is caused by a bug in Captivate. I have encountered this many many times. Basically if you import a Flash animation and you have more than 1 slide in Captivate it will play to the end before you get to the slide with the animation. It's a really annoying bug that also occurs if you insert an SWF created in Captivate into a master Captivate project.
    There are a couple of solutions to your problem.
    1. Try and Externalize your animations when you publish your Captivate project. This can sometimes remove the problem. You can edit the settings in Preferences - Publish Settings.
    2. Create a loader in Flash that will pull in your animation SWF. Basically you just need to do a loadMovie shell in Flash and then have that pull in your animation SWF. I use this all the time for AS2 projects, but I guess that it will work just the same for AS3 projects.
    As for your fade in / fade out issue. Did you by any chance set a transition effect on your slides? Check the Slide Properties for a transition effect. If that's not it - is your fade in issue only occuring on the first slide? The "master" setting for a Captivate project has a default to fade in on the first slide. You can change that in Preferences - Project - Start and End.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • Problems with ListViews Drag and Drop

    I'm surprised that there isn't an Active X control that can do this more
    easily? Would
    be curious to find out if there is - although we aren't really embracing the
    use of
    them within Forte because it locks you into the Microsoft arena.
    ---------------------- Forwarded by Peggy Lynn Adrian/AM/LLY on 02/03/98 01:33
    PM ---------------------------
    "Stokesbary, Michael" <[email protected]> on 02/03/98 12:19:52 PM
    Please respond to "Stokesbary, Michael" <[email protected]>
    To: "'[email protected]'" <[email protected]>
    cc:
    Subject: Problems with ListViews Drag and Drop
    I am just curious as to other people's experiences with the ListView
    widget when elements in it are set to be draggable. In particular, I am
    currently trying to design an interface that looks a lot like Windows
    Explorer where a TreeView resides on the left side of the window and a
    ListView resides on the right side. Upon double clicking on the
    ListView, if the current node that was clicked on was a folder, then the
    TreeView expands this folder and the contents are then displayed in the
    ListView, otherwise, it was a file and it is brought up in Microsoft
    Word. All this works great if I don't have the elements in the ListView
    widget set to be draggable. If they are set to be draggable, then I am
    finding that the DoubleClick event seems to get registered twice along
    with the ObjectDrop event. This is not good because if I double click
    and the current node is a folder, then it will expand this folder in the
    TreeView, display the contents in the ListView, grab the node that is
    now displayed where that node used to be displayed and run the events
    for that as well. What this means, is that if this is a file, then Word
    is just launched and no big deal. Unfortunately, if this happens to be
    another directory, then the previous directory is dropped into this
    current directory and a recursive copy gets performed, giving me one
    heck of a deep directory tree for that folder.
    Has anybody else seen this, or am I the only lucky one to experience.
    If need be, I do have this exported in a .pex file if anybody needs to
    look at it more closely.
    Thanks in advance.
    Michael Stokesbary
    Software Engineer
    GTE Government Systems Corporation
    tel: (650) 966-2975
    e-mail: [email protected]

    here is the required code....
    private static class TreeDragGestureListener implements DragGestureListener {
         public void dragGestureRecognized(DragGestureEvent dragGestureEvent) {
         // Can only drag leafs
         JTree tree = (JTree) dragGestureEvent.getComponent();
         TreePath path = tree.getSelectionPath();
         if (path == null) {
              // Nothing selected, nothing to drag
              System.out.println("Nothing selected - beep");
              tree.getToolkit().beep();
         } else {
              DefaultMutableTreeNode selection = (DefaultMutableTreeNode) path
                   .getLastPathComponent();
              if (selection.isLeaf()) {
              TransferableTreeNode node = new TransferableTreeNode(
                   selection);
              dragGestureEvent.startDrag(DragSource.DefaultCopyDrop,
                   node, new MyDragSourceListener());
              } else {
              System.out.println("Not a leaf - beep");
              tree.getToolkit().beep();
    }

  • Many problems with the 'Export to Text' (.txt) in CR Xi

    Hi,
    I have listed many problems with the 'Export to Text' (.txt) function of CR Xi.
    These problems are related to this export format only (meaning everything works fine in the Viewer or in the 'Export to PDF')...
    - Multi-columns layout do not export as Multi-column (export only a one column);
    - Numeric values with parenthesis for negative values or with a fix currency sign at the leftmost position are not exported correctly;
    - Fields having a Suppress formula which is "WhilePrintingRecords" do not appears when exported;
    - Fields with 'Suppress double value' checked are not always suppressed when exported to Text.
    - 'Keep Group Together' flag is not working.
    - 'Reset Page Number After' simply does not works when exported to text;
    - 'Keep object together' on TextBox/Section is not working.
    - Whenever a group is ending on the last line of a page, the the following page as the same Group header as the previous group with no records until the page is filled, then the PageBreak and PageHeader is missing but the records of the following group appears.
    I would like to know what is the status of the 'Export to Text' function (is it a deprecated function not supported anymore???).
    If still supported, when will these bugs be fixed???
    Thanks

    Hi Rene
    Export to Text is supported till date. Crystal Reports 2008 also supports this with Keep together working however when I tried with format with multiple columns, it didnot show up in the exported text file.
    Regards
    Sourashree

Maybe you are looking for

  • IPhone 5S store availabili​ty??

    When I went to Verizon on Friday, they said they had no more Silver iPhone 5S 16GB versions left in stock, but as I was leaving, the employee got a call saying he could write down names and emails. I was first to put my name and email down, so I assu

  • Spry SubMenu problem

    Hello,    I have created a spry menu for my website and am having problems making the submenu look the way I want it to. The menu item bar needs to stay invisible until it is hovered over...which I have done. However, once I hover over that menu item

  • Contacts Lost

    I have given my niece my old iPhone 4 and she has deleted my contacts on my iPhone 5 how can I restore and stop this happening again

  • How to exe OS command from sqlplus

    I used to exe OS command with ! in sqlplus in older version of Oracle. I just installed 10g Express and I tried !dir, and got the following error: SQL> !dir SP2-0042: unknown command "!dir" - rest of line ignored. Did I do something wrong?

  • OS 10.10 Yosemite and Macbook Pro battery life

    Greetings, I have a mid-2012 Macbook Pro 15" that was getting 6-7 hours of battery life before installing Yosemite a few weeks ago during the initial public release. Within the last week or so, if I am lucky, I now get maybe 3 hours before I'm down t