Beenden
  • Globale Community
    • Sprache:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티

How to get the footage's current frame number in expression?

Gast
Nov 24, 2011 Nov 24, 2011

There are 2 layers.One is text layer,one is sequence layer.

Footage has begun from the 20th frame.

Therefore, the number of composition's current frame number and footage's frame number has shifted.

I want to show footage's frame number in text layer . not composition's frame number.

How to get the footage's current frame number in expression?

Tatsuya

THEMEN
Ausdrücke
16.7K
Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Nov 24, 2011 Nov 24, 2011

>Footage has begun from the 20th frame.

Do you mean that the footage layer has been trimmed (so that the start of the footage lines up with the start of the comp, but the first 19 frames are not visible), or moved to the left (so that frame 20 lines up with the comp's frame 0), or that the sequence actually begins with the 20th frame (at frame 0 of the comp), or something else?

Are the frame rates of the comp and the footage the same?

Dan

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Gast
Nov 24, 2011 Nov 24, 2011

lay.jpg

In this case,current frame of the comp is "0001",and the "layerA" layer refer to the 20th frame.

I want to show like "0020"(footage's frame number) in text layer.

Can you understand my explanation?

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Community Expert ,
Nov 25, 2011 Nov 25, 2011

Like this, maybe?

s = "" + (timeToFrames() + 20);

while (s.length < 4) s = "0" + s;

s

Dan

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines
Gast
Nov 26, 2011 Nov 26, 2011
AKTUELL

No... Is the number of footage direct unacquirable?

Because the number of the head of footage is various.

It is made for Expression to want to be able to acquire the reference frame number of footage automatically.

Tatsuya

Übersetzen
Melden
Community-Richtlinien
Seien Sie freundlich und respektvoll, geben Sie die ursprüngliche Quelle der Inhalte an und suchen Sie vor dem Absenden Ihres Beitrags nach Duplikaten. Weitere Informationen
community guidelines