I. Overview
MP3 files are composed of frames, which are the smallest unit of MP3 files. The full name of MP3 should be mpeg1 layer-3 audio files, and MPEG (Moving Picture Experts Group) should be translated as an expert group of active images in Chinese, especially for activity audio and video compression standards, an MPEG audio
Finally found to listen to the song, download to the MP3 machine but found that can not play, or because the MP3 machine capacity is limited, the moment can not fit too many songs, only reluctantly give up a few. This MP3 machine can not play the situation, your heart must be very depressed it. You can solve these problems on the audio
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 M3U before. It's good, but it's not free. Later I found the mp3tag. It was not very easy
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 very detailed. For more information, see
Next we will use a python instance program to le
Modify function djinfo ($ dir) for obtaining mp3 file information using php)
{
If (! File_exists ($ dir) return '';
If (substr (php_uname ('s '),) = "Windows") {// not supported by LINUX
$ Player = new COM ("WMPlayer. OCX ");
$ Media = $ player-> newMedia ($ dir );
$ Time = $ media-> duration; // Obtain the duration
@ $ S_bitrate = $ media-> getItemInfo (Bitrate); // get the bit rate
@ $ Size = $ media-> ge
The first is the installation: Https://pypi.python.org/pypi/mutagenInstallation:TAR-ZXVF mutagen-1.29.tar.gzCD mutagen-1.29./setup.py Build./setup.py InstallUse:From Mutagen.mp3 import MP3, EasyMP3From MUTAGEN.ID3 import EasyID3From MUTAGEN.ID3 import COMM#EasyMP3继承自MP3, it directly assigns ID3 to EasyID3, using EasyMP3 can be more convenient to obtain such as album name, singer name, song name and other ta
A new MP3 file has no random playback function! As a programmer, do it yourself ~
Obtain the current path:
char buf[1000];GetCurrentDirectory(1000,buf); string cur_folder_file = string(buf)+"\\*.mp3";Obtain the list of mp3 files in the current path:
void getMp3Names(string filepath,vectorRandom rename mp3file (Name:
[ASP. NET advanced] gets MP3 file information and displays album images,
In a whim, I want to get a Demo that shows MP3 file information and album images. I am not a big guy, So Baidu has done it. I will share the following.
:
GIF:
It mainly relies on two DLL files: ID3.dll and Interop. Shell32.dll. The steps are as
The example in this article describes how Python modifies the MP3 file. Share to everyone for your reference. Specific as follows:
With this program modified MP3 than the original is smaller, because a picture was deleted, played to MP3 "thin body" role. In some MP3, each h
The example in this article describes how Python modifies MP3 files. Share to everyone for your reference. Specifically as follows:
Use this program to modify the MP3 is smaller than the original, because a picture was deleted, played to MP3 "thin body" role. In some MP3, each has a picture of more than 400 K, 10 a fe
#pygame播放mp3文件:
Here I only introduce a good way to understand
Opening the official document, the author found that, like the discovery of the new world, this guy is too strong, and now I can only use it to play my mp3. Well, the rest of the wait to discover it later. What to say, to play the MP3 test code:
Import Pygamepath = ' Pam pam-noel Toto.mp3 ' Pygame.m
This article describes how to obtain mp3 file information using python, and describes how to operate Python on file attributes, for more information about how to obtain mp3 file information using python, see the following example. Share it with you for your reference. The de
Sound card Recording is a common requirement, such as watching a video or listening to a song online, and feeling that a piece of music is particularly good, but without downloading it, we can use the sound card recording technology to record it while playing.Achieve sound card recording, involving two basic technologies: the sound card captures and records sound into a mp3 file. The Voice video capture com
Python to obtain mp3 file information,
This example describes how to obtain mp3 file information using python. Share it with you for your reference. The details are as follows:
Run the. py file generated by the code in the directory to obtain information about all
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
1. We have installed the latest version of "Codoy player", and then click "format conversion" in "my applications" on the Codoy music interface, as shown in the following figure.2. Click "add File" on the page and find the mp3 music file to be converted and compressed.3. "conversion format"-"
How to obtain id3 from an MP3 file using Python
This example describes how Python obtains id3 from an MP3 file. Share it with you for your reference. The details are as follows:
?
1 2 3 4 5 6 7 8 9 10 11
Def getID3 (filename ): Fp = open (filename, 'R ') Fp. seek (-128, 2) Fp. read (3) # TAG
A colleague said there was something wrong with her mp3, and the folder and file name were not displayed, but the songs could be played. is a Patriot's mp-f596, after taking over and using the Restore system default settings, the result is no response. Connect the USB connection to the computer, my McAfee a flash, there is a virus, into his song directory, see inside many filenames are garbled, check "dele
The first and most important is: I talked big, this article is a train of thought just, if you are music playing small white also want to understand the principle can look down, otherwise, return-1;
The existing music format is very different, so there is a ffmpeg saying that this framework is really good, audio and video transcoding are not alone, I am a dead brain, met do not understand the always want to understand, for music playback feeling is confused, after a few days of research after th
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 information. It seems that it is not very difficult to
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.