This is a streamlined code that can support a very limited format.
Copy Code code as follows:
Package com.hongyuan.test;
Import Java.io.File;Import java.io.IOException;
Import Javax.sound.sampled.AudioFormat;Import Javax.sound.sampled.AudioInputStream;Import Javax.sound.sampled.AudioSystem;Import Javax.sound.sampled.DataLine;Import javax.sound.sampled.LineUnavailableException;Import Javax.sound.sampled.SourceDataLine;Import javax.sound.sampled.UnsupportedAudioFileException;
Did not find the reprint function where ... So I can only copy it over.
Always want to video audio codec technology to do a simple summary, but suffer from the time is not sufficient, has not been able to complete. Today has a lot of free, and finally can summarize a video and audio technology to start a tutorial, can facilitate more people learn from the zero to learn
Based on the analysis in the first three articles, you only need to write a MAKEFILE file to compile main. cpp and aaccodechelper. cpp, as shown below:
Makefile:
Cxx = g ++
Objects = Main. O aaccodechelper. oLibs =-L/usr/local/lib-lfaac-wl,-rpath,/usr/local/lib-I/usrWavtoaac: $ (objects)$ (Cxx) $ (objects)-O darling $ (libs)Aaccodechelper. O: aaccodechelper. cpp aaccodechelper. h typedef. h$ (Cxx)-C aaccodechelper. cpp $ (libs)Main. O: Main. cpp aaccodechelper. h$ (Cxx)-C main. cpp $ (libs)Cl
1, as shown below if this resource is not right, you can search for other resources Baidu to try, because it is possible that the problem of the chip source.
2, audio and video pioneer software we better be the latest version, the old version can be technically less than the new version.
3, the speed problem, with 360 security guards or other speed measurement software, testing
4, to see if the problem is set, we open the software
First, Audio architecture overview(1)ALSA is the acronym for Advanced Linux Sound Architecture, which has become the mainstream audio architecture for Linux and wants to learn moreFor information and knowledge about this open source project at ALSA, please see the following URL: http://www.alsa-project.org/.In the kernel device driver layer, ALSA provides alsa-driver, while at the application layer, ALSA pr
In scenes where audio and video are re-encoded and need to be synchronized, there are several basic principles to follow (otherwise the audio and video will be stuck and not smooth.) With audio AAC encoding frequency 44.1k, video H264 encode 25 frame rate for example): 1. Ensure that the audio and video frame arrival
Chapter One: FundamentalsThis chapter will show you how to start learning about Web audio APIs, which browsers support audio APIs, how to detect if an audio API is available, what an audio graph is, what an audio node is, how to connect each
In the FFmpeg ultra-detailed comprehensive tutorial---------------a sample of reading PC camera video data and sending it as a live stream with rtmp protocol is done in the camera live text, but the audio support is not implemented, so the example is further perfected in this article and the video synchronization problem of live stream is analyzed in detail. , a code example is also given.
For the live stream, here only the synchronization of the send
First of all you should know what is ape? What can ape file play with?
A: Ape is a lossless compression format for audio CDs.
A: It is recommended to install Plug-ins with Foobar2000,winamp (the latest version is not available) can also play, WMP install Plug-ins can also play.
Okay, now do the prep, you need to be prepared with the following software:
1. EAC 095
2. Monkey Audio 397 (that is, the monke
1. Basic knowledge of I2S
1.1 I2s Introduction
I2S bus, the abbreviation Inter-icsound, is a bus standard developed by Philips for audio data transmission between digital audio devices, which is specially used for data transmission between audio devices and is widely used in various multimedia systems. The I2S is also a synchronous serial communication interface.
At present, there are a lot of users, when the mic is connected before the connection can not be successful. Here is a detailed description of the wiring method of the front microphone for your reference.
I. Intel specification for front-facing audio interfacesIntel has regulated the front audio interface sockets, cable, and pin names for motherboards and chassis in the Front Panel I/O connectivitydesign
Introduction and comparison of common audio protocols for conference TV white PaperFirst, the digital audio principle: The sound is actually a kind of energy wave, therefore also has the frequency and the amplitude characteristic, the frequency corresponds to the time axis, the amplitude corresponds to the level axis. Usually the ear can be heard in the frequency of 20Hz to 20KHz of sound waves known as aud
Two ways of synchronizing audio and video synchronization with the time stamp as the benchmark with the time stamp of the video as the benchmark with the external clock as the reference to the standard audio-video synchronization This is a digression. This blog theme is not write audio and video synchronization but write audi
The audio module consists of four sub-modules, which include input, audio, audio, and audio decoding. Audio input and
The output module realizes the audio input and output function through the control of the HI35XX chip SIO interf
Original address: HTTP://WEIBO.COM/P/23041874D6CEDD0102VKBRDo not be so literary title scare, here will not tell you the history of girls in high school, there will not be any other reality should not have the pit Father plot, please note that this is a technical article, the main thing is: audio in the mobile side of the compatibility problem, as to why the title to play so literary and artistic, It's just to cater to this microblog:God horse? You're
Written by: Kesenhoo-Original: http://developer.android.com/training/managing-audio/index.html
If our app is capable of playing audio, it's important to let users control the audio in the way they expect. To ensure a good user experience, we should allow the app to manage the current audio focus, as this will ensu
Bowen from Http://blog.csdn.net/droidphone Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1. Origin of Asoc
Asoc--alsa system on Chip is built on a standard ALSA drive layer to better support a software system for embedded processors and audio codec in mobile devices. Before ASOC, the kernel had some support for
When mobile phones are constantly integrated with various functions including photography, games, data, and video, they have become a playing platform for multimedia applications, it can be said that the development of Portable mini-computers is meticulous.
In terms of positioning, such a mobile phone is different from a voice phone or a feature phone with some features, but rather a smart phone ).
In addition to strong data editing and management capabilities, smart phones provide
When mobile phones are constantly integrated with various functions including photography, games, data, and video, they have become a playing platform for multimedia applications, it can be said that the development of Portable mini-computers is meticulous. In terms of positioning, such a mobile phone is different from a voice phone or a feature phone with some features, but rather a smart phone ). In addition to strong data editing and management capabilities, smart phones provide
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.