Motivation:
- You have MP4 files with unwanted portions. You want to trim these portions.
- You want to cut a MP4 file into files with equivalent length for uploading to specific storage that limits length of an uploaded video.
- You want to combine multiple MP4 files into single file for copying to specific storage in a single upload.
Trimming MP4 file:
- Download XMedia Recode.
- Unzip the downloaded package.
- Click on the XMedia Recode.exe file to open the application.
- Open a MP4 file.
- Under the Format tab set
Profile = Custom
Format = MP4
File Extension = mp4 - Click the Video tab and set Mode = Copy on the middle panel.
- Click the Audio tab and set Mode = Copy on the middle panel.
- Click the Filters/Preview tab and set Start Time and to (End Time) value text boxes.
- Click the Add to queue button (with the + icon) on the tool bar.
- Click the Encode button on the tool bar.
Splitting MP4 file to multiple files with equivalent length:
-
- Download XMedia Recode.
- Unzip the downloaded package.
- Click on the XMedia Recode.exe file to open the application.
- Open a MP4 file.
- Under the Format tab set
Profile = Custom
Format = MP4
File Extension = mp4 - Click the Video tab and set Mode = Copy on the middle panel.
- Click the Audio tab and set Mode = Copy on the middle panel.
- Click the Filters/Preview tab and specify appropriate time range for each file, for example from 00:00:00:0000 to 00:09:00:0000.
- Click the Add to queue button (with the + icon) on the tool bar.
- Click the Encode button.
Repeat the procedure for the same file with different time ranges.
For example use time range from 00:09:00:0000 to 00:18:00:0000 for creating the second file, then time range from 00:18:00:0000 to 00:27:00:0000 for creating the third file, etc.
Combining multiple MP4 files into single MP4 file:
- Download ffmpeg.
- Unzip the downloaded package.
- Copy MP4 files to the bin folder.
- Create vidlist.txt with the content below in the bin folder.
file 'Part 1.mp4' file 'Part 2.mp4' file 'Part 3.mp4' file 'Part 4.mp4' file 'Part 5.mp4' file 'Part 6.mp4'
4. Open Command Prompt, navigate to the bin folder and execute the command below.
ffmpeg -f concat -safe 0 -i vidlist.txt -c copy output.mp4
(Visited 189 times, 1 visits today)