This article mainly introduces the writing Python script to obtain MP3 file tag information tutorial, the code is based on python2.x, the text of the comments in detail, the need for friends can refer to the
Here's how to learn python using a Python instance program. The purpose of this program is to analyze the tag i
The following is a Python-based instance program to learn about Python. The purpose of this program is to analyze the tag information of all MP3 files and output them.
Import OS # Imports OS module, provides file path, lists files and other methods import SYS # imports the SYS module, using Sys.modules to get all the contents of the module, similar to the reflec
Compile a Python script to obtain the mp3 file tag Information
This article describes how to compile a Python script to obtain the tag information of an mp3 file. The Code is based on Python2.x. The annotations in this article are
I believe many of my friends may encounter garbled MP3 tags when playing MP3 in Linux, no matter which MP3 player is used. I usually use ex falso (an MP3 tag editor provided by quod libet) to edit tags when the
MP3 audio music tag ID3 id3v1 ID3v2 tag read information get picture JPEG BMP picture conversion (UP)MP3 file Format (ii)---ID3v2Figure: ID3V1 Tag StructureFigure: ID3V2 Tag StructureFi
, composer, album and other information, length is not fixed, expanded the id3v1 of information. ID3v1 at the end of the file, with the string "tag" as the mark, its length is fixed 128 bytes, including the singer, song name, album, Year and other information.
1. ID3v2 tags id3v2 to a total of four versions now, but popular playback software generally only supports the third edition, both id3v2.3. Each
Solve the Problem of mp3 tag garbled-Linux general technology-Linux technology and application information. The following is a detailed description. The primary solution for playing mp3 in Linux is the garbled tag of mp3. The root cause of this problem is that most of the pl
The Python instance obtains the tag information of an mp3 file and uses a python instance program to learn python. The purpose of this program is to analyze the Tag information of all MP3 files and output them.
Import OS # import OS module, provide
The following is a Python-based instance program to learn about Python. The purpose of this program is to analyze the tag information of all MP3 files and output them.
Import OS # Imports OS module, provides file path, lists files and other methods
Import SYS # imports the SYS module, using Sys.modules to get all the content in the module, similar to the reflecti
I bought an iriver MP3 a few days ago, and I have been studying its functions recently. A good function is to display the lyrics synchronously like the Winamp LRC plug-in. I don't think about this function on Winamp. It's cool on MP3.After a little research, I found that the principle of displaying the lyrics on the MP3 player is slightly different from that on W
supports the track number. One byte space allows ID3 V1.1 to support a maximum of 255 track numbers. Considering the possibility of more than 256 tracks for a single record, this improvement is quite reasonable.
ID3 format
ID3v1
ID3V1 is relatively simple. It is stored at the end of an MP3 file. Open an MP3 file in
The MPEG audio file uses the tag area to describe the relevant information of the audio file, such as the singer, album, release year, music name, genre, audio track, and additional information.
The tag mentioned here is for ID3 V1, including V1.0 and V1.1. In the version definition of ID3 V1, the
Based on the analysis in the previous two articles, frames are divided into tag frames and data frames. The MP3 file types are divided based on the data frame types. The file types are shown in the following table:
Equal bit rate (constant bitrate)
CBR MP3
compression for audio signals. To reduce sound distortion, MP3 adopts "sensory encoding technology", that is, Spectrum Analysis of audio files is performed before encoding, then filter out the noise level, and then sort the remaining bits in a quantitative manner to form an MP3 file with a relatively high compression ratio, in addition, the compressed
", note that the extension is". LRC ".LRC lyrics file format description
A file with the extension of LRC is the only lyrics file that can be recognized by the MP3 player. The lyrics can be displayed in a synchronized manner in the MP3 digital player or quiet listen.It is a
A relatively simple program does not have much to use. I just want to know if it will produce results.
Tired is very tired, but still feel very passionate!It feels good to write a bit of information about reading the MP3 file ID3V1!Recently, I used Swing to write a program for renaming MP3 files based on tag informatio
Mp3tag is a free MP3 file information editing software. To sort out my MP3 file library, I have been searching for an easy-to-use MP3 tag editing software. I used a software called Tag
The example in this article describes how Python writes data to a MP3 file. Share to everyone for your reference. The specific analysis is as follows:
The correct name of the Mp3 file is corrected by Mp3 the data in the ID3v1 data section, but sometimes the data in the data
Python Programming Method to modify the name of an MP3 file,
This article describes how to modify the name of an MP3 file through Python programming. We will share this with you for your reference. The details are as follows:
I recently started to learn Python. By the way, I wrote a small function that is used to modif
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.