Temporalfacet cue points

Hey Forum

I just read the OSMF blog on the new CuePoints in the sprint 7, it looks very promising, although not as straightforward as ÖVP.

I was wondering if there is a best practice in enforcement Actionscript cuepoints.

User: needed for a slide show where each image is modified according to the cuepoints.

We add the Actionscript cuepoints at the temporal facet and add TemporalFacetEvent.POSITION_REACHED to the... easy facet.

Now all that we need to do is load the correct image in an event handler has reached cuepoint... apparently not so easy

In ÖVP the reached cuepoint event contains all cuepoint data so is very easy to access the image name, id etc.

The TemporalFacetEvent does not seem to allow the same access to the data.

Is it because its still under development, or is it an another medium specific OSMF to tackle this problem?

Keep up the good work! Roll on OSMF beta!

concerning

Micheal

Hi Michael,

You probably noticed that the CuePoint in the TemporalFacetEvent object contains the 'settings' property that can contain a pair key/value you define.

The purpose of namespaces in the facet is to allow you to distinguish between the different TemporalFacets that are added to the MediaElement. If you take a look at the app from CuePointSample, you can see it adds it of own benchmarks at run time and assigns custom to those own namespace so it can differentiate between people and cue points added by the framework.  It is the purpose of namespaces.

The new subtitling plugin will have its own namespace.  This allows the code reader a separate receiver for each TemporalFacet, be or have a single listener, and be able to react differently depending on the namespace, for example:

private void onTemporalFacetEvent(event:TemporalFacetEvent):void
{
var ns:URL = .namespaceURL (event.currentTarget as TemporalFacet);
               
If (ns is MetadataNamespaces.TEMPORAL_METADATA_EMBEDDED)
{
We get this from a piece of media delivered http, these reference points have been incorporated at the time of encoding

var cuePoint:CuePoint = event.value like CuePoint.
}
Else if (ns == MetadataNamespaces.TEMPORAL_METADATA_DYNAMIC)
{
We get this framework, for example in the case of an F4V streaming. The framework is dispatching

These because there is no landmark cases in the stream for F4V files, frame their bed the onMetadata

reminder and distributes these timely events.

var cuePoint:CuePoint = event.value like CuePoint.
}

Else if (ns == CaptioningPluginInfo.CAPTIONING_TEMPORAL_METADATA_NAMESPACE)

{

We get this plugin of subtitling and the event.value is an object of legend

Legend: Legend of var = event.value as legend.

}

}

Hope that helps,

-charles

Tags: Adobe Open Source

Similar Questions

  • CME and Unity (no CUE point)

    Hi people,

    just a question: is it possible to connect a CME unit (no CUE point)? Is there a doc in line on that?

    Any advice will be appreciated

    Concerning

    Andrea

    Yes, you can integrate the CME unit. Please see the document below.

    http://www.Cisco.com/en/us/products/SW/voicesw/ps2237/prod_configuration_guide09186a00801c4185.html

    I hope this helps. If so, please indicate the position.

    Brandon

  • Flash H.264 navigation cue points

    I export the first h.264 format videos that have flash navigation points. When I load the video in an flvplayback component in Flash, navigation points do not work. Flash navigation cue points are taken in charge in the H.264 format, or what I need to add with actionscript during the loading of the video?

    Flash navigation cue points are supported in H.264 format

    No they are not. "Cue point" information can be incorporated into the metadata of a H.264 file as markers, but it is placed in a totally different place that Flash Player can not see.

  • Is it possible to add cue points to a MP4 video file?

    Is it possible to add cue points to a MP4 video file?

    Director has a findposnear function that allows to quickly search currently of film in a list of times, giving you an index number that you could use on another list. It is easier to use than benchmarks!

    Adobe Director * findPosNear

  • Read and use the cue point in mp3 file

    Hallo,

    It is possible to manage the cue point in the mp3 file with as3.

    If so, no allusion?

    Thank you.

    It is likely that you need to import the CuePointEvent class, if the error indicates it is not.

  • FLV Playback CUE Points Sub Panel in the missing properties panel?

    So, anyone knows how we can add cue points to FLV using Flash CC reading. Thus, using Flash CS6 if you import a video of your internship (file-> Import-> import video) component FLVPlayback is added to your step. If you cilck component FLVPlayback the POINTS of REFERENCE under Panel's niche in the Panel properties like this:

    cuePoints_CS6.PNG

    However, if you click on the FLVPlayback instance in Flash CC, you get nothing. HOWEVER, please note that it shows that the FLV file contains cuepoints (it was an existing CS6 file I added the cuepoints already). But since the Panel of sup of POINTS of REFERENCE does not exist, I can't edit them.

    cuePoints_CC.PNG

    Thanks for your help!

    Landmarks Panel is deprecated since Flash CC, but you can make use of Action-script Cue points to your video into CC to animate.

    See the benchmarks AS section in this document: Adobe Flash Professional CS5 * landmarks of use

    Adobe ActionScript 3.0 * use cue points

  • Trying to read high millisecond cue point times

    Hello

    I'm learning the AC3. I use the script in a folder to read benchmarks in milliseconds. These cue points are defined by the code in a script of image in the main scenario like this:

    Create an instance of SoundSync
    var ss:SoundSync = new SoundSync();

    Instance allows you to add benchmarks for the audio file
    puts a cuePoint in the soundtrack to the location of millisecond after the comma

    ss.addCuePoint("someString1",01969);

    Here is the script of the AS file that reads these points of reference:

    net.quip.sound package

    {

    import flash.events.Event;

    import flash.events.TimerEvent;

    import flash.media.Sound;

    import flash.media.SoundChannel;

    import flash.media.SoundLoaderContext;

    import flash.media.SoundTransform;

    import flash.net.URLRequest;

    import flash.utils.Timer;

    SerializableAttribute public class SoundSync extends Sound

    {

    PROPERTIES

    private var _cuePoints:Array;

    private var _currentCuePoint:uint;

    private var _timer:Timer;

    private var _timerInterval:uint;

    private var _startTime:Number;

    private var _loops:uint;

    private var _soundChannel:SoundChannel;

    CONSTRUCTOR

    public void SoundSync (stream: URLRequest = null, context: SoundLoaderContext = null) {}

    Super (stream, context);

    init();

    }

    METHODS

    init

    private function init (): void {}

    _cuePoints = new Array();

    _currentCuePoint = 0;

    _timerInterval = 50;

    _startTime = 0.0;

    }

    Add Cue Point

    public void addCuePoint(cuePointName:String,_cuePointTime:uint):void {}

    _cuePoints.push (new CuePointEvent (CuePointEvent.CUE_POINT, cuePointName, cuePointTime));

    _cuePoints.sortOn ("time", Array.NUMERIC);

    }

    Get cue point

    public void getCuePoint(nameOrTime:Object):Object {}

    var counter: uint = 0;

    While (counter < _cuePoints.length) {}

    If (typeof (nameOrTime) == 'string') {}

    If (_cuePoints [meter] .name == nameOrTime) {}

    return _cuePoints [counter];

    }

    } Else if (typeof (nameOrTime) == 'number') {}

    If (_cuePoints [meter] .time == nameOrTime) {}

    return _cuePoints [counter];

    }

    }

    counter ++;

    }

    Returns a null value.

    }

    Get the Index of the current Cue Point

    private void getCurrentCuePointIndex(cuePoint:CuePointEvent):uint {}

    var counter: uint = 0;

    While (counter < _cuePoints.length) {}

    If (_cuePoints [meter] .name == cuePoint.name) {}

    return the meter;

    }

    counter ++;

    }

    Returns a null value.

    }

    Get the next Cue Point index

    private void getNextCuePointIndex(milliseconds:Number):uint {}

    If (isNaN (milliseconds)) {}

    milliseconds = 0;

    }

    var counter: uint = 0;

    While (counter < _cuePoints.length) {}

    If (_cuePoints [meter] .time > = milliseconds) {}

    return the meter;

    }

    counter ++;

    }

    Returns a null value.

    }

    ...

    Here's my problem: when I set a cue point that is a minute or more (in milliseconds) as in:

    ss.addCuePoint ("someString1", 107055); It is not processed by the script AS

    .. .the landmarks are not read (nothing happens).

    It's probably because I need to provide for this possibility in this file AS above. (This isn't my script, so I don't know how to adjust it. It's a good tutorial by David Stiller on the Adobe site: http://www.adobe.com/devnet/actionscript/articles/cue_points_audio.html).

    Can someone tell me how to adjust the script AS so I can read a cue point that goes beyond 5 places?

    Thank you very much!

    Human error. I wasn't conversion millisecond understaning. SoundSync AS code is is good. I need work.

  • a loop with cue points, round 2

    OK, so I've done it before, and it worked.  It should be as simple as copying the code and rename the FLV Player, but I get an error "invalid seek.  As I said, it worked on previous sites, I did, if any explanation would be great.  I'm trying to get a video replay and then looped around the middle of the video and play at the end in a loop continues.   The only difference I see is that on my other site, it is live from my ftp.  This should not make a difference, as apposed to be local, does?  I also use embedded cue points.  Thanks again.  Here is the code:

    Stop();

    Import fl.video.MetadataEvent;

    Movie.addEventListener (MetadataEvent.CUE_POINT, loopFunction);

    function loopFunction(e:MetadataEvent):void {}

    If {(e.info.name=="introEnd)"}

    Movie.seekToNavCuePoint ("introMiddle");

    Movie.Play ();

    }

    }

    Draw your cuepoints to confirm there is a named introMiddle

  • Problems using Cue points in video loop

    OK, so I want to use landmarks to navigate the video.  First, I simply loop the video of the end of the beginning.  I get an invalid error 1003 search.  Here is my code.  Any help would be appreciated.  Thank you

    Import fl.video.MetadataEvent;

    Movie.addEventListener (MetadataEvent.CUE_POINT, loopFunction);

    function loopFunction(e:MetadataEvent):void

    {

    If (e.info.name is "end1")

    {

    Movie.seekToNavCuePoint ("beginning1");

    Movie.Play ();

    }

    }

    At least you get informed even if the search does not work.

    A quick workaround would be to iterate on landmarks than detect in the metadata, by assigning to each cue point name and time into an object. Once you reach the cue point you want, see if the object has the time value and seek() at the time for this landmark rather than searching for it by name.

    for example (written briefly, you see the idea):

    object to store time values

    var cuePointArr:Object = new Object();

    function onMetaData(infoObject:Object):void

    {

    var cueIndex:String;

    for (cueIndex to infoObject.cuePoints)

    {

    trace ("cue add name [" + infoObject.cuePoints [cueIndex] .name + "] at the time [" + infoObject.cuePoints [cueIndex] .time + "]");

    store as a name = time

    cuePointArr [infoObject.cuePoints [cueIndex] .name] = infoObject.cuePoints [cueIndex] .time;

    }

    }

    function loopFunction(e:MetadataEvent):void

    {

    correct point of reference and has a value in cuePointArr?

    If ((e.info.name == "end1") & (curPointArr [e.info.name]! = null))

    {

    seek to time value

    Movie.Seek (Number (cuePointArr [e.info.Name]));

    Movie.Play ();

    }

    }

    Lived 900 mph up to forgive the typos but turning it into a normal search based on the value of time should work for now.

  • Video - Cue Points in Flash

    I just added a few external FLV playback in a project that I am currently finished.

    I am currently set my navigation button (next_btn) the invisible value when the page loads (forcing the user to view the video).

    I can set a cue point in the video to change the State of the button following (e.g. next_btn._visible = true ;)?

    you don't need a cuepoint to detect the end of your video.  use:

    var lo : Object = {};

    Lo.Complete = function ( eObj: Object): Void {}

    next_btn._visible = true;

    }

    flv_pb.addEventListener ("complete", lo);   // <- use="" the="" instance="" name="" of="" your="" flvpb="">

  • using cue points

    What is the proper syntax and functions to address within a flv cue points and what do average parts and react?

    I want to have the flv files with cue points in them, I can get to do other things in the swf file and I want to know how to set up on both sides, including which must import, what type of events to capture benchmarks and other...

    my mistake.  use:


    Import fl.video.MetadataEvent;

    flv.addEventListener (MetadataEvent.CUE_POINT, f);

    function f(e:MetadataEvent):void {}

    {if(e.info.Name=="wingsdown")}

    do something with e.info.WINGSDOWN elsewhere on stage

    }

    }

  • video with actionscript cue points

    Hello! I'm trying to put in place an array of landmarks and when each cue point is reached, it raises an event. I have the updated table in place, but I'm wrong configure action events.

    Any help is VERY appreciated!

    Here's the code so far:

    Import fl.video.MetadataEvent;

    flvPlayback.addEventListener (MetadataEvent.CUE_POINT, onCuePoint);

    flvPlayback.play ("final.flv");

    aCues var = new Array ();

    aCues = [{time: 14, name: "part1"}, {time: 1, name: "part2"}, {time: 3.66, name: 'part3'}, {time: 9.43, name: "part4"}];

    for each (var q in aCues)

    {

    flvPlayback.addASCuePoint (q.time, q.name);

    }

    This is the part that doesn't work

    function onCuePoint (evt:MetadataEvent): void

    {

    if (evt.name = "part1") {}

    part1.gotoAndPlay (2);

    }

    }

    MetadataEvent has the property of information. Try:

    function onCuePoint(evt:MetadataEvent):void
    {
         if (evt.info.name = "part1"){
              part1.gotoAndPlay(2);
         }
    }
    

    Or even better:

    function onCuePoint(evt:MetadataEvent):void
    {
         switch(evt.info.name) {
              case "part1":
                   part1.gotoAndPlay(2);
              break;
    
              case "part2":
                   // do whatever
              break;
    
              case "part3":
                   // do whatever
              break;
    
              case "part3":
                   // do whatever
              break;
         }
    }
    
  • Handling in Javascript Flash video cue points

    Can any kind person giving me directions on how to get the JavaScript in an HTML page containing a video FLV for cue points in the video? I understand how to get benchmarks, but most people seem to only want to deal with the landmark events in Flash. I want to use Javascript to display different text in a page to each element. The method vary it depending on which player you use? What about when it's the standard Flash Playback component? Should there be any special Actionscript in the SWF file containing the FLV file?

    Thank you

    Fred

    Look at ExternalInterface in online help. It's the external API that you can use for communication between Flash and html page that got him.

  • Flash CS4 ActionScript using buttons to go to cue points in an FLV

    Hello.
    I'm pretty much a novice Flash, so I don't think that this issue is particularly difficult, it's just something that is painful for a few days. I know it's possible based on all the literature I've read, but I can't seem to do it properly.

    Basically I have a video file that I made to FLV format with 5 points of navigation called 1, 2, 3, 4, 5.

    What I want to do, is to use buttons to navigate to the five cue point in the flash animation. I think that this is possible using ActionScipt 2, but I don't know what the code of the script function.

    Any help would be much appreciated.


    Thank you
    Javier

    Hello

    The following AS2 code can help you

    Stop();

    var listenerObject:Object = new Object();
    listenerObject.ready = {function(eventObject:Object):Void}

    }

    .addEventListener ("ready", listenerObject);
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = {function(eventObject:Object):Void}
    .onRelease = function () {}
    playback.seekToNavCuePoint ("");

    }

    }
    .addEventListener ("cuePoint", listenerObject);

    \\replace all things placeholder which the<>

    Also just take a glance to the description to http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts & file = 00003003.html for more details

    Thank you!

    PS: pls mark that message as if it were a help to you have it

  • MpegAdvance Xtra and Cue points

    I currently use benchmarks successfully to access the different chapters of movies using:

    A BUTTON
    on mouseUp
    SendAllSprites (#MpegAdvance_CuePointCommand, #GoToCueName, "shape_cue_5")
    end

    With the HELP of hyperlinkClicked

    (data begin "4.1.5"):
    SendAllSprites (#MpegAdvance_CuePointCommand, #GoToCueName, "shape_cue_5")


    How do I do to get these same reference points to interact with other members É.g.i interpreters want a cast member to view or highlight when a cue point is reached - a member of text or graphic saying "Chapter 5" become visible when the mark 5 is reached.

    Thank you

    Mike

    Try the following as a behavior attached to your sprite #TBMPEGADVANCE
    (adjust the cuePointName as needed):

    on cuePassed me, consolidate, aNumber, aName
    If aName = "CuePoint1" then
    Sprite (66) .visible = TRUE
    end if
    end

Maybe you are looking for

  • HP Pavilion DV7-4269WM

    I update to windows 8 I have problem with the ati catalyst switchable graphics windows 8 I have no graphics switchable option the screen goes black and I can't go into the Office I have to press the off button (standby) and therefore can enter window

  • How can I solve the error 2503 and 2502 codes when you try to install a program?

    When I try to install a program I get the error 2503 and 2502 codes, what should I do to get rid of them?

  • Support strange emails

    I received several emails today on my mail to support, the format is similar, for example Subject: Report: Wed Sep 07 15:10:28 GMT 2011 Body: User comments: fbName of the application: Version of the application:License key: nullBB Apps version: 5.0.0

  • Where can I get some decorative features?

    Hey everybody! Everyone does not know where to find the decorative features?and can someone explain to me finally what is creative cloud and what is this good for and how to use it?Thank you!Vraja

  • Map of multiple accounts for an account of the logic

    HelloI want to map accounts to an account of logic in the mapping of account dimension table, but the account of the logic I created does not appear in the mapping table. You know the reasons?Thank you very much.CW