Help Center> Media Processing Center> FAQs> Transcoding> How Do I Overwrite the Input Video File with the Output Video File?
Updated on 2023-08-25 GMT+08:00

How Do I Overwrite the Input Video File with the Output Video File?

This operation is not available on the MPC console. You can call APIs to implement this function:

  1. Upload an input video file to OBS and record the bucket name, file path, and file name. For details, see Uploading Media Files.
  2. Call the API for creating a transcoding task. Set the value of output to that of input and output_filenames to the input file name.
  3. Call the API for querying transcoding tasks. If a message indicating that the transcoding is successful is displayed, log in to the OBS console to download the output file based on its path.

Transcoding FAQs

more