Help Center> Media Processing Center> FAQs> Transcoding> How Do I Overwrite the Input Video File with the Output Video File?

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 about how to upload a video file, see Uploading Media Files.
  2. Call the API for creating a transcoding task. Set output to 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.