Help Center/ Media Processing Center/ FAQs/ API and SDK Usage/ How Do I Call a Transcoding API to Specify an Output File Name?
Updated on 2023-08-25 GMT+08:00

How Do I Call a Transcoding API to Specify an Output File Name?

You can call the API for creating a transcoding task. Configure the transcoded file name parameter output_filenames and the packaged file name parameter file_name.

  • output_filenames: indicates the name of an output file. Each output file has a name. If there are multiple output files, their names must be in sequence of the template ID array. If this parameter is configured, the output file is named after this parameter. Otherwise, the output file is named in the default format.
  • file_name: indicates the name of a packaging output file. If this parameter is configured, the output object name is object/file_name. Otherwise, the output object name is object/xxx, where xxx is specified by MPC.