I have been attempting to use Soundbooth CS5 to insert cuepoints in .flv files (audio track only) to cue up some audio stuff in Flash using the FLVPlayback Class. It seems the implementation of cuepoints/markers in Soundbooth is really buggy and prone to either not working at all or producing unexpected results. Here are some problems I have encountered:
1. Soundbooth regularly does not save the cuepoints (markers) in a way that the Flash Player can detect.
This is easily verifiable - no MetaDataEvents are dispatched on playback (to indicate a cuepoint has been reached) and the 'findNearestCuePoint' method of FLVPlayback returns an Object with a null 'array' property - I have to use this to access the cuepoints when the flv is loaded (for some pre-processing) because, weirdly, Adobe engineers did not think that making the cuepoints accessible for a (fully loaded) .flv was useful - there is a cuepoints property but it is write-only. Yet, I can get an array of them via this method! Bizarre.
Both of these things (MetaDataEvent dispatch & the cuepoints array 'hack') occasionally work so I'm confident it's not my code. In fact, I have some .flv files that work perfectly and some that don't - these have all been created by me in Soundbooth.
At first, saving cue points did not work at all for any file! I struggled with this for two days before resorting to re-installing SB and it magically started (almost) working.
2. Soundbooth sometimes doesn't save changes to the markers.
When SB does feel like saving the cue points (and they are picked up in Flash), subsequent edits appear in the SB interface (eg. deleting a marker) but not in Flash. I have .flvs that I've edited which will report x number of markers but the 'findNearestCuePoint' objects 'array' property returns an array of the length before I made the changes/re-saved the file.
3. Soundbooth sometimes doesn't like re-saving files created in Soundbooth.
I open up the .flv created in Soundbooth itself, edit it and then hit 'Save', this appears:
"The file was saved with unknown compression or with an unsupported destination rate, please choose your destination format and language".
Great. It takes me to 'Save As' so I can select a new name/file-format and I just select the same one it was saved under before (.flv). I have to change the filename too, because SB doesn't like saving over a file that's open in SB, either.
4. Sometimes it all works!
And I have no idea why. I just keep opening the file I need to use re-save it under a different file name, select different export options, re-compile my app and sometimes it works fine - my app doesn't throw any errors (the ones it throws when there are no cuepoints, or the number of cuepoints is not the number it expects).
At first I thought it was the export settings but it isn't - I can select the same ones each time and get different results. Saving the export settings makes no difference, it NEVER works the second time round.
I can provide code/files if needed.
I have a solution. Bring the mp3 file that you edited into Premiere. From Premiere, export
media to an flv. From within the export media dialog, import your cue points xml file. It worked on my first try.
The problem is: why does it work from Premiere, but not Media Encoder or Soundbooth?
Adobe, please fix this, it's a very bad bug!
- Michael M.
Unfortunately, I have no answers but I do believe I am experiencing a similar issue with Soundbooth CS4. I cannot test this in Soundbooth CS5 because Adobe disabled the Save As FLV in the trial version. Why oh why?
I was hoping that Soundbooth CS4/5 would be the solution to replacing the terribly buggy Moyea FLV Editor Ultimate but unfortunately, no matter what I try, I cannot save an audio .flv file with embedded markers (aka cue points).
All I want to do is:
1. Open a pre-recorded .wav audio file
2. Edit auto and add markers throughout timeline
3. Save As audio flash file (.flv) with those embedded markers (aka cue points).
I can do this with Moyea, why not Soundbooth?
Isn't it odd that a 3rd party tool (re: Moyea) is more adept at Flash audio than Adobe?
Does anyone know what is wrong? Or is this by design (re: flv files will never save with embedded markers). I just need to know so that I can stop beating a dead horse.
As always Adobe 'support' is completely clueless.
I also posted my own question here: http://forums.adobe.com/thread/795683?tstart=0
Yeah -- same problem with Director -- cue points inserted into the MP3 / WAV (tried different formats) in Sound Booth, but when I call the file in Lingo to ask for a list of cue points I get an empty list. Crap.
-- [ ]
The answer to this problem lies in XML -- when editing your sound in SoundBooth, export the markers in an XML file. At run time, import the XML file, parse out the markers (noted in milliseconds) and go from there.