How to edit MPEG2 file
By Olga Krovyakova - 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. Selected fragments are marked with orange color. Fragments marked as 'cut off' are colored with white color.
Examples of fragments are provided in table below:
|Color of Fragment
|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 highlight 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 highlight means you can edit it (delete, set it to be cut off, etc.)
Control Panel contains main tools for file processing.
Description of window elements is provided in table below.
|Button "Add Marker": Adds a new marker to current slider cursor position.
|Button "Remove Marker(s)": Removes a current marker or fragment.
|Button "Keep On Selected Fragment": Sets a fragment type.
|Button "Cut Off Selected Fragment": Sets a fragment type.
|Button "Invert": Inverts time line fragments.
|Button "Size": Calculate result file size (is available for AVI, MP3).
|Button "Trim": Starts trimming or Batch Processing (if batch queue has any task).
|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": Increases a slider timeline resolution for more comfortable editing neighbor markers (*).
|Button "Zoom Out": Decreases a slider timeline resolution (*).
|Scale rate field, shows a current slider timeline resolution rate. "1X" means an original resolution without zooming.
(*) - 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 Open Media File command in the File menu.
2. Select the required file.
3. Select the checkbox to prevent the immediate file indexing. If the checkbox is deselected, the one of the windows shown in Figure 2.1 or Figure 2.2 will appear.
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.
If the Don't index now checkbox is deselected, the window shown in Figure 2.1 will appear.
If the selected file already has MPEG2 index, the window shown in Figure 2.2 will appear. To use the existing MPEG2 index file press Yes. To reindex the MPEG2 file press the No button.
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 Set New 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.
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. In the Preferences window (Figure 4) select the name of action in the Action list, set the required key or key combination in the HotKey edit box and click the Set button. The Restore Default button is used for setting the predefined shortcuts.
7. Select the fragment you want to cut off from the movie by clicking your left mouse button.
8. Click the button to mark the selected fragment as 'cut off'. The selected fragment will be marked with white color (see Basic Terms).
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 Trim 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.
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.
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 email@example.com if you have any questions. She will gladly assist you!