Avidemux is a graphical tool to edit video. It can open AVI, openDML, MPEG, Nuppelvideo, and BMPs. Most common codecs are supported (M-JPEG, MPEG, DivX, Xvid, huffyuv, WMA, etc.) thanks to libavcodec and libmpeg2. Video can be edited, cut, appended, filtered (resize/crop/denoise), and re-encoded to either AVI (DivX/Xvid) or MPEG 1/2.
http://avidemux.sourceforge.net/ http://freshmeat.net/projects/avidemux/
http://fixounet.free.fr/avidemux/download.html
avidemux2 RPM packages for Red Hat/Fedora http://dag.wieers.com/packages/avidemux2/
Avidemux can read (indexed) mpeg file, both elementary stream and program stream (i.e. vob files for example) thanks to mpeg2dec
Internally, the mpeg are seen as frames with a fake codec (MPEG).
If you save the file in copy mode, you will end up with mpeg inside avi, but since it is non standard, only avidemux will be able to read it back.
For video, we will use File->Save raw stream. This menu entries will ask the demuxer the raw data, bypassing the mpeg decoding step. It will also reconstruct the PTS/DTS logic to have a compliant mpeg stream.
Now you have a foo.m1v or foo.m2v mpeg1/2 elementary stream which should be synced with foo.mp2.
The best is to use tcmplex from transcode to mux them back together.
![]() | |
There is two importants things to consider here :
|