Help Center/ Media Processing Center/ FAQs/ Transcoding/ How Do I Overwrite the Input Video File with the Output Video File?
Updated on 2026-02-27 GMT+08:00

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

This operation is not supported on the MPC console. You can achieve this by calling APIs.

  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 the transcoding is successful, log in to the OBS console to download the output file based on its path.