Get the duration of pproTicksIn/pproTicksOut

Hello

I am trying to get the length of a clip of an exported finalcut pro xml first pro CC somehow it seems my next calculation is wrong. TICKS_PER_SECOND is 254,016,000,000 (Source Post).

TimeInSec = (pproTicksOut / TICKS_PER_SECOND)-(pproTicksIn / TICKS_PER_SECOND)

With the attached sample data which translates into TimeInSec = 37,32. Adobe Premiere shows duration for this clip from '00:00:36:20' (920 images).

Is someone able to explain, how to calculate the same duration as the first with an exported finalcut pro xml data?

Thank you very much

JW

Node ClipItem exported xml file example:

< clipitem id = 'clipitem-13051' frameBlend = 'FALSE' premiereChannelType 'stereo' = >

< masterclipid > masterclip-4999 < / masterclipid >

< name > Test_audio.wav < / name >

< enabled > TRUE < / enabled >

< duration > 3750 < / time >

rate <>

< timebase > 25 < / time base >

< ntsc > FALSE < / ntsc >

< / rates >

< start > 82 < / start >

-< end > 1 < / end >

< in > 0 < /in >

<>933 < / out >

< pproTicksIn > 0 < / pproTicksIn >

< pproTicksOut > 9479877120000 < / pproTicksOut >

< file id = "file-4999" / >

< sourcetrack >

Audio < mediatype > < / mediatype >

< trackindex > 1 < / trackindex >

< / sourcetrack >

< filter >

< effect >

Audio level < name > < / name >

audiolevels < effectid > < / effectid >

audiolevels < effectcategory > < / effectcategory >

audiolevels < effecttype > < / effecttype >

Audio < mediatype > < / mediatype >

< authoringApp parameter = "PremierePro" >

< parameterid > level < / parameterid >

< name > level < / name >

< valuemin > 0 < / valuemin >

< valuemax > 3.98109 < / valuemax >

< value > 0.530654 < / value >

< / parameter >

< / effect >

< / filter >

< link >

< linkclipref > clipitem-13051 < / linkclipref >

Audio < mediatype > < / mediatype >

< trackindex > 5 < / trackindex >

< clipindex > 1 < / clipindex >

< groupindex > 1 < / groupindex >

< / link >

< link >

< linkclipref > clipitem-13063 < / linkclipref >

Audio < mediatype > < / mediatype >

< trackindex > 6 < / trackindex >

< clipindex > 1 < / clipindex >

< groupindex > 1 < / groupindex >

< / link >

< logginginfo >

< description > < / description >

scene <>< / scene >

< shottake > < / shottake >

< filled > < / filled >

< / logginginfo >

<>labels

Caribbean < label2 > < / label2 >

< / Label >

< / clipitem >

< transitionitem >

< start > 990 < / start >

< end > 1015 < / end >

< Alignment > Center < / alignment >

< cutPointTicks > 121927680000 < / cutPointTicks >

rate <>

< timebase > 25 < / time base >

< ntsc > FALSE < / ntsc >

< / rates >

< effect >

< name > Cross Fade (+ 3dB) < / name >

< effectid > KGAudioTransCrossFade3dB < / effectid >

transition of < effecttype > < / effecttype >

Audio < mediatype > < / mediatype >

< wipecode > 0 < / wipecode >

< wipeaccuracy > 100 < / wipeaccuracy >

< startratio > 0 < / startratio >

< endratio > 1 < / endratio >

< reverse > FALSE < / back >

< / effect >

< / transitionitem >

<!-clipitems more->

Hi guys and thx for your answers

As Eddie was my confusion I could return to calculate the values to those displayed by the first. All the values are correct. But I think I did the tour of my problem now. Adobe includes / excludes also more transitionitem time in certain circumstances. After apply this logic I have my own code, I can get it even values as the first, heureka

Thanks again

Tags: Premiere

Similar Questions

  • Get the duration of all the files inside a directory mp3

    Hi all

    I'm working on a little project with swing. Because I need an MP3 inside my swing application, I found a solution really good with JavaFX 2. I never worked with JavaFX, to this effect, it seems a bit strange on some parts.
    Anyway.

    I created a button on my request and as soon as someone clicks on this button, the application should scan recursively a directory of mp3 files and store information of artist, title and track length in a database.

    The mp3 player I created is based on the example on this page:
    http://www.java2s.com/code/Java/JavaFX/Mp3playerwithmetadataviewandcontrolpanel.htm

    I understand the source of most of the regions, but some behaivors are not really clear for me. My thoughts to get the full length of the mp3 file has been

    media.getDuration
    or
    mediaplayer.getTotalDuration

    but the two results are NaN values if I call. toMillis();

    Instead I need to create a listener (why?)
    private class TotalDurationListener implements InvalidationListener {
        @Override
        public void invalidated(Observable observable) {
          final MediaPlayer mediaPlayer = songModel.getMediaPlayer();
          final Duration totalDuration = mediaPlayer.getTotalDuration();
          totalDurationLabel.setText(formatDuration(totalDuration));
        }
      }
    and register for this listening port on the mediaplayer
    mp.totalDurationProperty().addListener(new TotalDurationListener());
    I can image that the mediaplayer can "host" several objects somewho media and the listener is called as soon as a new media will be added to the mediaplayer in order
    the calculation of the total time.

    When this listener is exactly called and is there any other way to get the total length of the mp3 file?


    Here is a minimal example that should work without any external libs

    package de.hauke.schwimmbad.application.playground;
    
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.File;
    import java.util.ArrayList;
    import java.util.List;
    
    import javafx.application.Platform;
    import javafx.beans.property.ReadOnlyObjectWrapper;
    import javafx.embed.swing.JFXPanel;
    import javafx.scene.Scene;
    import javafx.scene.layout.BorderPane;
    import javafx.scene.media.Media;
    import javafx.scene.media.MediaPlayer;
    import javafx.scene.paint.Color;
    import javafx.util.Duration;
    
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.UIManager;
    
    public class Testing10 extends JFrame {
    
         private MediaPlayer mediaPlayer;
    
         private final ReadOnlyObjectWrapper<MediaPlayer> mediaPlayerWrapper = new ReadOnlyObjectWrapper<MediaPlayer>(
                   this, "mediaPlayer");
         
         public static void main(String[] args) {
              try {
                   UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                   new Testing10();
              } catch (Exception ex) {
                   System.out.println(ex);
              }
         }
         
         public Testing10() {
              super();
    
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    
              setLayout(null);
              setSize(500, 500);
              setTitle("Testing");
    
              setLocationRelativeTo(null);
              setResizable(false);
    
              JButton button = new JButton("Scan");
              button.setBounds(10, 10, 150, 30);
              add(button);
              button.addActionListener(new ActionListener() {
    
                   public void actionPerformed(ActionEvent arg0) {
                        scan();
                   }
              });
    
              final JFXPanel fxPanel = new JFXPanel();
              fxPanel.setBounds(30, 80, 300, 300);
              add(fxPanel);
    
              Platform.runLater(new Runnable() {
                   public void run() {
                        initFX(fxPanel);
                   }
              });
              setVisible(true);
         }
    
         
         
         
         private void scan() {
              File directory = new File("C:\\dev\\mp3");
              List<File> mp3Files = new ArrayList<File>();
              
              for (File file : directory.listFiles()) {
                   if(file.getName().endsWith("mp3")) {
                        mp3Files.add(file);
                   }
              }
              
              for (File file : mp3Files) {
                   System.out.println(file.getAbsoluteFile());
                   getLength(file);
              }
         }
         
    
         private Duration getLength(File file) {
              if(mediaPlayer != null) {
                   mediaPlayer.stop();
              }
              
              final Media media = new Media(file.toURI().toString());
               
              mediaPlayer = new MediaPlayer(media);
              mediaPlayerWrapper.setValue(mediaPlayer);
              
              if(media.durationProperty()==null) System.out.println("durationProperty ist null");
              if(media.durationProperty().get()==null) System.out.println(".get() ist null");
              System.out.println("---> " + media.durationProperty().get().toMillis());
              
              return media.getDuration();
         }
         
         
         private void initFX(JFXPanel fxPanel) {
              BorderPane root = new BorderPane();
              Scene scene = new Scene(root, Color.ALICEBLUE);
              fxPanel.setScene(scene);
         }
    }
    The other question is why do I need a headset for the metadata to be changed in order to get the metadata?
    media.getMetadata().addListener(new MapChangeListener<String, Object>()
    Why can't I call something like
    media.getMetadata ()-> returns a map full?

    The problem of metadata is not included in the above example.


    Sorry for my English, but I hope that everyone can understand the question.

    Many greetings,
    Hauke

    The class nature of the media is that it accesses it asynchronously. This means that when you create an instance of it and then immediately question him, the data that you might want to not available yet. It's all in the Javadoc, see the doc for the media:

    The media information are obtained from asynchronously and are therefore not necessarily available immediately after the instantiation of the class. However, all the information should be available if the instance has been attached to a MediaPlayer and this player is passed to the status of MediaPlayer.Status.READY

    So you can engage the media in a MediaPlayer and then wait until he goes to the READY State and then read the length of the media.

    On your 2nd question, getMetadata() turns over a card. Loop just through him:

      for(Map.Entry entry : media.getMetadata()) {
        // etc
      }
    

    However, the same restrictions apply as with the media - you'll probably have to wait before information is available - that's why the listener approach works because it will inform you as soon as information is added to the map.

  • trying to create a movie on windows movie maker is a fast way to get the duration of the image corresponds to the duration of the music

    I'm trying to put together a dvd for my son's birthday. The problem I have is music and images equal up to the same amount of time. I'm trying to extend the length of the duration of the photo to match the length of songs. I use Windows Movie Maker. Can anyone help? There must be a quicker way to have to go to the timeline and drag... Help, please

    Thank you

    Perhaps the following mini tutorial would be
    offer something useful. You probably
    already know most of it.

    The change of setting to: Tools / Options /.
    Advanced... tab applies only to the added clips
    to the timeline * after * you change the setting.

    If you switch to view "Storyboard" and select
    all of the clips as a batch (select one and the type...
    CTRL + A)... you can add the 'Speed Up, Double.
    or "Slow down, half" effect of changing the
    duration. Simply select all clips / right click
    the effect on the menu... Choose...
    Add to storyboard table.

    'Speed Up, Double' cuts the duration of half.

    "Slow Down, half ' double life.

    These effects can be added up to six times.

    If you need finer adjustment...
    the info may be useful:

    To the timeline, you can change the
    duration for each clip manually. Move your
    pointer on on the edge of an element up to the
    you see a double arrow. Now, drag the
    double red arrow... you will see a ToolTip that
    Watch the evolution of life.

    Or... just to redo the project after changing
    the long-term: Tools / Options / Advanced
    tab.

  • How to get the duration of the Repeater height

    Hello

    I have a Repeater that can contain multiple "Text" UI components during execution.

    Now I need the total height occupied by these collective text UI elements.

    Please let me know how to do it.

    Thank you

    Amey


                   
                       
    Click = "clickHandler (Event.currentTarget.getRepeaterItem ());" »
    mouseOver = "clickHandler (event.currentTarget.getRepeaterItem ());" »
    buttonMode = "true" useHandCursor = "true".
    />
                   

               

    If you change

    Click = "clickHandler (Event.currentTarget.getRepeaterItem ());" »

    by

    Click = "clickHandler (Event.currentTarget); »

    Then you will get the text object and can access the .text property in your

    private void clickHandler(item:Object):void {}

    Item.Text;

    }

    to get the index in the VBox, just for this with the same code as above:

    point skillGroupsVBOX.getChildIndex as DisplayObject; point must be the text returned by event.currentTarget object

    [Hope this is understandable:]

  • get the duration without creating additional flash

    Given a flash animation that I don't author and who is just a quicktime, mpg or transcoded movie wmv to flv/vp6, I need to get the time via javascript.

    -I'd rather not have to edit the film (i.e. Add an actionscript)
    -If this is not possible, because I am a novice in flash authoring what is the best way to do it.

    Thank you

    Jeroen Wijering FLV Player solves this problem. Is not quite as I prefer, but it does the job and has lots of cool features.

    See:
    http://www.jeroenwijering.com

    When loading an FLV video and after that he started playing, he calls a "more" javascript callback function that you provide to us. Among items being passed to this callback is the 'time' with 2 parameters current position and time remaining.

    Here is a page that shows and documents the JavaScript API (if look you at the page source, or set breakpoints with Flashbug, many turns).

    http://www.jeroenwijering.com/extras/JavaScript.html

    This page: http://www.jeroenwijering.com/extras/readme.html

    Contains documentation on the 'flashvars' control variables which are used to control the behavior of the player, including the enablejs option which turns on the javascript API.

  • Script for the duration of the model

    I have 'Hand Comp' with 30 seconds of time inside and out:

    A movie called "forest".

    I want to replace the sequences that can vary from time, being higher, as the 59 seconds, for example, so I need the "main Comp", also adjusts feet length. "Main Comp" stay with 59 seconds.

    Thank you.

    I have try this:

    var app.project.activeItem = myComp;

    myComp.duration = myLayer.property("Footage").duration

    That has not worked because the objects layer do not have a duration attribute. The calculation must be done manually. Normally, you will take the layer out-point less the inPoint to get the duration of the layer.

    var myComp = app.project.activeItem;
    var myLayer = myComp.layer(1);    //Assumes layer 1 is your choice
    myComp.duration = (myLayer.outPoint - myLayer.inPoint);    //Assumes the layer is normal and not reversed
    

    It will not be the bulletproof but because a layer can also be inverted, which place him inPoint after the out-point, so you need reverse the order. You say inPoint less the out-point.

    var myComp = app.project.activeItem;
    var myLayer = myComp.layer(1);    //Assumes layer 1 is your choice
    myComp.duration = (myLayer.inPoint - myLayer.outPoint);    //Assumes the layer is reversed
    
  • Get the beginning and the duration of the clip currently rendered?

    Hello

    I have created an effect of After Effects for use in Premier Pro.

    Made Duding I need to know the beginning and the duration of a clip.

    The problem is that if my effect is applied several times on the timeline, clipStart and clipDuration information are sometimes returned to a different clip (not the one made).

    In the routine of rendering:

    A_long clipDuration, clipStart.

    ...

    ...

    / * Only Premiere Pro supported.
    */
    If (in_data-> appl_id == 'Adjusted') {}
    UtilitySuite AEFX_SuiteScoper < PF_UtilitySuite8 > =
    (AEFX_SuiteScoper < PF_UtilitySuite8 >)in_data,
    kPFUtilitySuite, kPFUtilitySuiteVersion8,
    out_data);

    If (err == PF_Err_NONE) {}
    Err = (utilitySuite-> GetClipDuration (-> effect_ref, & clipDuration in_data));
    }

    If (err == PF_Err_NONE) {}
    Err = (utilitySuite-> GetClipStart (-> effect_ref, & clipStart in_data));
    }

    How can I get the good clip beginning and duration of the returned item?

    Thank you.

    PF_OutFlag_WIDE_TIME_INPUT changed output indicators. This version corrects information early and clip duration.

  • Set the type of array on the duration... Get the error...

    My requirement is
    I try to set the table on the duration type. that is ortf_in_table_tbl {noformat} ({noformat} i).field_position_rec.ortf_segment_field_name to the code below.

    But when I'm running code below and get below error:
    DECLARE
       CURSOR field_position_cur (p_table_name VARCHAR2)
       IS
          SELECT xosf.field_name, xosf.starting_position, xosf.field_length
            FROM record_types xort, record_segments xors, segment_fields xosf
           WHERE xort.record_type_id = xors.record_type_id
             AND xors.record_segment_id = xosf.record_segment_id
             AND xosf.table_name = p_table_name;
    
       CURSOR raw_data_cur
       IS
          SELECT *
            FROM raw_data;
    
       TYPE raw_data_typ IS TABLE OF raw_data_cur%ROWTYPE
          INDEX BY BINARY_INTEGER;
    
       TYPE table_typ IS TABLE OF emp%ROWTYPE
          INDEX BY BINARY_INTEGER;
    
       table_tbl      table_typ;
       raw_data_tbl   raw_data_typ;
    BEGIN
       OPEN raw_data_cur;
    
       LOOP
          FETCH raw_data_cur
          BULK COLLECT INTO raw_data_tbl;
    
          EXIT WHEN raw_data_tbl.COUNT = 0;
    
          FOR i IN raw_data_tbl.FIRST .. raw_data_tbl.LAST
          LOOP
             FOR field_position_rec IN field_position_cur ('EMP')
             LOOP
                table_tbl (i).field_position_rec.field_name :=
                   SUBSTR (raw_data_tbl (i).raw_line_text,
                           field_position_rec.starting_position,
                           field_position_rec.field_length
                          );
                DBMS_OUTPUT.put_line
                        (   'table_tbl (i).field_position_rec.field_name '
                         || table_tbl (i).field_position_rec.field_name
                        );
             END LOOP;
          END LOOP;
       END LOOP;
    
       CLOSE raw_data_cur;
    
    FORALL i IN table_tbl.FIRST .. table_tbl.LAST
          INSERT INTO emp 
               VALUES (table_tbl (i)
                      );
       COMMIT;
    
    EXCEPTION
       WHEN OTHERS
       THEN
          DBMS_OUTPUT.put_line ('OTHERS ' || SQLERRM);
    END;
    
    
    **ORA-06550: line 61, column 52:**
    **PLS-00302: component 'FIELD_POSITION_REC' must be declared**
    **ORA-06550: line 54, column 13:**
    **PL/SQL: Statement ignored**
    Here field_position_cur gives me the name of column for the table EMP (i.e. field_position_rec.field_name) and field_position_cur give start and length to calculate the value of the column
    i.e.
     SUBSTR (raw_data_tbl (i).raw_line_text,
                           field_position_rec.starting_position,
                           field_position_rec.field_length
                          )
    But it gives me error. We're on the 10g database.

    Please suggest the solution for it.

    Published by: BluShadow on January 12, 2012 08:21
    addition of {noformat}
    {noformat} and other tags to make it readable.  Please read {message:id=9360002} and learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

    Yes. Really recommend do you the suggested and especially medium provided the code and dynamic linking and loose curls.

  • newObject ("XML") get 'Handler not defined #newObject' on the duration

    I'm using Director 11.5.  This code works fine in debugging and development mode, but as soon as I put it in a projector, I get an error.  The code reads:

    gXML = newObject ("XML")

    gXML.load ("update_200xml")

    Using the _player.debugPlaybackEnabled = TRUE, I see that the first line is where the script gives error.  I have the included XMLParser.x32 in my projector.  The projector works on Windows 7.

    If everything works fine and all the code is running in development mode.  As soon as I create a projector and run it, I get the message:

    "Undefined Manager."

    #newObject

    Script error: continue? »

    Any advice on how to get this corrected?

    Thanks in advance!

    newObject is actually a method of Flash, so you will also need to include the Flash Asset Xtra in / next to your projector.

    (Because you create a global script rather than using a Flash sprite, the xtra is not added automatically to your xtras movie.)

  • CAN´t set the duration of an appointment in the iCloud between Outlook 2013 calendar

    Hello, I have can´t set the duration of an appointment in the iCloud calendar between Outlook 2013, when I want to set the time, it just made me put ¨am¨, I can´t create it after midday (¨pm¨).

    Hope someone of you can help me.

    THX

    Hey Bernaragon,

    I understand that you are having problems with the creation of a calendar to your iCloud account in Outlook. Let's see if we can get smooth it.

    For most of the problems with iCloud for Windows can be solved in two steps of troubleshooting. The first being to toggle synchronization of calendar and then put it back in the iCloud for Windows app. The second being would ensure that the Add on Outlook to iCloud is turned on. Take a look at the article below for more details on how to do these steps.

    Get help using Outlook with iCloud for Windows
    https://support.Apple.com/en-us/HT204571

    Let me know helps fifths.

    Take it easy

  • Get the double trigger using CreatePulseChannelTime on a single machine

    I use DAQmx in c# to monitor a TTL (wide 3ms) signal, wait a while and then send a pulse on the line of meter output (wide 1ms). I put it to be redeclenchables so that for each input pulse, I get an output pulse after the waiting period. It works like a charm on a single machine.

    On the other hand, I get two pulse output. If I change the value of my delay, the two impulses are delayed by levels, and their interval is exactly the width of the input pulse. Looks on the scope of the trigger occurs on both fronts and, even if I asked only the Levant.

    As a hack, I extends the duration of the pulse to 3ms output, so that he survived the trigger pulse. This solved the problem, but is not sustainable in the long term because it limits the rate, I can do this operation.

    Everyone knows this behavior, or have clues? My understanding is that the task will not retrigger until he sees another front, and that the falling edge will not retrigger it.

    Oh - we exchanged the PCI-6052E card by a new one, but the problem remains. This problem will NOT occur on a machine we built 6 months ago.

    Here is the code:

    _triggerTask.COChannels.CreatePulseChannelTime (_cameraCounterLine, string. Void, COPulseTimeUnits.Seconds, COPulseIdleState.Low, 0, _delaySecs, triggerLengthSec);

    _triggerTask.triggers.StartTrigger.ConfigureDigitalEdgeTrigger (triggerLine,

    DigitalEdgeStartTriggerEdge.Rising);

    _triggerTask.triggers.StartTrigger.Retriggerable = true;

    generate 1 pulse

    _triggerTask.timing.ConfigureImplicit (SampleQuantityMode.FiniteSamples, 1); _triggerTask.Control (TaskAction.Verify);

    _triggerTask.start ();

    Thank you-

    John Duddy

    We just thought to it - the Heisenberg uncertainty principle applied to the classical mechanics. The problem disappeared when we disconnected the oscilloscope. Without the connected frame, we had to deduce the problem disappeared (not), but I am convinced. It was the same scope, we used the last time, too.

    It's a good lesson - when occur contradictions, check your premises.

  • How to get the peak value

    Can I know how to get the 2 peak values v1 and v2 and 2 duration times t1 t2.

    Since there is a small amplitude noise, difficult to use the Max simplely.

    May need to use a filter such as wavelets or TREE to Denoise it first. Can I know how to use, any Toolbox in labview. How do the curve smooth first.

    Thank you.

    I can't watch your vi now (I'm at work), but if your signals are long enough, you might consider a median filter.  You can set the number of points before and after use.  I found that it is useful for some smoothing problems (not all).

  • How to get the bar display of title in pixels text length?

    Hello

    Does anyone know how to get the length of the title bar text (in pixels) display?  Just to clarify, that's what I'm looking for:

    I don't see a CVI function for this.  The attribute ATTR_TITLE_FONT for GetPanelAttribute (...) is only valid for the panels of the child which prevents me from using the GetTextDisplaySize (...) to get the size.  Dive into the Windows SDK I can not even find an answer here.  Any ideas?  Thank you.

    Figured out how to do this.  Go to the SDK to get the font properties - is kind of nonobviousness.  But once you have the font properties, you can create a font of meta in CVI, with properties, and once you have the meta font you can use GetTextDisplaySize (...) to get the size.  For any future reference:

    //define a NONCLIENTMETRICS structureNONCLIENTMETRICS ncmtest;//We have to set the cbSize parameter to the size of the passed structure before retrieving it
    ncmtest.cbSize = sizeof(NONCLIENTMETRICS);
    //Get NONCLIENTMETRICS structure
    result = SystemParametersInfo(SPI_GETNONCLIENTMETRICS, 0, &ncmtest, 0);
    
    //copy the title font name to a c-string
    while(ncmtest.lfCaptionFont.lfFaceName[i] != 0)
    {
        thefont[i] = (char)ncmtest.lfCaptionFont.lfFaceName[i];
        ++i;
    }
    
    //null terminate
    thefont[i] = '\0';
    
    //create meta font with title font properties.  lfWeight & 0x700 indicates bold.  CreateMetaFontWithCharacterSet() doesn't recognize DEFAULT_CHARSET so we replace it with VAL_NATIVE_CHARSET(?).
    uir_status = CreateMetaFontWithCharacterSet ("TheTitleFont", thefont, abs(ncmtest.lfCaptionFont.lfHeight), ncmtest.lfCaptionFont.lfWeight & 0x700 ? 1 : 0, ncmtest.lfCaptionFont.lfItalic, ncmtest.lfCaptionFont.lfUnderline, ncmtest.lfCaptionFont.lfStrikeOut, 0, ncmtest.lfCaptionFont.lfCharSet == DEFAULT_CHARSET ? VAL_NATIVE_CHARSET : ncmtest.lfCaptionFont.lfCharSet);
    
    //get titlebar text
    uir_status = GetPanelAttribute (panelhandle, ATTR_TITLE, thetext);
    //get title bar length
    uir_status = GetTextDisplaySize (thetext, "TheTitleFont", &height, &width);
    

    I have a 79 for the duration of the screenshot above.

  • In Windows Movie Maker, problem: Change title, impossible to get the trim handle to drag and to extend the deadline.

    In Windows Movie Maker HELP "FOR THE DURATION of the CHANGE" 2. ' "says to" select title you want to change the duration. How to "choose" the title? The title as a RECOVERY when the arrow is hovering a square bubble appears showing the title and 6.7 seconds. No trim handles appear. A high blue and the low line components appear, but I don't know what that means because it is not graphic design help pages. I would like to extend the superposition of the title from 6.7 seconds to 36 seconds. Please give me some help you can. It's frustrating!

    Thank you

    Ginger B

    Hi Ginger B,.

    Windows operating system you are using?

    If you use Windows Vista, you can read the following article and check if it helps.

    Getting started with Windows Movie Maker

    Hope this information is useful.

  • I would like the encoder of data as well as the duration of treatment in a table

    Hello

    I want to draw my value encoder of data as well as the duration of treatment simultaneously in a table by getting data in real time. Please help me with solutions or ideas.

    Hi Jean Claude,

    did you think of the VI you want to create - before actually creating it?

    -Both your DAQAssistents started '1 value on demand' but you convert the thread of DDT in 2D arrays! Why? Why don't you convert a scalar - because that's what carries the thread of DDT!

    -Why did you "insert a table", when you want to add to (or enhance) a table? Use rather BuildArray!

    Having time values too you need to calculate: subtracting the start time of hour:

Maybe you are looking for