The ogmtools allow users to display information about (ogminfo), extract streams from (ogmdemux), merge several streams into (ogmmerge), and split (ogmsplit) Ogg files. Supported stream types include video streams from AVIs or Ogg files and Vorbis audio from Ogg files. The resulting files can be played back with mplayer or with the OggDS Direct Show filters under Windows.
mkvtoolnix is a set of tools that allow users to display information about, extract streams from, merge several streams into, and split Matroska media files. Supported video stream types include streams from AVIs, Ogg/OGM, RealVideo, MP4 files, and MPEG program streams as well as verious elementary streams (h264/AVC, MPEG1/2, VC1, Dirac). Supported audio formats include AAC, (E)AC3, DTS/DTS-HD, FLAC, MP2, MP3, RealAudio, and Vorbis. Several subtitle formats are supported, including SRT, SSA, ASS, VobSub, and many others.