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

Extended Script: Render in Different Resolution via extended script in h.264 or any template.How to?

Explorer ,
May 23, 2024 May 23, 2024

Copy link to clipboard

Copied

Extended Script: Render in Different Resolution via extended script in h.264 or any template.How to do it. In Render Settings of AE render there is Resolution 

  1. Best
  2. Half
  3. Third
  4. Quater

how to use them. 

 

presently my code is like this

 

function send_to_render_queue_in_ae(mainComp, data){
    item = app.project.renderQueue.items.add(mainComp)
    render_file_dir = data.invitation_order_id_dir + "/render";
    item.outputModule(1).applyTemplate("H.264 - Match Render Settings -  5 Mbps");
     if (!Folder(render_file_dir).exists){
        Folder(render_file_dir).create();
    }
    item.outputModule(1).file = new File(render_file_dir   + "/video_" + data.invitation_order_id );
   
    app.project.renderQueue.render()

    return (app.project.renderQueue.rendering)


}
TOPICS
Scripting

Views

197

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

Enthusiast , May 24, 2024 May 24, 2024

Basically the same idea as applying a template to an output module:

item.applyTemplate("template I saved that has resolution setting I want");

 

https://ae-scripting.docsforadobe.dev/renderqueue/renderqueueitem.html#renderqueueitem-applytemplate

 

Votes

Translate

Translate
Enthusiast ,
May 24, 2024 May 24, 2024

Copy link to clipboard

Copied

Basically the same idea as applying a template to an output module:

item.applyTemplate("template I saved that has resolution setting I want");

 

https://ae-scripting.docsforadobe.dev/renderqueue/renderqueueitem.html#renderqueueitem-applytemplate

 

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
Explorer ,
May 24, 2024 May 24, 2024

Copy link to clipboard

Copied

LATEST

Thank you @Paul Tuersley 

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