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

Aktuelle Uhrzeit

Community Beginner ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

Hallo zusammen,

ist es möglich einen Timer zu erstellen, welcher beim Aufruf auf die, dann zum Startzeitpunkt, aktuelle Uhrzeit aufsetzt?

Danke und Gruß

Dietmar

TOPICS
Expressions , Scripting

Views

436

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 ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

Skripte und Expressions unterstützen ganz normal die date() Funktionen und wenn's richtig angelegt ist, sollte sich das dann auch jedesmal beim Öffnen des Projektes aktualisieren lassen.

 

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
Community Expert ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

Wie Mylenium sagt, sollte das bei Skripten mit Hilfe von JavaScripts date funktionieren. Bei expressions würde ich dringend davon abraten. Hier würde die aktuelle Uhrzeit ja bei jedem Rendern eines Frames, bzw. bei jeder Auswertung der Expression verändern. Da After Effects aber probiert, die Auswertung der Expressions zu optimieren (evtl cachen etc) ist nicht vorhersehbar, wann die Expression für welchen Frame ausgewertet wird und so können hier sehr schnell Probleme entstehen.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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 ,
Aug 11, 2020 Aug 11, 2020

Copy link to clipboard

Copied

Hallo Mylenium, hallo Mathias,

 

danke für die schnelle Antwort. Das ist der Code der Expression mit dem das versucht habe:

const heute = new Date();
ActMinutes = heute.getMinutes();
ActSekunde = heute.getSeconds();
value=ActMinutes*360/60;

Das funktioniert auch grundsätzlich. Aber leider nur einmal (beim Öffnen des Projektes oder wenn die Expression geändert wurde). 😢 D.h. wenn das Projekt bei Minute 58 gerendert wurde, dann ist das auch hinterlegt. Könnte man evtl. die Uhrzeit in eine Textdatei schreiben und diese beim Start der Animation einlesen? Evtl. sogar über eine Batch-Datei.

Danke und Gruß

Dietmar

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
LEGEND ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

Na dann einfach JSON und die JSON-Datei dynamisch über irgendeinen Webdienst aller soundsoviel Sekunden oder Minuten aktualisieren lassen. Erfordert aber unter Umständen trotzdem, die Datei manuell zu reloaden. AE ist auf der Strecke nicht sehr dynamisch und diese ganze Konstruktion ziemlich fehleranfällig.

 

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
Community Expert ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

Texte in After Effects mit einer JSON-Datei verknüpfen kannst Du ganz einfach mit meinem kostenlosen Tool mamoworldJSON

 

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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 ,
Aug 12, 2020 Aug 12, 2020

Copy link to clipboard

Copied

Hallo Mylenium, hallo Mathias,

danke euch beiden. Werde es heute Abend versuchen und das Ergebnis posten.

 

Gruß

Dietmar

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 ,
Aug 13, 2020 Aug 13, 2020

Copy link to clipboard

Copied

Hallo Mathias,

ich habe es zwar noch nicht installiert. Ich kämpfe noch mit den Lizenzbedingungen (mein Englisch ist sehr begrenzt). Aber wenn ich es in dem 1. Video richtig verstanden habe, dann ist die Verknüpfung der JSON-Datei "nur" für das Engineering in AE relevant und nicht für die Ausführung der gerenderten Runtime (z.B. mp4-Datei). Was ich bezwecken wollte ist, dass wenn man die mp4 startet, die dann aktuelle Uhrzeit als Startzeit des Timers nutzen kann. Und das (glaube ich) geht nicht, richtig?

 

Danke und Gruß

Dietmar

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 Expert ,
Aug 14, 2020 Aug 14, 2020

Copy link to clipboard

Copied

Richtig, das geht in der Tat nicht. Ein mp4-Video ist grundsätzlich ein Video mit festem Inhalt und bietet keine Optionen, um Inhalte interaktiv zu verändern. Du mußt also in jedem Fall für jede Uhrzeit ein neues Video exportieren.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

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 ,
Aug 14, 2020 Aug 14, 2020

Copy link to clipboard

Copied

LATEST

ok, danke für die Antwort und Untertstützung. 👍 Kann man nichts machen. 🤷‍:male_sign:

 

Gruß und schönes Wochenende

Dietmar

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