PDA

View Full Version : Use FFmpeg to tag Audio files



Silvos
03-07-2011, 07:30 PM
Would it be possible to add a feature that would use ffmpeg to fetch tag info for audio files? Below is the output from the FFmpeg information dialog on one of my audio tracks.


[oma @ 003de140] max_analyze_duration reached
[oma @ 003de140] Estimating duration from bitrate, this may be inaccurate
Input #0, oma, from 'E:\Music\Korn\02.Life is Peachy\01 - Twist.oma':
Metadata:
title : Twist
artist : Korn
album : Life Is Peachy
genre : Rock
OMG_TPE1S : Korn
OMG_TRACK : 1
OMG_ALBMS : Life Is Peachy
OMG_TIT2S : Twist
OMG_TRLDA : 1996/01/01 00:00:00
composer : Korn
TLEN : 49272
Duration: 00:00:50.68, start: 0.000000, bitrate: 104 kb/s
Stream #0.0: Audio: atrac3, 44100 Hz, 2 channels, s16, 104 kb/s

It would be great if Mezzmo could scan my audio file, parse it then automatically populate track information.

Paul
03-08-2011, 08:26 AM
Mezzmo already reads the meta data from music files (album, artist, genre, track, etc.) and uses that to organize your files in your Mezzmo Library. Are you missing any meta data?

Mezzmo also reads meta data (EXIF) from photo files and meta data from video files.

Silvos
03-08-2011, 12:44 PM
None of my audio tracks imported with meta data. I was hoping mezzmo would import the tracks with the meta data from ffmpeg but this did not occur. The audio tracks are in an older format, oma. The quote in my first post is the ffmpeg information from one of the audio tracks. Let me know if you need more information.

Paul
03-08-2011, 12:54 PM
Thanks for this information. Understand now. Mezzmo does not use FFmpeg for meta data retrieval. Our current meta data engine supports all popular audio, image and video formats, but sadly not .OMA or .OMG files. We'll look into supporting these for a future version.

Silvos
03-08-2011, 01:18 PM
Thanks that would be great! Until then I think I could write up something in C# that could parse my music directory, check the files against ffmpeg, and write the result to a database. Does Mezzmo use SQLite for its database?

Paul
03-08-2011, 01:25 PM
Does Mezzmo use SQLite for its database?

Yes, it does.