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

Setting format and format options in Output module settings for render queue item

New Here ,
Jul 16, 2008 Jul 16, 2008
Hello,

I am unable to set the "Format" and "Format options" for video in output module settings programatically using After effects apis.
I referred the after effects cs3 sdk guide for the apis.

I find apis for all other options in the "outputmodule settings " like :
AEGP_SetEmbedOptions
AEGP_SetOutputChannels
AEGP_SetStretchInfo
AEGP_SetSoundFormatInfo

But there is no api listed for setting the options available in the "Format" tab and "Format options" tab.

The "Format" tab and "Format options" tab is available in the dialog that opens when user clicks on the Output module settings for the render queue item.

The format tab when clicked shows a drop down list with aff different formats. By default "Video for Windows" is set.
The drop down list contains following format options
Adobe Clip Notes
Adobe Flash video
...
Quicktime movie
...
Video for Windows
...

I need to be able to set the "Quicktime movie" option in the Format tab programmatically and then set the compression type as "Animation" in the compression settings programatically using the api functions available in AE CS3 SDK
Please suggest the suitable api to do so.
I need to write my own plugin to export to Quicktime movie using the after effects apis.
I follow below steps to do so.
1. AEGP_InsertMenuCommand and add export option to AE with my own plugin name
2. In the command hook, select active item using AEGP_GetActiveItem
3. Add it to render queue
4. Set the output module settings for 0 th output module using
suites.OutputModuleSuite1()
5. Use different functions from suites.OutputModuleSuite1() to set the output module settings like EmbedOptions,StrechInfo etc.
6. Till this step, I am doing it right. But I am not able to find any api for setting Format options using suites.OutputModuleSuite1()

I also checked all other suites available for setting FormatOptions but no luck.
Please help.

Thanks,
-Namita
TOPICS
SDK
1.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
New Here ,
Feb 19, 2014 Feb 19, 2014

Hi Namita,

I am experiencing the same problem.

I am using AE CC SDK, and I am unable to change the outputmodule format to any of the other movie format types (mov, mpg, flv, etc.).

It is always set to "avi"

I even compiled and ran the Queuebert example in the SDK, and there I get the same problem: the path extension is always left on ".avi"

Does anyone know how to change this?

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 ,
Feb 19, 2014 Feb 19, 2014

just do it with AEGP_ExectueScript(). you'll be able to choose an output

module by name via javascript.

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
New Here ,
Feb 19, 2014 Feb 19, 2014

Thanks Shachar

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
Advocate ,
Jul 05, 2021 Jul 05, 2021
LATEST

Hi, did you ever find a simple way to fix this?  I'm not good with javascript.

 

I can't change the default output module.    using Ctrl + selection, doesn't work.  

 

Thanks,

Letty

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