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

AE : Date expression doesn't export in Media Encoder

New Here ,
Jun 23, 2021 Jun 23, 2021

Copy link to clipboard

Copied

Hello,

I write this in my sourcetext layer :

n = 1;

today = new Date(Date(0));

tomorrow = new Date(Date(0));

tomorrow.setDate(today.getDate()+n);

 

Jour = new Array(); Jour[1] = "Lundi"; Jour[2] = "Mardi"; Jour[3] = "Mercredi"; Jour[4] = "Jeudi"; Jour[5] = "Vendredi"; Jour[6] = "Samedi"; Jour[7] = "Dimanche";

 

Mois = new Array(); Mois[0] = "Janvier"; Mois[1] = "Février"; Mois[2] = "Mars"; Mois[3] = "Avril"; Mois[4] = "Mai"; Mois[5] = "Juin"; Mois[6] = "Juillet"; Mois[7] = "Aout"; Mois[8] = "Septembre"; Mois[9] = "Octobre"; Mois[10] = "Novembre"; Mois[11] = "Décembre";

 

tomorrow.getDate() + " " + Mois[tomorrow.getMonth()] + " " + Jour[tomorrow.getDay()];

 

It works when I export with After effect, but it doesn't with Media Encoder...
Just why ?

 

Thank for the help

TOPICS
Expressions

Views

158

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
LEGEND ,
Jun 23, 2021 Jun 23, 2021

Copy link to clipboard

Copied

This may simply be a limitation you have to live with. Some types of expressions simply don't work well with DynamicLink processes like AME rendering or motion graphics templates due to how they are isolated in a virtual memory container and thus cannot access all functions.

 

Mylenium

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
New Here ,
Jun 23, 2021 Jun 23, 2021

Copy link to clipboard

Copied

LATEST

Thank for the explanation, it's less frustrating 

 

Have a good day

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