• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Premiere Error trying to setCTI

Community Beginner ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

I get this error when trying to put a marker's seconds value into setCTI (line 16)

Premiere Error:

[/Tanqueray/releases/2016.10/shared/adobe/MediaCore/MediaLayer/PlayerHost/Src/VideoPlayerProxy.cpp-666]

setCTI works when I put in a value like "20.0" but it will crash if I try to input a var number.

prevMarker : function() {

  app.enableQE();

  var qeActiveSequence = qe.project.getActiveSequence();

  var CTITime = qeActiveSequence.CTI.secs;

  var activeSequence = app.project.activeSequence;

  if (activeSequence) {

       var markers = activeSequence.markers;

       if (markers) {

            var numMarkers = markers.numMarkers;

            if (numMarkers > 0) {

                 var current_marker = markers.getFirstMarker();

                 while(current_marker.start.seconds < CTITime){

                      current_marker = markers.getNextMarker(current_marker);

                 }

                 var previousMarker = markers.getPrevMarker(current_marker).start.seconds;

                 qeActiveSequence.setCTI('"'+previousMarker+'"');

            }else {

                 alert("No Markers");

            }

       }

  } else {

       alert("Select a sequence");

  }

},

What is the appropriate input for setCTI?

TOPICS
SDK

Views

430

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Mar 01, 2017 Mar 01, 2017

QE DOM is unsupported, and not recommended.

setCTI('00;34;34;21');

Votes

Translate

Translate
Adobe Employee ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

QE DOM is unsupported, and not recommended.

setCTI('00;34;34;21');

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

Thank you for your super prompt reply as always Bruce.

Sorry, I totally skipped over

sequence.setPlayerPosition(timeInTicks);

It does the exact same thing I wanted but is in the supported DOM.

Sorry for wasting your time.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 01, 2017 Mar 01, 2017

Copy link to clipboard

Copied

LATEST

From here, since I didn't mention that fact myself, it might seem like I wasted YOUR time...regardless, glad you figured it out!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines