MP3 and ID3 library/module recommendations - Python

This is a discussion on MP3 and ID3 library/module recommendations - Python ; Wondering what experiences people have had using various packages for extracting data from and manipulating mp3 files. Specifically, i need to get a song duration, which as i understand it, you extract from the framesets, as well as the typical ...

+ Reply to Thread
Results 1 to 2 of 2

MP3 and ID3 library/module recommendations

  1. Default MP3 and ID3 library/module recommendations

    Wondering what experiences people have had using various packages for
    extracting data from and manipulating mp3 files. Specifically, i need
    to get a song duration, which as i understand it, you extract from the
    framesets, as well as the typical id3 stuff like artist, album, song,
    year, etc. Ideally, i'd also like something that converts audio files
    to mp3 format.

    Looking on the the python package index, I see the following:
    - eyeD3
    - PyMedia
    - hachoir-metadata
    - libtagedit
    - mutagen

    Any others to consider?
    What are peoples comments on these?

    thanks all,
    p.


  2. Default Re: MP3 and ID3 library/module recommendations

    I use PyMedia and mutagen.

    I've found PyMedia to be excellent for creating custom mp3 files from
    line input and performing frequency/energy ****ysis. I can't say that
    I've tried to convert other audio formats to MP3 with it, but I'm sure
    it's possible. I was able to get a working binary of v1.3.7.3 for
    win32 and python 2.5 directly from the author, since I have no way to
    compile it from the source that's posted on the project website. If
    you need it, let me know.

    On the other hand, mutagen is a good lightweight utility for
    extracting and modifying all kinds of audio metadata. On mp3's, that
    includes track duration, all ID3 info, bitrate, sample rate, etc. It
    provides an easy dictionary-like interface. It supports a number of
    audio formats, but I don't believe it has conversion capability.

    Cheers,
    -Basilisk96


+ Reply to Thread

Similar Threads

  1. FAQ 8.47 How do I keep my own module/library directory?
    By Application Development in forum Perl
    Replies: 0
    Last Post: 11-12-2007, 09:03 AM
  2. Looking for ASP.Net 2.0 SupportDesk module/library
    By Application Development in forum DOTNET
    Replies: 0
    Last Post: 10-31-2007, 11:54 AM
  3. Recommendations for SWT library of chart and plot widgets?
    By Application Development in forum Java
    Replies: 0
    Last Post: 10-12-2007, 04:35 PM
  4. FAQ 8.47 How do I keep my own module/library directory?
    By Application Development in forum Perl
    Replies: 5
    Last Post: 08-02-2007, 09:11 PM
  5. module with shared library question
    By Application Development in forum TCL
    Replies: 0
    Last Post: 03-14-2007, 03:00 AM