Live is not unfamiliar, now the mainstream of the agreement analysis of the contrast chart, personal insights.
Agreement
httpflv
Rtmp
HLs
Dash
Transport layer
HTTP stream
tcp stream
http
http
video format
FLV
flv tag
ts file
mp4 3gp webm
delay
Low
low
long StartTime; Private long endTime; /** * Start recording using AMR format * * Recording file * @return */public void Startrecord () {//Start recording/*①i Nitial: Instantiate Mediarecorder Object */if (Mmediarecorder = = null) Mmediarecorder = new Mediarecorder (); try {/*②setaudiosource/setvediosource */Mmediarecorder.setaudiosource (MediaRecorder.AudioSource.MIC);//Set microphone /*② to set the encoding of the audio file: aac/aSampling of Mr_nb/amr_mb/default Sound (waveform) */M
This article is reproduced from http://blog.csdn.net/ljzcom/article/details/7258978, if necessary, please visit.Technorati Tags: H. Data collation--------------------------Split Line Start----------------------------------- 1. http://www.zooyoo.org/?tag=h264 2. How to differentiate between the I frame and the B frame of the H264 video stream? http://group.gimoo.net/review/77829 3. H264 FAQ Collection Http://blog.ednchina.com/ningjinghai123/254722/Message.aspx 4. MP4 (H264 Container) file format
void surfaceCreated(SurfaceHolder holder) { // TODO Auto-generated method stub } @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { // TODO Auto-generated method stub }});
Surfaceview once not visible. Will be destroyed once it is visible. will be created. Stop playback when destroying. Start playing again when you create it again
Camera
Start the system-provided camera program//隐式启动系统提供的拍照ActivityInte
,MOV,F4V,3GP format, please pay special attention!3. This example is a cross-platform adaptation, support PC terminal, Android terminal, iOS Apple terminal, WP terminal normal playback.* Tip 1: This example in the Iis/apache, such as the site environment testing;* Tip 2: This example only supports HLS (m3u8)/not supported FLV,MP4,F4V;* Tip 3: This example requires the user to implement HLS technology, that is, the output of HLS (m3u8) address, such as
R.id.recordbutton:try {File File=new file (Environment.getexternalstoragedirectory (), System.currenttimemillis () + ". 3gp");Mediarecorder = new Mediarecorder ();Set the source of the sound from the microphoneMediarecorder.setaudiosource (MediaRecorder.AudioSource.MIC);Set the source of the video from the cameraMediarecorder.setvideosource (MediaRecorder.VideoSource.CAMERA);Set output format 3g format MP4Mediarecorder.setoutputformat (MediaRecorder.
sensor, electronic compass, blood pressure sensor, heart rate sensor, fingerprint recognition, retina recognition
fuselage interface 3.5mm headphone interface, USB type-c interface
service with support
Audio support
video support support mp4/3gp/avc/avi/mpeg-4 format
picture support support jpeg/png/gif/bmp format
I've written a validation class here that uses the file header to determine the file format. (also not completely secure, if the user forged the file header, can also be verified)
Copy CodeThe code is as follows:
/**
* Type of document to be checked
*
* @author Silver
*/
Class Filetypevalidation
{
File types, different header information
private static $_fileformats = Array (
' JP2 ' = ' 0000000c6a502020 ',
' 3gp ' = ' 0000002066747970 ',
' 3gp5 ' =
Reproduced AMR does not open in IIS _amr PMD formatBelieve that everyone should have encountered, when the IIS server does not know the format, your files are not foundSo how do you find these files, then you need to configure the MIME type in the IIS serverUse this feature to manage the list of file extensions and associated content types that are used by the WEB server for static filesOpen with Iis-> Web site->http Header->mime Map-file type-newBelow I have all the MIME type and the correspond
Mid-century monitoring video recovery for a specific time periodVideo file format: MP4(3gp)in the case, the hard drive was formatted and a portion of the video was recorded. There are many partitions on this hard disk, and after scanning with r-studio, we basically determine the partition where the video is located and mirror the partition. 650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/74/wKioL1dWJiTyvNCVAAAR1vkfnHA371.png-wh_500x0-wm_
PHP Development file Upload type you want to answer: rarapplication/x-rar-compressedzipapplication/zipwordapplication/msword#application/pdf for more reference: file suffix name nbsp; file Type 3 gpvideo/3 gppaa PHP Development file Upload type
Answer:
Rar application/x-rar-compressed
Zip application/zip
Word application/msword
Pdf application/pdf
For more information, see:
File suffix file type
3gp video/3gpp
Aab application/x-authoware-bin
Aam app
Turn: http://www.ataaw.com /? P = 419
One of the main features of mobile phones is the multimedia function. We can use our mobile phones to play a variety of audios and videos. The Android SDK also provides various multimedia development interfaces, we can easily develop various audio and video software. The following describes the basic usage of the recording interface provided in Android.
Here we will list several important usage methods, which are also the most common recording interfac
split the file and restore the file on the server.
8. The upload speed must be faster. If you use it on the Intranet, the upload speed must exceed 500 kb.
9. support prompt for duplicate file names. If the same file already exists in the server's upload folder, you must be prompted to make a judgment.
10. The server must support conversion of video files, convert MP4, WMV, 3GP, Avi and other format files into FLV files, and generate thumbnails.
There are two main types of YUV format: planar and packed.For the planar YUV format, the y of all pixels is stored successively, followed by the U of all pixels, followed by the V of all pixels.For the packed YUV format, the y,u,v of each pixel point is a continuous cross-storage.The general video program is to get yuv420 planar data from the camera, then encode it into h264 format frame, and finally save the video file in the format of 3gp/mpeg.Take
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.