MPGEDIT
Home
Downloads
Installation
Documentation
Test Data
Other Projects

MPGEDIT - MPEG 1 / 2 / 2.5 (MP3) Audio File Editor

mpgedit is an MPEG 1 layer 1/2/3 (mp3), MPEG 2, and MPEG 2.5 audio file editor that is capable of processing both Constant Bit Rate (CBR) and Variable Bit Rate (VBR) encoded files. mpgedit can cut an input MPEG file into one or more output files, as well as join one or more input MPEG files into a single output file. Since no file decoding / encoding occurs during editing, there is no audio quality loss when editing with mpgedit. When editing VBR files that have a XING header, mpgedit updates the output file's XING header information to reflect the new file size and average bit rate.

mpgedit operates in two modes: a command line and a curses-based, full-screen interactive shell. All editing functionality is available in both modes. The chief advantage of the interactive mode comes when using the playback feature for selection and verification of edit begin and end times, which is more rapidly performed interactively.

xmpgedit provides most of the same editing capabilities as the curses-mode mpgedit, but adds a graphical representation of the volume levels of mp3 file being being edited.

mpgedit 0.73 dev2 is released! (10/06/2007).
These noteworthy changes have been made in this release:
  • Released py_mpgedit SDK version 0.3.
  • Fixed PCM levels processing which resulted in incorrectly scaled volume display in xmpgedit PCM viewer.
For the latest production quality release, use the 0.72beta3 release. The latest release of mpgedit is 0.72 beta3, is available from the Applications Download page. 0.72beta3 release:


Screen snapshot displaying a curses session of mpgedit 0.72beta3:

Note: The curses and command line versions of mpgedit for Linux are both included in the tarball distribution.

Now available: mpgedit SDK python extension py_mpgedit 0.3beta for Linux and Windows

This development toolkit enables Python developers to utilize the core mpgedit API, providing access to mp3 file playback, editing and indexing functionality. This extension uses the Python ctypes module to wrap the mpgedit core v0.73.

Below is a sample session demonstrating playback of an mp3 file using this extension:


Python 2.5 (r25:51908, Oct  6 2006, 15:22:41)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pympgedit as mpgedit
>>> spec = mpgedit.EditSpec()
>>> spec.append('test1.mp3', '6-12')
>>> mpgedit.Index('test1.mp3').index()
>>> mpgedit.Edit(spec, 'new.mp3').edit()
>>> mpgedit.Play('new.mp3').play()
<Thread(Thread-1, started)>
>>> 
View the complete py_mpgedit extension API documentation.

mailto: mpgedit development Copyright (C) 2002-2007 Adam Bernstein Last modified: 10/05/07