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
ffmpeg describes itself on the official website: it is a complete cross-platform solution for recording, converting, and streaming video and audio. In fact, there are many tools that are based on ffmpeg for video and audio processing tools. For example, the famous format factory uses ffmpeg as the kernel transcoding tool.
Understand some audio and video coding knowledge.
The video file format we usually watch: mp4/rmvb/mkv/avi is actually a container. The contents of this container are divided into two categories: audio and video. For this part of the video, it contains encoding formats: H264/H265/VP8/VC1, etc. For the audio part, it contains encoding formats: AAC/MP3/mid, etc. Therefore, the [video format] we usually say generally includes three parts: video encoding, audio encoding, and container format. The [encoding] mentioned here actually contains two layers: encoding and decoding. For example, video encoding is the process of converting video images into binary data. Video decoding is the process of converting binary data into images. Audio coding is the same. Then when we look at a video file, we can see the sound and image at the same time, which means that we have at least two sets of data for video encoding and audio encoding at the same time. So what are the rules for organizing these two sets of data? It depends on the regulations of [Container Format]. The data stored in the container may use many different encoding methods. For example, avi files usually store xvid or divx encoded video and mp3 encoded audio. The rmvb file usually stores RV40 encoded video and cook encoded audio. The mp4 file usually stores H.264 encoded video and AAC encoded audio. The mkv file may contain the previous ones.
If you have installed ffmpeg, you can use ffmpeg -codecs to see which audio and video codecs are supported by ffmpeg (almost already includes most of the existing codecs). Intercept part of it:
Codecs:
D..... = Decoding supported (decoding supported)
.E.... = Encoding supported (encoding supported)
..V... = Video codec (video codec)
..A... = Audio codec (audio codec)
..S... = Subtitle codec (Subtitle codec)
...I.. = Intra frame-only codec (frame codec)
....L. = Lossy compression
.....S = Lossless compression
-------
D.V.L. 4xm 4X Movie
D.VI.S 8bps QuickTime 8BPS video
.EVIL. a64_multi Multicolor charset for Commodore 64 (encoders: a64multi)
.EVIL. a64_multi5 Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5)
D.V..S aasc Autodesk RLE
DEVIL. amv AMV Video
D.V.L. anm Deluxe Paint Animation
D.V.L. ansi ASCII/ANSI art
Well, the transcoding we often talk about is actually this process:
Original video - Decoding - Pixel data - Encoding - Target video
Original Audio - Decoding - Audio Data - Encoding - Target Audio
We use the example of aac to mp3 to see the use of ffmpeg in audio transcoding.
The name aac is very big, advanced audio coding, appeared in 1997, the purpose of appearing is to replace the MP3 format. Compared with the MP3 format, its compression algorithm is better, and it is a high compression ratio encoding. It is jointly developed by companies such as Apple and Nokia. Now the iTunes music player on Apple mobile phones supports and uses AAC files.
However, audio files in aac format are not supported by all browsers in html5. The browser's support for audio files is as follows:
Image
Back to the ffmpeg tool, its format is like this:
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
So suppose I have an aac file at this location:
/home/web/mycareer/upload/61/1d0452670723c3ba2e1b10d02d789c61.aac
I need to convert it into an mp3 file:
/home/web/mycareer/upload/61/1d0452670723c3ba2e1b10d02d789c61.mp3
First of all, ffmpeg has a decoder with aac, but there is no encoder with mp3. When you need to compile, bring --enable-libmp3lame
Of course this requires you to install libmp3lame first
tar xzvf lame-3.99.5.tar.gz
make
make install
Then bring it when compiling and installing ffmpeg: --enable-libmp3lame
Then the ffmpeg command is:
ffmpeg -i /home/web/mycareer/upload/61/1d0452670723c3ba2e1b10d02d789c61.aac -acodec libmp3lame /home/web/mycareer/upload/61/1d0452670723c3ba2e1b10d02d789c61.mp3
Remember to explain here -acodec libmp3lame
The transcoding is complete.v
|
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