Soundbooth CS5 FLV Cue Point Woes
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.
Similar Messages
-
Director buttons to FLV cue points?
Is it possible to use a button to jump the playback head to a flv cue point?
Director V11.5 MacIf you know where the cuepoint is (in milliseconds), you can use the seek() command to jump there. You might have to do some experimentation to get it to work the way you expect it to.
Seek() is an asynchronous command. It can only be used if the sprite currently has a mediaStatus of #playing. It is ignored if the mediaStatus is #paused, #stopped or #error.
Immediately after the command is issued, the sprite's mediaStatus switches to #stopped (not #seeking or #buffering) and the currentTime of the sprite is set to the target value.
If the seek target is negative or greater than the duration of the media, nothing happens. -
FLV Cue Points from Soundbooth
I am having a strange issue. I have several audio files that I have opened in Sounbooth and added cue points. I saved the files as FLVs. Upon importing into Flash CS4 with the FLVPlayback component, my cue points are not loading. The component inspector shows "cuePoints: None". In a test I did before the New Year, the cue points loaded fine. I have no idea what I did differently this time. Any ideas? I know I can add the cue points in the FLVPlayback component, but I'd rather be able to do it in Soundbooth.
Thank you!This is an annoying work around, but here's how I got the cue points from Soundbooth to be recognized in Flash:
Opened the original MP3 in Soundbooth
Added my markers/cue points
Saved As ".AVI"
Saved again as ".F4V" (not FLV)
Imported the F4V into the FLVPlayback component
NOTE: If you add a new cue point to the FLV and try to resave as the same file name, the latest cue point will not import into Flash. I had to do yet another save as and pick a new file name.
Going to try to eliminate the AVI step, but note hopeful.
Hope this helps others. -
Displaying previous FLV cue point during scrubbing
I have a single FLV that has 10 different scenes in it. I've
been able to make a "credit" list for each scene by adding
actionscript cue points in the FLV component, and displaying the
info using dynamic text. It all works fine.
Now I want the dynamic text to reflect the current scene when
the end user scrubs through the video using the seek bar. (Or at
least after the seek bar is released and the FLV begins to play
again.)
I just need a head start, I think.
Thanks for listening!
DavidThank you again Dima!!!
Now I've CS6 now but the only way that I see to have flv is: Creates (I'm translating from my language) => Flash, from menu file.
I need to insert cue point ("navigation" like in Media Encore Cs5.5).
But the only marker that I see in CS6 is named "Chapter" (translating form my language).
If I create an flv file (like above) I obtain two different flv files (one for chapter).
Is there a way to insert inside the flv file the "navigation" cue points?
Thank you again Dima. -
I am reasonably new to Flash and would like to know if I can
create a html link to a cue point in a flash video file or to a
particular frame in a normal swf file. If so, what is the correct
syntax?Ok, I seemed to have succesfully linked to the cuepoints
using, for example, the code below.
[CODE]
programsa.addEventListener(MouseEvent.CLICK,programsaClick);
function programsaClick(event:MouseEvent):void {
movie1.seekToNavCuePoint("Programs");
[/CODE]
However, now I have another issue. The FLV is on frame 2 and
I want to navigate to it using buttons on frame 1. However when I
try the following:
[CODE]
programsa.addEventListener(MouseEvent.CLICK,programsaClick);
function programsaClick(event:MouseEvent):void {
gotoAndStop("movie");
movie1.seekToNavCuePoint("Programs");
[/CODE]
I get the error:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
at videobig_fla::MainTimeline/programsClick()
So, how can I tell a button to go to a cuepoint for a movie
that's on a different frame? -
Streaming .flv cue point problem
I’ve been working with Flash video with synced slide
presentations since February, which have been exclusively download
streaming, all based on the presentation available at the adobe web
site:
http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html
My issue has come up when using this template with streaming
flv’s, the buttons that I use to reference the cue points in
the video and slides on the timeline do not work reliably;
sometimes they will shuttle the video and slides to the correct
point, usually they move the slides on timeline to the appropriate
spot and the video jumps back to the beginning. Besides this
sizable problem, the presentation plays the way it is supposed to.
Is there a setting in the component inspector that I’m
missing? Should I re-encode the video with Navigation cue points?
Any help would be appreciated.
LIf you look at the source code for the first link you'll find this at line 71:
<p id="player1" style="margin: 0px; padding: 0px; text-align:center;"><embed type="application/x-shockwave-flash" src="http://www.thebellyfatsolution.com/flvplayer.swf" style="" id="player1" name="player1" quality="high" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&width=504&file=http://www.thebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv&link=http://www.th ebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv" height="390" width="504"></p>
<p><noscript>
Apparently your video has been encapsulated in JWPlayer. You can find out more about JWPlayer here: http://www.longtailvideo.com/players
This seems to be yet another solution to a problem that doesn't exist, and whoever runs that website fell for the sales pitch. -
I just can't understand it. I've read though the help docs
and looked at numerous code samples but i just can't find out what
the hell i'm doing wrong. Help!
ok. so on my stage i've got this.
<mx:VideoDisplay
x="438"
y="11"
width="400"
height="300"
id="theVideo"
name="theVideo"
playheadUpdate="updateTimer();"
ready="theVideo_init();"
cuePoint="theVideo_cuePoint(event)"
/>
on my application initalize, i've got
theVideo.source = "edit.flv";
..my video plays fine.
I've got a button to set up cue points.
private function updateCuePoints():void {
var i:int = new int;
for(i=0; i<1; i++) {
var cueObj:Object = new Object;
cueObj.cueTitle = "cue1";
cueObj.cueTime = 10;
createCuePoint(cueObj.cueTitle, cueObj.cueTime);
private function createCuePoint(cTitle:String,
cTime:String):void {
var cuePt:Object = new Object(); //create cue point object
cuePt.time = Number(cTime);
cuePt.name = cTitle;
cuePt.type = "actionscript";
theVideo.cuePointManager.addCuePoint(cuePt); //add AS cue
point
this is where i get the error ...it insists i'm referencing a
null object or method, but all the livedocs says otherwise. Also,
that button is a manual click until i get this bloody thing
working. (and no, its not clicked before the video is playing.)-
Of course, I have my imports too..
import mx.events.CuePointEvent;
import mx.controls.videoClasses.CuePointManager;
somebody PLEASE help :<Howdy,
Firstly, I haven't got to video in Flex yet, but here's a
crack at it for you.
Looking at:
cuePt.time = Number(cTime);
cuePt.name = cTitle;
cuePt.type = "actionscript";
According to the
CuePointManager reference, the function
addCuePoint() requests the parameters:
array - the Array of all cue points.
index - the index into the Array for the returned cue point.
Therefore, if I'm right, it's giving you the error because it
has no idea what you mean by
time, name or
type.
Hopefully, that helps you.
Let me know how you go, and if I'm off the mark, I'll give it
another look for you.
Cheers.
Oz -
Embedded FLV Cue Points not working
I am updating a project which uses an FLVPlayback component to play and navigate FLV videos using embedded Navigation cue points. The FLVs were originally encoded using an older version of AME, CS4 possibly. When trying to replace an FLV with a new one encoded using AME CS6, the embedded cue points do not work. Testing in Flash I get "VideoError: 1003: Invalid seek" when attempting to use "seekToNavCuePoint".
Comparing the two FLVs using Premiere shows no recognizable differences between them. They are the same format, their cue points are named identically, all are designated as Flash Cue Points, and all set to type "Navigation".
Digging into the FLV data, I've found that the cue point descriptions are formatted quite differently and I'm wondering if this is the source of the problem:
Excerpt from the original FLV (AME CS4?):
<rdf:li>
<rdf:Description
xmpDM:trackName="AME Markers"
xmpDM:frameRate="f254016000000">
<xmpDM:markers>
<rdf:Seq>
<rdf:li
xmpDM:startTime="9323149248000"
xmpDM:name="q1in"
xmpDM:type="FLVCuePoint"
xmpDM:cuePointType="Navigation"/>
Excerpt from the new FLV (AME CS6):
<rdf:li>
<rdf:Description
xmpDM:trackName="FLVCuePoint"
xmpDM:trackType="FLVCuePoint"
xmpDM:frameRate="f15">
<xmpDM:markers>
<rdf:Seq>
<rdf:li>
<rdf:Description
xmpDM:startTime="550"
xmpDM:name="q1in"
xmpDM:cuePointType="Navigation">
<xmpDM:cuePointParams>
<rdf:Seq>
<rdf:li
xmpDM:key="marker_guid"
xmpDM:value="2c2c8be0-75af-47d6-8938-4a365e33a550"/>
</rdf:Seq>
</xmpDM:cuePointParams>
</rdf:Description>
</rdf:li>
Completely stumped here, any ideas appreciated!More digging into the new FLV shows that while XMP defines the cue points as type "navigation", there is prior data in the file that defines all the cue points as "event". This makes sense, because my SWF is correctly listening for and reacting to an "end" cue point in the FLV, but will not seek to any cue point since they are all set as "event".
Copying and pasting from Notepad++:
cuePoints 0 name q1in time @BYûçl‹D type event
1 name q1out time @JÜ(õÂ\ type event
2 name q2in time @V£¥ãS÷Ï type event
3 name q2out time @^/ Ÿ¾w type event
4 name q3in time @_Oß;d type event
5 name q3out time @nE™™™™š type event
6 name q4in time @s G® zá type event
7 name q4out time @vNÄ›¥ãT type event
8 name q5in time @w¢Ù ‡+ type event
9 name q5out time @zw×
=p¤ type event
10 name end time @€ð bMÒò type event
Any idea why AME is doing this? -
In FLVPlayback working in as2.0, created cuepoints for FLV and i added
captions wit xml file. but captions not loading
I did following steps and script.
*step1: layer 1 for flvplayback
*step2:layer2 for dynamic text(instance name-txtCaption)
step3: layer3 for actions and the script is
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
//ns.play("speech.flv");
ns.onMetaData = function(oMeta:Object) {
trace("onMetaData >");
trace("\tNumber of cue points: "+oMeta.cuePoints.length);
for (var i:Number = 0; i<oMeta.cuePoints.length; i++) {
var oCue:Object = oMeta.cuePoints[i];
trace("\t\t"+i+": "+oCue.name+", "+oCue.type);
var captionsXML:XML = new XML();
captionsXML.ignoreWhite = true;
captionsXML.onLoad = function():Void {
captions = this.firstChild.childNodes;
for (var i:Number = 0; i<captions.length; i++) {
ns.addASCuePoint(captions[i].attributes.start,captions[i].firstChild.
nodeValue);
captionsXML.load("cuecaption.xml");
ns.addEventListener("cuePoint",onCuePoint);
function onCuePoint(evntObj:Object):Void {
txtCaption.text = evntObj.info.name;
XML script
<?xml version="1.0" encoding="iso-8859-1"?>
<captions>
<caption start="00.000">Black-eyed susans</caption>
<caption start="38.082">Echinacea</caption>
<caption start="42.275">hello.......</caption>
<caption start="56.250">hi.........</caption>
<caption start="56.250">hi.........</caption>
</captions>
Plz reply me....
Regards,
PriyaDid you have any luck finding an answer to your question??? I am having the same kind of problems with my presentation. But the difference is that my presentation is in AS 3. Please look at my post here:
http://forums.adobe.com/message/2178119#2178119
Please let me know if someone can figure this out!!!
Thx.
Nit -
Does anyone have a script that will make the movie go to and
play another frame of the movie when a Flash video cue point is
reached?SM6601,
> Does anyone have a script that will make the movie go to
> and play another frame of the movie when a Flash video
> cue point is reached?
See my answer in the ActionScript forum. ;)
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Hi all,
I'm having a problem with the FLVPlayback
component...everytime i call findCuePt it returns null
(undefined)...
i double checked that the cue points are enabled, and still
no dice...is this because it's a navigation cue point?
any help appreciated
etgif (index="introductionText")
I think you need double =, like this:
if (index=="introductionText")
-rich -
Exporting FLV With Cue Points In Adobe Premiere Pro CS5
Hello
I am currently using Adobe Premiere Pro CS5 to export to a FLV file with flash cue points. I have managed to do this but I also want to export (separately) a list of all the time codes of the cue points in the clip. I see that you can save the cue points to an xml file but it doesn't come up with the time codes (well it does, but it is in milliseconds and amongst other things). Is there any way I can save a list of the time codes of the cue points on my FLV file, rather than having to manually type it out?
Thanks,
RvnistelrooyI don't think there is any easy way to do this, but one thing I could suggest is to export the metadata as an xml side car and then use the text editor to extract the times. I'm not sure this would work, but it's worth a try.
Cheers,
Dennis -
Flash Cue Points in Soundbooth
I'm working on a little singalong-application for flash CS4 and found that Soundbooth lets me insert cue points so that I can later sync textfiles to flash video if I save the soundbooth file with markers as a .fv4-file. I tried it, but can't seem to get AS3 to find the cue points? I thought thay were dispatced as the video plays, so I added an EventListener and tried to trace something but nothing happened. Am I on the wrong track here?
SigHi Sigmundo,
At work ( disturb media ) we've finished a karaoke flash project. I haven't used Soundbooth then, we had limited time, so I wrote a few handy commands for flash that took care of the job. Hopefully we will be able to document that, right an article and share the commands as a packed extension.
I've learned Soundbooth over the weekend and FLVCuePoints was one of the highlights. I've used FLV
and everything worked out fine. I didn't know the Media(Flash Video) Encoder allows you open an xml
file and insert cuepoints at that stage.
Anyway,
About F4V, Lee Brimelow has a more detailed post about the cue points bug here:
http://theflashblog.com/?p=748
HTH,
George -
How to insert cue point in flv with cloud applications
Hello,
I'm new in creative cloud.
With my previous version of adobe suite, with adobe media encoder, it was possible to insert cue point.
In Adobe media encoder CC 2014 it seems not to be possible.
Could you help me?
Thanks.Thank you again Dima!!!
Now I've CS6 now but the only way that I see to have flv is: Creates (I'm translating from my language) => Flash, from menu file.
I need to insert cue point ("navigation" like in Media Encore Cs5.5).
But the only marker that I see in CS6 is named "Chapter" (translating form my language).
If I create an flv file (like above) I obtain two different flv files (one for chapter).
Is there a way to insert inside the flv file the "navigation" cue points?
Thank you again Dima. -
Problem with cue point from After Effects to Flash (CS5.5)
Hello,
anyone has, or has not problems reading, in Falsh, cue points included with After Effects? (Navigartion cue points).
It is possible export from Flash movie in .flv format? (Both versione CS5.5).
Thank you.No I don't believe it's the footage, as I've been able to transfer the same files on my school computer and use it with ease.It's just any type of footage, if I attempt to drag any of my imported files (whether they're images of any kind or .mp4, .mov, .wav, .mp3) just as I would click and hold the file, my cursor turns into the Mac loading ball. Perhaps is there something these programs require such as Java? I'm not sure if it's related, but I've also not been able to play some games via Steam that I have been able to play in the past with the same system.
Maybe you are looking for
-
Berkeley DB Java Edition and Java 1.4
As a Berkeley DB Java Edition user we place a very high value on your input. We need your feedback regarding a product requirement for Java 1.5. As time goes on we find ourselves implementing more and more performance enhancements based on facilities
-
Hello. I'm having a problem signing onto my iPad mini. When I went to sign on yesterday the number pad to sign on moved upward and now it is out of site. Now I can't sign on the only thing that shows is the Apple logo.
-
Hi Guru, My client want to create new internal order type. so My doubt is new order type need to create directly in production server or not. Because development server orders type and production server order type there is some miss match is there. K
-
Marking Fields as Read-Only After Digitally Signing Issues
I am creating a PDF form that contains several digital signatures. I am selecting a signatures and am in the property options for that specific signature looking at the "Signed" tab. I select, Mark as read only, than choose "Just these Fields. When
-
Minimum Operating Temperature?
What is the lowest emvironmental temperature at which MSI motherboard can operate? The same question for cpu, RAM module, HD, Video Card, DVD drive, etc ? It appears the weakest one will set the lowest temperature for a complete hardware system. Wh