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

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

Guest
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

TOPICS
Expressions
16.7K
Translate
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 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

Translate
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
Guest
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?

Translate
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 Expert ,
Nov 25, 2011 Nov 25, 2011

Like this, maybe?

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

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

s

Dan

Translate
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
Guest
Nov 26, 2011 Nov 26, 2011
LATEST

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

Translate
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