FMUSER Wirless Transmit Video And Audio More Easier !
es.fmuser.org
it.fmuser.org
fr.fmuser.org
de.fmuser.org
af.fmuser.org ->Afrikaans
sq.fmuser.org ->Albanian
ar.fmuser.org ->Arabic
hy.fmuser.org ->Armenian
az.fmuser.org ->Azerbaijani
eu.fmuser.org ->Basque
be.fmuser.org ->Belarusian
bg.fmuser.org ->Bulgarian
ca.fmuser.org ->Catalan
zh-CN.fmuser.org ->Chinese (Simplified)
zh-TW.fmuser.org ->Chinese (Traditional)
hr.fmuser.org ->Croatian
cs.fmuser.org ->Czech
da.fmuser.org ->Danish
nl.fmuser.org ->Dutch
et.fmuser.org ->Estonian
tl.fmuser.org ->Filipino
fi.fmuser.org ->Finnish
fr.fmuser.org ->French
gl.fmuser.org ->Galician
ka.fmuser.org ->Georgian
de.fmuser.org ->German
el.fmuser.org ->Greek
ht.fmuser.org ->Haitian Creole
iw.fmuser.org ->Hebrew
hi.fmuser.org ->Hindi
hu.fmuser.org ->Hungarian
is.fmuser.org ->Icelandic
id.fmuser.org ->Indonesian
ga.fmuser.org ->Irish
it.fmuser.org ->Italian
ja.fmuser.org ->Japanese
ko.fmuser.org ->Korean
lv.fmuser.org ->Latvian
lt.fmuser.org ->Lithuanian
mk.fmuser.org ->Macedonian
ms.fmuser.org ->Malay
mt.fmuser.org ->Maltese
no.fmuser.org ->Norwegian
fa.fmuser.org ->Persian
pl.fmuser.org ->Polish
pt.fmuser.org ->Portuguese
ro.fmuser.org ->Romanian
ru.fmuser.org ->Russian
sr.fmuser.org ->Serbian
sk.fmuser.org ->Slovak
sl.fmuser.org ->Slovenian
es.fmuser.org ->Spanish
sw.fmuser.org ->Swahili
sv.fmuser.org ->Swedish
th.fmuser.org ->Thai
tr.fmuser.org ->Turkish
uk.fmuser.org ->Ukrainian
ur.fmuser.org ->Urdu
vi.fmuser.org ->Vietnamese
cy.fmuser.org ->Welsh
yi.fmuser.org ->Yiddish
1. Personal opinion (difficult and easy to live broadcast)
Difficulty in live broadcast: I personally think that if you want to start live broadcast from scratch, it is definitely a great player in the world, because there are so many technical difficulties in the live broadcast, such as video/audio processing and graphics processing. , Video/audio compression, CDN distribution, instant messaging and other technologies, each technology is enough for you to learn for several years.
Live Streaming: There are already big talents in various fields, and many awesome frameworks have been packaged. We only need to use the frameworks written by others to quickly build a live broadcast app, which is the legendary standing on the shoulders of big cattle Programming.
Second, understand the live broadcast
1. A complete live streaming app function (from 落影 loyinglin sharing)
1. Chat
Private chat, chat room, light up, push, blacklist, etc.
2. Gift
Ordinary gifts, luxury gifts, red envelopes, rankings, third-party recharge, in-app purchases, gift dynamic updates, cash withdrawals, etc.;
3. Live broadcast list
Follow, popular, latest, classified live broadcast user list, etc.;
4. Live broadcast by yourself
Recording, streaming, decoding, playback, beautification, heartbeat, background switching, host to administrator operation, administrator to user, etc.;
5. Room logic
Create room, enter room, exit room, close room, switch room, room manager settings, room user list, etc.;
6. User logic
Ordinary login, third-party login, registration, search, modify personal information, watch list, fan list, forget password, view personal information, income list, follow and check, search, etc.;
7. Watch the live broadcast
Chat information, scrolling barrage, gift display, loading interface, etc.;
8. Statistics
APP business statistics, third-party statistics, etc.;
9. Super tube
Banned, hidden, audited, etc.;
2. The principle of a complete live streaming app
Live broadcast principle: Push the video recorded by the host to the server, and then the server will distribute it to the audience for viewing.
Live streaming: push streaming (collection, beauty processing, encoding, push streaming), server processing (transcoding, recording, screenshot, pornography), player (pull streaming, decoding, rendering), interactive system (chat room) , Gift system, praise)
3. A complete live streaming app implementation process
1. Acquisition, 2. Filter processing, 3. Encoding, 4. Push streaming, 5. CDN distribution, 6. Pull streaming, 7. Decoding, 8. Play, 9. Chat interaction
(2)
4. A complete live broadcast app architecture (3)
5. Technical points of a complete live broadcast app (4)
3. Understand streaming media (streaming media is required for live broadcast)
Streaming media development: the network layer (socket or st) is responsible for transmission, the protocol layer (rtmp or hls) is responsible for network packaging, the encapsulation layer (flv, ts) is responsible for the encapsulation of codec data, and the coding layer (h.264 and aac) is responsible for the image , Audio compression.
Frame: Each frame represents a still image
GOP: (Group of Pictures) picture group, a GOP is a group of continuous pictures, each picture is a frame, a GOP is a collection of many frames
The live data is actually a set of pictures, including I-frames, P-frames, and B-frames. When the user watches them for the first time, they will look for the I-frames, and the player will go to the server to find the nearest I-frames and feed them back to the user. Therefore, GOP Cache increases the end-to-end latency because it must get the nearest I frame. The longer the GOP Cache length, the better the picture quality
Bit rate: The amount of data displayed per second after the picture is compressed.
Frame rate: The number of pictures displayed per second. Affects the smoothness of the picture and is directly proportional to the smoothness of the picture: the larger the frame rate, the smoother the picture; the lower the frame rate, the more jumpy the picture.
Due to the special physiological structure of the human eye, if the frame rate of the picture being viewed is higher than 16, it will be considered to be coherent. This phenomenon is called persistence of vision. And when the frame rate reaches a certain value, if it increases again, it is not easy for the human eye to perceive a significant increase in fluency.
Resolution: (rectangular) the length and width of the picture, that is, the size of the picture
Data per second before compression: frame rate X resolution (unit should be several bytes)
Compression ratio: The amount of data per second/bit rate before compression (For the same video source and using the same video encoding algorithm, then: the higher the compression ratio, the worse the picture quality.)
Video file format: the suffix of the file, such as .wmv, .mov, .mp4, .mp3, .avi,
Main use, according to the file format, the system will automatically determine which software to open,
Note: Modify the file format at will, it will not have much impact on the file itself, such as changing avi to mp4, the file is still avi.
Video encapsulation format: a container for storing video information. Streaming encapsulation can include TS, FLV, etc., indexed encapsulation includes MP4, MOV, AVI, etc.,
Main function: A video file often contains images and audio, as well as some configuration information (such as the association of images and audio, how to decode them, etc.): these contents need to be organized and packaged according to certain rules.
Note: You will find that the packaging format is the same as the file format, because the suffix of the general video file format uses the name of the corresponding video packaging format, so the video file format is the video packaging format.
|
Enter email to get a surprise
es.fmuser.org
it.fmuser.org
fr.fmuser.org
de.fmuser.org
af.fmuser.org ->Afrikaans
sq.fmuser.org ->Albanian
ar.fmuser.org ->Arabic
hy.fmuser.org ->Armenian
az.fmuser.org ->Azerbaijani
eu.fmuser.org ->Basque
be.fmuser.org ->Belarusian
bg.fmuser.org ->Bulgarian
ca.fmuser.org ->Catalan
zh-CN.fmuser.org ->Chinese (Simplified)
zh-TW.fmuser.org ->Chinese (Traditional)
hr.fmuser.org ->Croatian
cs.fmuser.org ->Czech
da.fmuser.org ->Danish
nl.fmuser.org ->Dutch
et.fmuser.org ->Estonian
tl.fmuser.org ->Filipino
fi.fmuser.org ->Finnish
fr.fmuser.org ->French
gl.fmuser.org ->Galician
ka.fmuser.org ->Georgian
de.fmuser.org ->German
el.fmuser.org ->Greek
ht.fmuser.org ->Haitian Creole
iw.fmuser.org ->Hebrew
hi.fmuser.org ->Hindi
hu.fmuser.org ->Hungarian
is.fmuser.org ->Icelandic
id.fmuser.org ->Indonesian
ga.fmuser.org ->Irish
it.fmuser.org ->Italian
ja.fmuser.org ->Japanese
ko.fmuser.org ->Korean
lv.fmuser.org ->Latvian
lt.fmuser.org ->Lithuanian
mk.fmuser.org ->Macedonian
ms.fmuser.org ->Malay
mt.fmuser.org ->Maltese
no.fmuser.org ->Norwegian
fa.fmuser.org ->Persian
pl.fmuser.org ->Polish
pt.fmuser.org ->Portuguese
ro.fmuser.org ->Romanian
ru.fmuser.org ->Russian
sr.fmuser.org ->Serbian
sk.fmuser.org ->Slovak
sl.fmuser.org ->Slovenian
es.fmuser.org ->Spanish
sw.fmuser.org ->Swahili
sv.fmuser.org ->Swedish
th.fmuser.org ->Thai
tr.fmuser.org ->Turkish
uk.fmuser.org ->Ukrainian
ur.fmuser.org ->Urdu
vi.fmuser.org ->Vietnamese
cy.fmuser.org ->Welsh
yi.fmuser.org ->Yiddish
FMUSER Wirless Transmit Video And Audio More Easier !
Contact
Address:
No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620
Categories
Newsletter