My requirement is to be able to record multiple files, the last generated file format is mp3 form, looked up the various information, because Swift cannot directly record the audio as the MP3 format, so finally I took the solution to the first to convert each individual file
: 01:20:35. 06, start: 0.000000, bitrate: 200 kb/sStream #0.0: Video: h264, yuv420p, 320x240 [par dar], 200 kb/s, 15 tbr, 1 k tbn, 2 k tbcStream #0.1: Audio: aac, 22050Hz, stereo, s16At least one output file must be specified
The above two lines marked in red show the various attributes of the video and audio data of the file
algorithm is as follows:Int FSize;FSize = Size [0] x 0x100000000+ Size [1] x 0x10000+ Size [2] x 0x100+ Size [3];
(3). Flag
Only 6 bits are defined, and the other 10 bits are 0, but in most cases, 16 bits are all 0. The format is as follows:Abc00000 ijk00000A -- tag protection flag, which is regarded as void when setB -- indicates the file protection flag. This frame is considered invalid when it is set.C -- read-only flag. When this frame is set, it
In order to compress a software painstakingly, eventually still did not find a don't money GUI tools, depressed, another idea, why not use Linux command line tool to compress ah, so found this tool on the Internet lameFirst of all, of course, using homebrew to install lameDangchengchengdemacbook-pro:js dangchengcheng$ Brew Install lame==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.yosemite.bottle.1.tar.gz########################################################################
The company's project needs to merge one image and one MP3 audio file into MP4 and play the video on HTML5. It was originally thought to be a very simple matter, so a simple FFMPEG command was quickly written for execution.
FFmpeg-I 2.mp3-F image2-I 3.jpg-acodec AAC-strict-2-vcodec libx264-ar 22050-AB 128 K-AC 2-y 4.mp
A common method on the Internet is to use mecoder. Ffmpeg is also useful. In fact, you can use mplayer, but mplayer is not installed by default. Gnomemplayer, mplayer, And the firefox plug-in gecko-player of mplayer (used to replace the Integrated Audio player of windowsmediaplayer in internetexplorer playback webpage. However, codec must be fully installed, especially win32c.
A common method on the Internet is to use mecoder.
Ffmpeg is also useful.
How to add mp3 audio files to vue, and how to add mp3 audio to vue
Sometimes we need to add an audio file to the vue, but when we directly place the audio
rate of 5 kHz can only reach the sound quality of speech.The sampling rate of 11 kHz is the lowest standard for playing a short video, which is 1/4 of the CD quality.The sound at the 22 KHz sampling rate can reach half of the CD sound quality. At present, most websites use this sampling rate.The sampling rate of 44 kHz is the standard CD sound quality, which can achieve good auditory effect.
3. Bit Rate descriptionBit Rate refers to the amount of information that can be passed per second in a d
why convert to audio format
Recently in instant messaging, there are always several types of files about voice recording, but you want to interoperate with Android for audio. Then convert the MP3 format audio file or AMR format file
The whole idea1, Server Installation FFmpeg2, Use the FFMPEG-I directive to convert AMR to MP3 format (this will be written in PHP code, using the EXEC function can be executed)3. Use the HTML5 audio tag to play the MP3 file on the web sideHere are the details of the operation:first, Server Installation FFmpeg take Cen
Reprinted, please indicate the source, retain the original post address and the author's signature.
URL: http://blog.csdn.net/ysy441088327/article/details/7392842#reply
Author: Xu Shu
In order to enable audio communication between iPhone and Android, audio files in MP3 format are no better.
It is best to convert the data to AMR in 10 seconds.AmrThe
From: http://bbs.ednchina.com/BLOG_ARTICLE_276006.HTM
Playing MP3, we have already achieved a sine wave test of vs1003, and we can hear the sound at a certain frequency from the headset. Then write a program to read the file from the MMC/SD card and send it to vs1003 for playback. Both the mmccard and vs1003 on my board are connected to the same hardware SPI interface, and different chip selection controls
Create an MP3 decoder-use mad (MPEG audio decoding library) in Symbian
Some time ago, I wrote a program on newlc.com to create an MP3 player for Series 60. I have received many emails about MP3 decoding and using it on Symbian. Here, we use mad (MPEG audio decoding library)
C # No class is provided for playing audio files such as MP3. To write audio file programs such as MP3, you must use third-party controls or classes. This article uses the API function mcisendstring to compile a class for playing audio
Python processes audio files (mp3)
Today, the MP3 source file of the aiping point reader has different sound sizes and needs to connect the English word MP3 with the word translation MP3 file
Today aiping Point reading pen MP3 source files appear inconsistent sound size, and need to be English word MP3 and Word translation MP3 file connection, just start using ffmpeg effect is poor. The Almighty Gitgub proved its omnipotence again, and I found Pydub.1 Website: https://github.com/jiaaro/pydub2 Pydub need to
Recently, it seems to be working with the voice!The second method of audio conversion, this method is more simple than the first way!First, you need to download a "Ffmpeg.exe" plugin and put it in your project, such as:The file is called in the program to help convert the audio format!On the code:usingSystem;usingSystem.Threading;usingSystem.IO;usingSystem.Diagno
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.