How to edit MPEG2 file
By Olga Krovyakova - modified March 4, 2024, created March 27, 2019
You want to edit your movies? So SolveigMM Video Splitter will be useful for you! This product allows to delete unnecessary fragments from video file without video/audio quality loss. This guide explains how you can edit MPEG2 file. The MPEG2 file editing is performed accurate within the frame. Full video conversion is not used, so the quality of the video file is saved.
Understanding of some basic terms used in this guide will help you to start using SolveigMM Video Splitter in most comfortable way.
Marker is set to a current cursor position. | |
The selected marker is highlighted with yellow color. |
Markers can be added or deleted. Such operations as deleting and positioning are applied to the selected markers only.
Fragment is a part of video (or audio) file limited by two markers to be removed or kept in a final movie, e.g. commercial block you want to cut off. Fragments marked as 'cut off' are colored with brown-red color.
Examples of fragments are provided in table below:
Color of Fragment | Description |
---|---|
This fragment was set to be deleted. It will not be presented in final movie | |
This fragment was set to be kept. It will be presented in final movie | |
This fragment was set to be deleted. It will not be presented in final movie. Yellow slider on it means you can edit it (delete, set it to be kept, etc.) | |
This fragment was set to be kept. It will be presented in final movie. Yellow slider on it means you can edit it (delete, set it to be cut off, etc.) |
Control Panel contains main tools for file processing.
Window Element | Description | Shortcut Key |
---|---|---|
Button "Add Marker": Adds a new marker to current slider cursor position. |
M
|
|
Button "Remove Marker(s)": Removes a current marker or fragment. |
Delete
|
|
Button "Invert": Inverts time line fragments. |
I
|
|
Button "Set audio silence": Sets the audio silence for the selected fragment. | ||
Button "Save": Starts trimming or Batch Processing (if batch queue has any task). |
Ctrl+T
|
|
Edit box of a left marker cursor time position. You can edit this value by manually. | ||
Edit box of a right marker cursor time position. You can edit this value by manually. | ||
Button "Zoom In/Out": Increases/descreases a slider timeline resolution for more comfortable editing neighbor markers (*). |
Num+ Num- |
|
Button "Browse output file(s)": opens folder in the File Explorer with the output file. | ||
|
Audio off/on: turns off/on sound of the whole video track Story board or audio wave off/on: turns off/on the story board or audio wave
|
|
(*) - To view timeline areas after Zoom In you can use a scroll bar (below a timeline slider) and "Alt + Left arrow" and "Alt + Right Arrow" hot keys. |
In our example we will edit initial MPEG2 file by cutting off two fragments in one pass.
1. Click the button to open a file for editing. You can also use the Add Media Files... command in the File menu.
2. Select the required file.
3. Select the checkbox to prevent the immediate file indexing.
Note: The file indexing ensures that the splitting process will be performed accurate within the frame. The splitted fragment will start with exactly that frame on which the beginning marker was placed. And the last frame of the splitted fragment will be the frame on which the ending marker was placed
4. Click the button to open the selected file.
Figure 1
Move the file from the Media to the timeline.
5. Find the beginning of the first part of your movie using Video slider.
6. Click the Add marker button. You can also add the marker selecting the Add Marker command of the contextual menu or using the [M]key (see Note). Then add the marker at the end of the fragment. Markers divide movie into several fragments (see Basic Terms). In our example we divide our movie into four fragments by adding markers in the required places.
Figure 3
Note: Using the shortcut keys you can do some tasks more quickly. The list of shortcut keys is provided in the SolveigMM Video Splitter User Guide. To change predefined shortcut keys, select the Preferences command of the Tools menu. You can set your own hot key for each command specified in the Preferences / Hotkey Settings tab.
Figure 4
Set markers for all other fragments for saving or deleting.
7. Move the mouse cursor to the fragment you want to cut off from the movie.
8. Click the "scissors" button to mark the selected fragment as 'cut off' that will be arised under the fragment. The selected fragment will be marked with brown-red color (see Basic Terms).
Figure 5
9. Select other fragments you want to cut off from the movie. In our example we marked the last fragment as 'cut off' as described in 8.
10. Click the Save button to start the splitting process.
Note: SolveigMM Video Splitter allows saving and loading the project files. You can save the SolveigMM Video Splitter project file by using the Save Project As... command of the File menu. Information about markers, their positions, and fragment types will be saved to the project file. Using the Load Project... command of the File menu you can load the previously saved project and continue the file editing.
Figure 7
11. Enter the new file name in the appeared Save As window.
12. Click the Save button. You will see the current progress of splitting.
The new saved file will be a part of your initial MPEG2 file and consist of two fragments. Two fragments selected as 'cut off' will be deleted from the movie.
When the editing process will be completed browse the output file by clicking the appropriate button.
- https://www.solveigmm.com/en/howto/how-to-edit-wmv-file-with-video-splitter/
- https://www.solveigmm.com/en/howto/how-to-edit-mp3-file-with-video-splitter/
Olga Krovyakova is the Technical Support Manager in Solveig Multimedia since 2010.
She is the author of many text and video guidelines of company's products: Video Splitter, HyperCam, WMP Trimmer Plugin, AVI Trimmer+ and TriMP4.
She works with programs every day and therefore knows very well how they work. Сontact Olga via support@solveigmm.com if you have any questions. She will gladly assist you!