Get sequence start from Transmit API

I'm using the Transmit API to get the timecode of the sequence as it plays. I'm using the inTime and working out the number of seconds from the ticks.
This gets the number of seconds from the start, which is fine if the sequence begins at 00:00:00:00, but if it begins at 01:00:00:00 or some other value then all of the timecode values are wrong. I could not figure out a way of getting the sequence start position - am I correct in assuming that such a function doesn't exist?

For automation purposes you may want to also implement reading any XMP sidecar file that exists. That has the timecode of the capture in it.
- a good example is to export H.264 in AME/PPro. the resulting xmp/xmpses file has the xmp fields of interest. Open it with WordPad (coz that understands Unicode) and you'll see a XMP:RDP packet like this:
<rdf:Description rdf:about="" xmlns:stCap="http://ns.adobe.com/xap/1.0/sType/CaptureTimecode#">
    <stCap:CaptureTimecode>
        <rdf:Seq>
            <rdf:li rdf:parseType="Resource">
                <rdf:value rdf:resource="Capture"/>
                    <stCap:index>0</stCap:index>                    <stCap:capturetime>00:07:01:13</stCap:capturetime> 
                    <stCap:time>00:07:01:13</stCap:time>
                </rdf:li>
            </rdf:Seq>
    </stCap:CaptureTimecode>
    <stCap:NCapture>1</stCap:NCapture>
</rdf:Description>
You can read/write/modify XMP embedded in source files or in sidecar xmp files for sources that can't embed XMP using the Adobe XMP Toolkit.
http://www.adobe.com/devnet/xmp.html
regards
Rallymax.

Similar Messages

  • Getting Sequence object from pre-step substep of Sequence Call based step type

    How to obtain reference to Sequence object from within pre-step substep of Sequence Call based custom step type?
    Given: new custom step type which based on NI Sequence Call step type. There is Pre-Step substep exist for this step type.
    How to get reference to Sequence object representing Sequence which will run?
    Although there is possible to examine SequenceAdapter and SequenceCallModule properties, it seems redundant since module (Sequence) is already loaded by TestStand ("NI TestStand Reference Manual. Table 3-4. Order of Actions that a Step Performs"   Action #6, while my code is running as Action #13).
    Thanks.
    Misha

    Could you explain what you want to do ?
    Why do you want to get the sequence object within a pre-step substep ?
    I give you some informations but I don't know if it's the better way to do what you want (because I don't know what you want to do with the sequence object).
    If the substep uses the ActiveX adapter :
    You can get the sequence object but you should save the object reference in a StationGlobals variable.
    And you should release the object reference within your sequence when you don't need it any more.
    If the substep uses another module adapter: 
    Get the step module, then the sequence name (module property).
    Then get the sequence object by the sequence name from the sequence file.
    Here are the paths to use for both methods :
    Sequence Name property path : Step.Module.SeqName
    Sequence Object path : RunState.SequenceFile.GetSequenceByName (seqname)

  • Getting video start from 0.00 position issue

    hi folks,
    i am having this 80gb ipod and offlate whats bugging me is that eg. i got a song which is 5 mins and yesterday i abruptly stopped at say 3.47 mins, when i try to watch that video again, it starts from 3.47 instance... is there any kind of setting wherein the video starts from 0.00 position... i tried in options / settings etc..but couldnt find any option... has anyone else too find this difficulty ?

    hi folks,
    i am having this 80gb ipod and offlate whats bugging me is that eg. i got a song which is 5 mins and yesterday i abruptly stopped at say 3.47 mins, when i try to watch that video again, it starts from 3.47 instance... is there any kind of setting wherein the video starts from 0.00 position... i tried in options / settings etc..but couldnt find any option... has anyone else too find this difficulty ?

  • Get Sequence context from ActiveX reference

    Hello,
    I am passing to MFC DLL ActiveX reference to freshly created new execution. In examples it is shown how to pass "ThisContext" to DLL (struct IDispatch *seqContextDisp) but i need something like :
    - create new execution, save ActiveX reference in local variable
    - pass reference to DLL
    - in DLL get from reference sequence context and perform some operations (get/set vaiables, etc.)
    Thanks.

    I'm not sure I fully understand the question but I'll take a stab at it anyways. First if you want to have seq context of the new execution; review my sample seq file I sent along. In this seq file you can pass seq context of the new execution to a dll in either seq/execution.
    If this is a simple "C" type question the prototype/code would look something like the .cpp file I attached.
    My stuff may have a couple different parameters!
    If I misunderstoo the question you might want to send me what you got so far... It might be eaiser for me to see what you are tyring to do and I can finish an example for you.
    [email protected]
    Attachments:
    Sequence_File2.seq ‏16 KB
    handleexports.cpp ‏9 KB

  • Want to get sequence value from bean

    I want to get sequecne value in abean
    when i try to make this
            String EmpId = (String)JSFUtils.resolveExpression("#{bindings.EmpViewId.inputValue}");Error appear
    Caused by: java.lang.ClassCastException: oracle.jbo.domain.DBSequence cannot be cast to java.lang.String
    and when i tried
            DBSequence EmpId = (DBSequence)JSFUtils.resolveExpression("#{bindings.EmpViewId.inputValue}");another errpr appeared
    how can i catch this DBSequence value

    you did not mention your JDev version.
    For 10g it might be helpful:
    http://database.in2p3.fr/doc/oracle/Oracle_Application_Server_10_Release_3/web.1013/b25947/web_complex006.htm
    Example 19-49 Value Change Listener Method for Handling a File Upload Event
    String fileUploadLoc =
    FacesContext.getCurrentInstance().getExternalContext().
    getInitParameter("SRDemo.FILE_UPLOADS_DIR");
    if (fileUploadLoc == null) {
    // Backup value if context init parameter not set.
    fileUploadLoc = "/tmp/srdemo_fileuploads";
    //get svrId and append to file upload location
    DBSequence svrId =
    (DBSequence)ADFUtils.getBoundAttributeValue("SvrId");
    fileUploadLoc += "/sr_" + svrId + "_uploadedfiles";
    I don't know if it works for 11g too.
    NA
    http://nickaiva.blogspot.com/

  • Altering sequence to start from 0

    I have a sequence for auto-incrementing a value. Each day I want that sequence to restart, meaning to start from 0 again. So I did a job in which I tried deleting the sequence and re-creating it. Someone told me that instead of deleting-recreating a sequence I can use alter sequence to make the sequence start from 0 again but as I read, the alter sequence cannot do that. as I read:
    ALTER SEQUENCE [schema.]sequence
    [INCREMENT BY integer]
    [MAXVALUE integer | NOMAXVALUE]
    [MINVALUE integer | NOMINVALUE]
    [CYCLE | NOCYCLE]
    [CACHE integer | NOCACHE]
    [ORDER | NOORDER]
    there is no option to change start from.
    Does anyone knows if that can be actually done?
    As I figured it's not possible to alter the sequence to start from 0 again I can do a job in oracle to delete and create the sequence again. The thing it it's not working. If I do a job and say:
    execute immediate 'drop sequence name_seq'; and execute it, it works, it deletes the squence but if I further write:
    execute immediate 'create sequence name_seq ' ||
    'start with 1 ' ||
    'increment by 1 ' ||
    'nomaxvalue ';
    it doesn't do it anymore. I get no errors but the sequence is not created. can anyone give me a hand here? 10x a lot in advance

    there is no option to change start from.
    Does anyone knows if that can be actually done?ensure that noone other works with sequence and:
    alter sequence seq increment by -(current_value);
    select seq.nextval from dual;
    alter sequence seq increment by 1;
    execute immediate 'drop sequence name_seq'; and
    execute it, it works, it deletes the squence but if I
    further write:
    execute immediate 'create sequence name_seq ' ||
    'start with 1 ' ||
    'increment by 1 ' ||
    'nomaxvalue '; Looks OK, can you do that from jus SQL prompt?
    >
    it doesn't do it anymore. So it did a while ago? What has been changed?
    Gints Plivna
    http://www.gplivna.eu

  • Sequence starting with specific number

    Hi,
    Is it not possible to create a sequence in ODI starting with a specific number. An example is such as a sequence starting from 10,000 and incrementing by 1.
    The reason I am asking is because , in the ODI sequence tab, although there is an option for specifying increment factor, there is no place to mention the first element
    of the sequence.
    Kindly suggest.

    Hi,
    Its not recommend to use ODI sequence as it needs to follow some process for implementation, its advisable to use DB sequence for surrogate columns.
    So please use DB sequence and call it in ODI mapping using the below syntax,
    <SCHEMA_NAME>.<SEQUENCE_NAME>.NEXTVAL
    FYR: http://odiexperts.com/odi-sequence
    Thanks,
    Guru

  • Mail suddenly started retrieving e-mails starting from 1st e-mail on Server

    L.S.,
    I'm using the mail.app version 4.2 with POP and have been downloading my mails without problems.
    I do keep the mail on the server and was at about 8000 mails on the server.
    Suddenly when trying to download, the mails started downloading from the first mail.
    I've stopped the downloading and am having issues, as I'm using a web-interface to read the mails and responding in mail.
    I deleted the extra mails that were downloaded and from the mailbox which were the last ones to be downloaded and are duplicates and then die a Rebuild.
    This took care of removing the duplicate mails and also re-indexing my mailbox.
    However when trying to download again it keeps on starting from the first e-mail.
    Is there a way to get it start from where the latest not download e-mails start?
    Thnxs for your help.
    Alecio

    I went back to the vendor of the mailserver software to check your suggestion.
    Their answer was as follows:
    +There is no POP information stored on the server in regards to what e-mails have been downloaded or not, this is handled by the e-mail client. The client stores this information and could have become corrupt.+
    Possible reasons for this to happens according to the vendor's support were:
    +Have you made any changes to your connection within Apple Mail ?+
    I don't recall making changes to the connection with my Apple Mail.
    While abroad I recall that using one of the hotels providers, I was unable to send mail but that has to do with SMTP and shouldn't have any impact on the POP.
    I needed to use their mailserver to be able to send as I was getting relaying problems and maybe there is where something might have gone wrong.
    +Has the IP address of the server you connect to changed at all ?+
    The IP address of the mailserver never changed.
    I asked for an indication on where this info could be for Mail.app where I received the following answer.
    +I am not sure of the file in which this stores in AppleMail. In outlook it is stored in a database file called Pop3uidl.dbx - There may be something similar to that in your file structure.+
    After this answer I went to investigate further what could be done.
    I went into the directory ~/Library/Mail and found amongst others the file MessageUidsAlreadyDownloaded3.
    Googling this I got more confused as unfortunately when the early adopters upgraded to Snow Leopard, mail had a mishap and this was part of what was being reflected in the postings and also the suggestion to move from POP3 to IMAP to circumvent this issue.
    I'm on Snow Leopard and waited until the patch was released that took care of the mail issue, to upgrade. So that is one issue less to take into consideration.
    Going to IMAP is not an option either, as all of my POP mail is local and all the mail I have would not be together. Furthermore I did finally decide to integrate my gmail account into mail and this has caused my mailing to become unbearably slow (2nd issue).
    Not having an option according to the write-ups, I decided to check what could be done with sqlite as MessageUidsAlreadyDownloaded3 is a sqlite DB.
    Didn't get anything when trying to load the MessageUidsAlreadyDownloaded3.
    As the last resort I have to delete MessageUidsAlreadyDownloaded3 and I will get all the files back which are on the mailserver according to the write-ups.
    This means that I have to get rid of the already existing files that will be downloaded.
    So I decided to start doing that. Then I saw that for INBOX.mbox and Sent Messages.mbox apart from the Messages directory, an Attachments directory also exists and I saw that the messages that have attachments, these attachments are kept in a directory of the name equal to the name of the .elmx, that no other mailbox seems to have these attachment directories and that for Sent Messages.mbox the attachments are incidentally copied into its Attachment directory.
    Fortunately I don't have to take care of that as only my INBOX counts for the messages I have to retrieve.
    I suspect that there are inconsistencies in the application as I couldn't find a correlation on the reason for having only a small portion of the sent attachment in the Attachment Directory for Sent Messages.mbox and not all.
    I have not started retrieving the mails from the mailserver yet.
    Is there something else I need to take into consideration before taking the jump? As I see files like DefaultCounts etc.
    Do I need to take care of other files?
    Something else that bugs me is that even though I deleted all the .elmx files in the INBOX.mbox of which I have a copy on the mailserver, I still keep seeing the e-mails.
    Scanning the system for the elmx's that may exist for those e-mails I don't find anything. Who can explain this to me?
    *Resuming I have the following issues:*
    *- Is what I have done by eliminating the already downloaded e-mails including attachments “if they exist” of which I have a copy on the Mailserver enough?*
    *- What could have caused my mail to become slower when implementing IMAP (gmail account) in combination with POP3?*
    *- Is the inconsistency with attachments legit?*
    *- A small explanation of why I have the deleted e-mails still at my disposition, while they were physically deleted (.elmx) ?*
    Thanks for your reaction
    Alecio

  • How to show montha name starting from APR to MAR

    Hi,
    How to show financial year in report .
    I.e
    When i select month column in my report i need to get values starting from APR to till MAR. Can any one tell me how to show it.
    APR,
    MAY,
    JUN,
    JUL,
    AUG,
    SEP,
    OCT,
    NOV,
    DEC,
    JAN,
    FEB,
    MAR

    Hi,
    Steps to achieve,
    1. Go to analysis pull it out your month columns two times (let rename it month Id and month name)
    2.) edit formula on month Id columns put it below contional statement
    E.x:
    Case when month name = 'January' then '1'
    When month name ='February' then '2'
    When case month name='November' then '11' Else '12' end
    3.) Go to month name columns in your analysis criteria and edit formula here u just make it first 3 char of your month name columns by using left( month name, 3)
    4 ) sort month name columns by using month id columns then hide month id columns it will work as you expected
    Another solution:
    First you need to add the function monthname in the column formula. This will give you month names.
    Ex-MONTHNAME("Cal Date")
    To sort, add bin or write case statements in other column and sort it.
    Ex- case
    when MONTHNAME("Cal Date")='Jan' then 1
    when MONTHNAME("Cal Date")='Feb' then 2
    end
    Hope this help's
    Thanks,
    Satya

  • How can I get RTE information in operator interface (LV) from TS API?

    Hi!
    I have operator interface in Labview and use TS API to run tests.
    I would like to eliminate RTE dialog and to show error messages directly in front panel control.
    I have created callback for TS Application Manager BreakOnRTE event.
    It works good and I can lock dialog apearance.
    But if I try to get ErrorObject from event parameter (execution) is is empty (has no error information).
    But this parameter is real execution which contains step with RTE.
    When I allow the dialog appearance in this callback, it contains RTE information.
    Where can I get error information from this callback or get it any another way?
    Thanks in advance for any assistance.
    Solved!
    Go to Solution.

    I have found the way to get RTE from callback BreakOnRunTimeError of ApplicationMgr.
    This way is:
     Execution->GetThread[0]->GetSequenceContext[0]->GetRuntimeErrorMessageEx().
    It was not clear for me: all Error fields in step and Sequence are not filled yet on callback time.
    Only the context method can return error message.
    The question is closed.

  • Getting a Sequence back from an S-P with typed DataSet problem

    Hi,
    I know there are loads of topics about sequences on this forum, but I can't seem to find this exact issue amongst them.
    As a learning exercise, I've created a typed dataset based on the HR sample database tables Departments and Employees (through the use of the hack to get an OracleDataAdapter to generate typed datasets).
    I currently have a problem with retrieving the new sequence value from the 'Insert_Department' stored procedure I've written, and the best thing I can figure is that there is a clash occurring between the type and size of the sequence and the size of the department_id column (number(4) - which maps in .Net to an int16).
    The exception I get on running the dataAdapter.Update() method is:
    Unable to cast object of type 'Oracle.DataAccess.Types.OracleDecimal' to type 'System.IConvertible'. Couldn't store <330> in DEPARTMENT_ID Column. Expected type is Int16
    The record does get inserted into the database ok - therefore I infer that this is a problem with the handling of the return value back to the DepartmentsDataSet column.
    My stored procedure is as follows:
    PROCEDURE "INSERT_DEPARTMENT" (
    "NEW_DEPARTMENT_ID" OUT DEPARTMENTS.DEPARTMENT_ID%TYPE,
    "NEW_DEPARTMENT_NAME" IN VARCHAR2,
    "NEW_MANAGER_ID" IN NUMBER,
    "NEW_LOCATION_ID" IN NUMBER) IS
    BEGIN
    INSERT INTO DEPARTMENTS(DEPARTMENT_ID, DEPARTMENT_NAME, MANAGER_ID, LOCATION_ID)
    VALUES (DEPARTMENTS_SEQ.NEXTVAL, NEW_DEPARTMENT_NAME, NEW_MANAGER_ID, NEW_LOCATION_ID);
    SELECT DEPARTMENTS_SEQ.CURRVAL INTO NEW_DEPARTMENT_ID
    FROM DUAL;
    END "INSERT_DEPARTMENT";
    I've tried lots of different things here; I started declaring the parameter as a NUMBER, now it's set to a %TYPE on the column as you can see... and I've also tried assigning the NEXTVAL to a NUMBER(4) local variable before assigning it to the OUT parameter.
    Here's the C# that configures the insert command:
    // Insert - note that department_id param is an output param
    OracleCommand insert = new OracleCommand("odp_hr_dal.insert_department", connection);
    insert.CommandType = CommandType.StoredProcedure;
    insert.Parameters.Add(new OracleParameter("new_department_id", OracleDbType.Int16, 2, "department_id"));
    insert.Parameters["new_department_id"].Direction = ParameterDirection.Output;
    insert.Parameters.Add(new OracleParameter("new_department_name", OracleDbType.Varchar2, 30, "department_name"));
    insert.Parameters.Add(new OracleParameter("new_manager_id", OracleDbType.Int32, 4, "manager_id"));
    insert.Parameters.Add(new OracleParameter("new_location_id", OracleDbType.Int32, 4, "location_id"));
    deptDataAdapter.InsertCommand = insert;
    The key line is the adding of the "new_department_id" line where I have tried many different types in the vain hope that I can somehow override the conversion process to not think it needs to go as large as a Decimal type.
    I wonder if anyone could help point me towards the (probably obvious) thing that I am missing? I've run out of ideas on things to try!
    With Best Regards,
    Nij

    Thank you muylaerk,
    That did work.
    However, this and the related link you posted raise a question: Given that (in the case of Decimal types) whichever of the DbType or OracleDbType property you set, the other value is set to Decimal also... what setting in the OracleParameter records which was the 'set' property, and therefore, which type will the Value be set to?
    In other words, does anything visibly change in the debugger view of the OracleParameter type to see this?
    Nij

  • Archive start from sequence=2...

    Hi All,
    After completion Database (10g) installation on solaris machine , check the sequence number from v$log view as shown below : it display sequence 2 is current and archive is also start from sequence 2.(check this archive files manually from log_archive_dest_1's location.)
    but when we are looking for any recovery scenarios then will it be asking for archive sequence 1?
    select * from v$log;
    GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS
    1 1 2 52428800 2 NO CURRENT
    2 1 0 52428800 2 YES UNUSED
    3 1 1 52428800 2 YES INACTIVE
    Can any one suggest me why it's start from sequence 2 as current instead of sequence1?
    Thanks...

    Furthermore, read my earlier reply about the backup : "As you haven't taken any Database Backup yet, the archivelogs that are currently being generated will not be required in a Recovery scenario -- you can't begin Restore+Recovery until you have a Backup to Restore."
    Even if log sequence#1 did get archived, it is meaningless. Any archives created before any database backup are unusable in a Recovery situation. A Recovery can apply archivelogs only from the point when a backup was created. You wouldn't, COULDN'T, have taken a Backup before Log Sequence#1 , so there won't be a need for an archive log of that file.
    The situation when Log Sequence#1 is archived is IF a database, being already in ARCHIVELOG mode, is opened with RESETLOGS , for example, after an Incomplete Recovery. Then, the next archive would be Log Sequence#1 of the Incarnation created by the ResetLogs .

  • FireFox is the best internet navigator so far, but starting from this date of July 16th 2011, I'm going back to IE and stop using FF as long as I'm still getting 20 to 25 plugin containers in my Windows Task Manager. Goodbye FF.

    I have been using FF for the last 8 years. Starting from today of July the 16th 2011, I'm going back to IE and say goodbye to FF as long as I'm still getting 20 to 25 plugin containers in my Windows task manager.

    I have the "techie" answer for all of you. According to the tier 2 support at Norton Help Desk, the latest live update from Norton "utilizes Visual Studio 2012 which enables SSE2 instructions" and my processor can not handle that.
    He said they are "working on a solution" and offered to reply back on Wednesday / Thursday this week if a solution could be found...

  • I'm trying to set up a DAQ assist just to measure some voltage, how do i get the graph to start from 0 (time) every time I press run

    Hi all,
    I am trying to set up a simple DAQ assist to measure some voltages (currently a 9 volt battery to aid set up), when choosing to use a waveform chart to log the voltages the graph doesnt start from 0 (time seconds) how do I do this and get it to reset every time I press run or even stop.
    What I want to see at the end is a chart for the full lenght of the test showing voltage against time in seconds.
    Any ideas peeps
    many thanks
    Shane

    Hi Shane,
    Look at this VI
    Here, I clear the chart before running the VI, using a 'history data' property node ( i pass an empty array to clear it)
    In effect, each time you run the VI, the chart will begin at 0:00
    Hope this helps
    Regards
    Dev
    Attachments:
    chart_start.vi ‏20 KB

  • How to get the numeric value of DocTotal from UI API

    When I hit the ADD button I need to get the DocTotal from the UI API !
    All I have is the EditText which gives it in string and the problem is to double.Parse it
    it's a pain to do it while there is CultureInfo related issue with it.
    So It would be wise to get the numeric value directly from the UI API instead of getting the DocTotal by string and trying to convert it.  So is there any way to get the numrci value of DocTotal from UI API ?

    Hello Marc,
    Here is a function which considering the Culture Info and always working. You can speed it up by using extending admininfo to global vairables, and loading the values at startup of the addon.
    Use the oEditText.value.ToString() to convert into into the doulbe number:
    Public Function _string2double(ByVal s As String) As Double
            Dim d As Double
    ' This part is fast, when regional settings equal to sap B1 settings:
            Try
                d = Convert.ToDouble(s)
                d = Math.Round(d, 6)
                Return d
            Catch
            End Try
    ' Speed up performance: extend CompaneService variables to global variables and query them at addon startup.
            Try
                Dim nfi As System.Globalization.NumberFormatInfo = System.Globalization.CultureInfo.CurrentCulture.NumberFormat
                Dim oCompanyService As SAPbobsCOM.CompanyService = oCompany.GetCompanyService()
                Dim oAdminInfo As SAPbobsCOM.AdminInfo = oCompanyService.GetAdminInfo()
                Dim sbodsep As String = oAdminInfo.DecimalSeparator
                Dim sbotsep As String = oAdminInfo.ThousandsSeparator
                If s.IndexOf(Space(1)) > 0 Then
                    If oAdminInfo.DisplayCurrencyontheRight = BoYesNoEnum.tYES Then
                        s = s.Substring(0, s.IndexOf(Space(1)))
                    Else
                        s = s.Substring(s.IndexOf(Space(1)), s.Length - s.IndexOf(Space(1)))
                    End If
                End If
                Dim s1 As String = s.Replace(sbotsep, nfi.NumberGroupSeparator)
                s1 = s1.Replace(sbodsep, nfi.NumberDecimalSeparator)
                d = Convert.ToDouble(s)
                d = Math.Round(d, 6)
                Return d
            Catch
                Return 0
            End Try
        End Function
    Regards,
    J.
    Edited by: János Nagy on Oct 7, 2009 8:55 AM

Maybe you are looking for