I want to split a single video into two using aws mediaconvert . Is it possible..?

0

I'm trying to use AWS MediaConvert to split a single input video into multiple output clips (e.g., two parts with specific start and end times) within a single job execution.

My use case: Input: One video file (e.g., input.mp4) Desired output: Two separate video files Clip 1: From 00:00:00 to 00:01:00 Clip 2: From 00:01:00 to 00:02:00 I’ve checked the MediaConvert console, but I couldn’t find an obvious way to define multiple output clips with different input clipping settings in the same job.

Is it possible to achieve this using AWS MediaConvert in a single job, or do I need to create separate jobs for each clip?

asked a month ago51 views
3 Answers
1

Unfortunately, AWS MediaConvert does not provide a direct way to split a single input video into multiple output clips with different time ranges within a single job. The service is primarily designed for transcoding and packaging media files, rather than for complex editing tasks like splitting videos.

To achieve your desired outcome of creating two separate video files from specific time ranges of a single input, you would need to create two separate MediaConvert jobs. Each job would be configured with the same input file, but with different input clipping settings to extract the desired portions of the video.

For your specific use case:

  1. Create the first MediaConvert job:

    • Input: input.mp4
    • Input Timecode Source: Start at 0
    • Input Clipping: Start timecode 00:00:00, End timecode 00:01:00
    • Output: clip1.mp4
  2. Create the second MediaConvert job:

    • Input: input.mp4
    • Input Timecode Source: Start at 0
    • Input Clipping: Start timecode 00:01:00, End timecode 00:02:00
    • Output: clip2.mp4

While this approach requires running two separate jobs, it ensures that you get the exact clips you need from your input video. Each job will process only the specified portion of the input, which can be more efficient than processing the entire video multiple times.

If you frequently need to split videos in this manner, you might consider creating a workflow that automates the creation and submission of these MediaConvert jobs, perhaps using AWS Lambda or Step Functions to orchestrate the process.
Sources
Clip video for only one of the outputs | AWS re:Post
Tutorial: Configuring job settings - MediaConvert
Adjusting the input timeline with the input timecode source - MediaConvert

profile picture
answered a month ago
0

the above answer is accurate; you need two jobs with two separate time clipping windows.

AWS
answered a month ago
0

You may also be able to use the AWS MediaConvert passthrough function, without transcoding, if your source is I Frame encoded. Otherwise you would need to run two transcode jobs as detailed in the other responses.

Please see the following for restrictions on MediaConvert Passthrough. https://docs.aws.amazon.com/mediaconvert/latest/ug/video-passthrough-feature-restrictions.html

AWS
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions