How can we get the length of a WMA or mp3 file in the simplest way? Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiMultimedia/html/delphi_20061108195617169.html
No need to know the artist name, album name, etc., as long as the length is enough, which command can be done? Please give me a bit
Code Thank you!
Uses mmsystem;VaROpenparms: tmci_open_parms;
usingSystem;usingSystem.Runtime.InteropServices;namespaceconsoleapplication{classProgram {[DllImport ("Winmm.dll")] Public Static extern UINTmciSendString (stringLpstrcommand,stringLpstrreturnstring,UINTUreturnlength,UINThwndcallback); Static voidMain (string[] args) {/*commands and Parameters function open device name [type device type] [alias alias] turn on Dial device close device name close dial Device Play device name [from start] [to end] Play Pause device name pause Resume device
Today from Baidu music download some WMA format music files, but my player only support MP3 format files, then need to WMA conversion bit MP3 format, through the software provided by the following is really much easier
The Power MP3 WMA
1MedieCodec supports more than 4.1 system use, is a class of Google SDK.2 ability to decode MP3,WMA format audio files3 before decoding, need mediaexactor extract file information, including file type, sample rate,Package Com.dawin.mediacodec;import Java.io.ioexception;import Java.nio.bytebuffer;import Android.media.Me
Android MedieCodec hard decoding mp3 and wma
1 mediecodec supports more than 4.1 of systems and is a class of Google SDK.
2. decoding mp3 and wma audio files
3. Before decoding, The MediaExactor needs to extract the file information, including the
How can I directly play MP3 or WMA embedded in EXE resources in a "stream" manner? Hope to give an example (send 100 points) :) Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiMultimedia/html/delphi_20061009145227262.html
How can I embed MP3 or WMA in an EXE file and
Problem
You want to play an MP3 or WMA audio file in xNa.Solution
XNa can use the default content pipeline to load MP3 or WMA audio files to a song object. After loading, you can use the static mediaplayer class to play the song object.Working Principle
First, add the
converter operation is simple, the user can easily get started.
Quick-turn Video Converter operation Tutorial:
1, before the conversion of files, the user first to download and install a speed-to-video converter in the computer, download resources directly Baidu search software can be found.
2, open the installed speed to the video converter, you can see the main software interface, here we select the audio list.
In the aspect of audio conversion, the speed-to-video converter can quickly co
Win7 32-bit flagship system how to bulk modify MP3 format and information? Music can purify people's psychology, bring joy, many users in the work and study, like to use MP3 listen to music, when we download some MP3 songs online, some information may be wrong. So how do we modify this information for you, in order to facilitate the management of our
Give your cool dog software users A detailed explanation of how cool dogs can change the size of MP3 files.
Method Sharing:
1, MP3 file is mainly due to high bit rate (such as 320Kbps), using the cool dog's own format conversion tool can convert a bit-rate file to
The full name of WMA is Windows Media Audio, a new audio format that Microsoft has introduced as a MP3 format. Because WMA is more than MP3 in terms of compression ratio and sound quality, it is far better than RA (real Audio), which produces better sound quality even at lower sampling frequencies.
Microsoft said the
To add a wma video file to the background using asp, the added video file is displayed on the foreground.
The implemented asp code is as follows:
Copy codeThe Code is as follows: Lurl = "phage1.wma"
%>
Select case Lcase (right (lurl, 4 ))
Case ". swf"
%>
CASE ". mpg"
%>
CASE ". mp3
Want to use ASP to realize the background to add WMA video files, the foreground shows the added video file.
The ASP code that you can implement is as follows:
Copy Code code as follows:
Lurl= "Phage1.wma"
%>
Select Case Lcase (right (lurl,4))
Case ". swf"
%>
Case ". mpg"
%>
Case ". mp3", ". Mid", "
, most MP3 files are CBR, and the changed bitrate MP3 file is called VBR , each length is likely to change.———— C,lame Label FramesWhen you really open a MP3 file, you will find that the first frame is not a real data frame, but a
information, complete the changes and click the "Save" button (see Figure 2).
▲ Figure 2 Modify MP3 Music information
Second, in the MP3 File Properties window to modify
First step: Open the Properties window. Move the mouse pointer over a MP3 music, click the mouse button, and select Properties (such as Figur
label. With the combination of these variables, you can easily construct a new label expression and apply the constructed expression to the filename, and you can finish naming the file with the tag. This assumes that we want to use the "album Name + song title" form to name the file, simply enter "%4-%2" in the "Label expression" text box, and then click on the "Preview" button at the bottom of the lower w
, select Properties, and in the Properties panel, click the "Summary" tab to view the information under the "Audio" bar) (Figure 1). Suppose one supports only MP3 audio formats, 64-256kbps compression rate and 44.1KHZ sampling rate of the MP3 machine, but to listen to the audio file is WMA format, or 48kbps compression
This article describes the Java implementation of Cool dog music temporary cache file conversion to the MP3 file method. Share to everyone for your reference, specific as follows:
Cool dog Temporary cache file, in fact, is the bar MP3 files are downloaded, but the name seem
I encountered a problem. When the post object can upload txt files below 1 MB, the byte set POST object upload fails to upload mp3 files above 1 MB. I encountered a problem.
When the upload of a txt file below 1 MB after the post operation succeeds, the upload of A mp3 file above 1 MB after the byte set POST operation
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.