For more information about 'file storage format' and 'file content format ',

Source: Internet
Author: User

For more information about 'file storage format' and 'file content format ',

Something about 'file storage format' and 'file content format'

Beautiful Life of the sun and fire god (http://blog.csdn.net/opengl_es)

This article follows the "signature-non-commercial use-consistency" creation public agreement

Reprinted please keep this sentence: Sun huoshen's beautiful life-this blog focuses on Agile development and mobile and IOT device research: iOS, Android, Html5, Arduino, pcDuino, otherwise, this blog post is rejected or reprinted. Thank you for your cooperation.


Let's take an example to reference the problems in the question. We will try to list as many things as possible about the two guys for your reference.

After a piece of speech is recorded and saved as a. wav file, you can use the player to play the recorded sound.

Let's look at the details that are close to life:

Your voice ---> passed to my ears: This indicates that I heard what you said;

The voice of your speech ---> the phone microphone received ---> transmitted through the telephone system ---> the receiver at the other end played your voice ---> I heard what you said;

The voice of your speech ---> received by the recorder Mike ---> stored on the tape (someone on the tape knows what it is ?!) ---> The tape is played with a recorder. ---> I heard what you said;

...

There are also many ways to hear your voice. Here we use the above three methods as an example. One subject and two carriers are involved:

Subject:

Sound, including the voice you speak, that is, air vibration; and the sound I hear, that is, air vibration;

First carrier:

What you said about how to vibrate the air, I heard that the vibrating air is passed into my ears and there is nothing wrong with the first two places. The difference is how to extend the vibration of the air, or let the vibration be recorded, and then vibrate as needed.

Second body:

It is a type of Record bearing completely designed for air vibration.


Back to the question, air vibration produces sound waves. Sound waves sample the sound intensity value in a regular manner, and then use the value to represent the sound at this moment; when continuous sampling is displayed as is at the sampling frequency, that is, scratching the air has reached the same level, people's ears and ears can recover content from these intermittent vibrations, the closer the password is, the closer it looks like the original voice.

These intermittent values are stored in a file for long-term storage, and the file header describes some information about these sound samples.


This section involves two aspects: How the sound is sampled and quantified, which is a raw data, and the other is the file header description that the data is stored in a disk file.

The original sound data is very large in files, so there are a lot of Audio Encoding algorithms. After such algorithms are used to process the sound, the space occupied by the sound is very small, the original sound data recovered based on the Inverse Operation of the same algorithm can also hear the content of the original sound, but this process may cause loss of sound details.

The same sound data can be written to a file according to the specific file storage format requirements, whether it is the original or the audio data processed by a certain algorithm.


I can't write it any more. After a long time of ink writing, I still feel that the details cannot be described...


Then let's look at the content stored in the text, which also includes two aspects: first, the text encoding. If there is one, there will be no garbled characters in the open file; the second is the text storage format, which is txt, word, or pdf. The types of the stored files can be different, and the text encoding can also be different.


There are videos, images, and so on, which are associated with the human perception, or there will be vibration or tactile sampling and storage in the future, or the smell ?!...


Compare it with a vivid life example:

I bought a piece of water tofu, put it in a disk, put it in a bowl, or directly put it in a pot ?!... OK

And this piece of tofu is to be put in the whole piece, or to cut the four shards and then put them, or to cut them into small slashes and then put them ?!... OK


Tofu is text, voice, image, and video; container is the storage format.


Well, I may not understand it myself. After all, we come into contact with these things from sensibility to theory, not from junior high school to college, I have always been rational and emotional, or I have never been emotional in the end. I don't know what to say when I see foreigners, but it is easy to score points in the exam.


The above is a breeze, and there is nothing to do with text, audio, images, and videos... Common formats and corresponding identification.


These are associated with speex and ogg. I hope someone will know what these two things are and look forward to speex and ogg in the video field! @



Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.