=96Compress a MPEG-2 file into an AVI file: The following command converts a MPEG-2 file (with an extension of MPG) into an AVI file (Divx video encoding, MP3 audio encoding): Mencoder.exe INPUT.MPG-OAC mp3lame-lameopts aq=3:abr:br=128-srate 44100-OVC lavc-lavcopts vcodec=mpeg4:vbitrate=1200 -FFOURCC DX50-VF scale=480:360,crop=640:478:0:0,harddup-ofps 30-o Output.avi1.-OAC mp3lame: (output audio Codec) specifies the type of audio encoding for the outp
x264 is a H.264/MPEG4 AVC encoder, this guide will guide beginners on how to create high-quality H. S videos.
For ordinary users there are usually two code-rate control modes: CRF (Constant rates Factor) and dual pass ABR. Bitrate control is a method that determines how many bits are allocated for each video frame, and it determines the size and quality of the file.
If you need help compiling and installing
* * * Twolame encoder is not installed
To
install the appropriate library:
Yum Install ffmpeg-devel xvidcore-devel twolame-devel x264-devel
Compiling:
Make
2. Error handling in compilation
2.1 error content:
In file included from Config_opts.cpp:1:
/include/mpeg4ip.h:126:error:new declaration ' char* STRCASESTR (const char*, const char*) '
/usr/inclu
x264 is a H.264/MPEG4 AVC encoder, this guide will guide beginners on how to create high-quality H. S videos.
For ordinary users there are usually two code-rate control modes: CRF (Constant rates Factor) and dual pass ABR. Bitrate control is a method that determines how many bits are allocated for each video frame, and it determines the size and quality of the file.
If you need help compiling and installing
1. ffmepg Structure Description1.1 IntroductionFFmpeg (Fast Forward Moving Pictures Experts Group) is a complete solution for audio and video separation, conversion, encoding and decoding, and streaming media. The most important solution is the libavcodec library, it is a complete open-source solution integrating recording, conversion, audio/video encoding and decoding functions. FFmpeg is developed based on Linux, but can be compiled and used in most operating systems. FFmpeg supports more than
1. ffmepg Structure Description1.1 IntroductionFFmpeg (Fast Forward Moving Pictures ExpertsGroup) is a complete solution for audio and video separation, conversion, encoding and decoding, and streaming media. The most important solution is the libavcodec library, which is a set of recording, conversion, audio/video encoding and decoding functions.A complete open-source solution. FFmpeg is developed based on Linux, but can be compiled and used in most operating systems. FFmpeg supports MPEG,DivX,
0 IntroductionWith the development of video coding and decoding technology, computer network technology, digital signal processing technology and embedded system, the remote video surveillance system with embedded network video server as the core has begun to emerge in the market. The system transmits the analog video signal from the camera directly into the video stream through the built-in embedded video encoder, which is transmitted through the com
transformation coefficients and motion vectors. The converted binary data is variable-length encoded data, and the data is also encoded in arithmetic.
2 Content Mode selection: The content mode is a probabilistic model for binary data statistics, which is selected from a number of selectable modes based on the statistical characteristics of some previously encoded data symbols. The content mode stores the probability of each bit "1" or "0".
3 Arithmetic code: The arithmetic
lavc: Specifies the video encoder as libavcodec;
-Lavcopts vcodec = mpeg4: vhq: vbitrate = 1800: Specifies the video encoder option.
It should be noted that the avi files recorded by rtv. sh do not have an index, so you cannot fast forward or return to the avi files directly played by mplayer. To this end, you can use the following script program to automatica
, for example, the encoding parameters used for the initial resolution encoder must be placed at the beginning of the media file, and the audio and video data are interleaved in full chronological order.
Progressive download Streaming media playback uses the standard HTTP protocol to deliver media data between the Web server and the client, while HTTP is hosted on TCP. TCP was originally designed for non-real time data transmission, and its optimizati
image formats, dynamic *. mov Based on Indeo compression method, and *. mpg video format based on Mpeg Compression Method.
*. ASF
ASF (Advanced Streaming Format advanced stream format ). ASF is a File compression format developed by Microsoft to compete with Real Player. ASF uses MPEG4
Compression Algorithm, compression ratio and image quality are both good. Because ASF is a video "stream" format that can be instantly watched on the Internet, i
at a specific interval-Me method: the available methods for setting motion estimation are zero phods log X1 EPZs (default) full-Dct_algo algo: the default DCT 1 ff_dct_fastint 2 ff_dct_int 3 ff_dct_mmx 4 ff_dct_mlib 5 ff_dct_altivec can be used to set the DCT algorithm.-Idct_algo algo: sets the IDCT algorithm. There are 0 ff_idct_auto default IDCT 1 ff_idct_int 2 ff_idct_simple 3 limit 4 limit 5 ff_idct_ps2 6 ff_idct_mlib 7 ff_idct_arm 8 limit 9 limit 10 ff_idct_simplearm-Er N is set to N 1 ff_
ff_dct_mmx 4 ff_dct_mlib 5 ff_dct_altivec can be used to set the DCT algorithm.
-Idct_algo algo: sets the IDCT algorithm. There are 0 ff_idct_auto default IDCT 1 ff_idct_int 2 ff_idct_simple 3 limit 4 limit 5 ff_idct_ps2 6 ff_idct_mlib 7 ff_idct_arm 8 limit 9 limit 10 ff_idct_simplearm
-Er N is set to N 1 ff_er_carefull default 2 ff_er_compliant 3 ff_er_aggressive 4 ff_er_very_aggressive
-EC bit_mask: sets an error mask to bit_mask. This value is the bit mask of the following value: 1 ff_ec_gue
ff_er_carefull default 2 ff_er_compliant 3 ff_er_aggressive 4 ff_er_very_aggressive
-EC bit_mask: sets an error mask to bit_mask. This value is the bit mask of the following value: 1 ff_ec_guess_mvs (default = enabled) 2 ff_ec_deblock (default = enabled)
-BF frames uses frames B frames and supports mpeg1, MPEG2, and MPEG4
-Mbd mode macro block decision 0 ff_mb_decision_simple use mb_cmp 1 ff_mb_decision_bits 2 ff_mb_decision_rd
-4mv: use four motion
unnecessary files in the system. Therefore, this article uses the method of selecting the appropriate optimization parameters to find the files required by the player. After careful study of these parameters, the parameters set during compilation are obtained as follows:
./configure --enable-version3 --disable-encoders --enable-encoder=h263 --enable-encoder= amr_nb --disable-parsers --disable-bsfs --enable
-Part uses data division only for MPEG4
-Bug Param bypass is not automatically detected with the Encoder
-Strict strictness and standard rigor
-AIC enables advanced in-frame encoding h263 +
-Umv enables infinite Motion Vector h263 +
-Deinterlace
-Interlace forced interlace encoding is only valid for MPEG2 and MPEG4. This option is used when your in
ff_ec_guess_mvs (default = enabled) 2 ff_ec_deblock (default = enabled)
-BF frames uses frames B frames and supports mpeg1, MPEG2, and MPEG4
-Mbd mode macro block decision 0 ff_mb_decision_simple use mb_cmp 1 ff_mb_decision_bits 2 ff_mb_decision_rd
-4mv: use four motion vectors for MPEG4 only
-Part uses data division only for MPEG4
-Bug Param bypass is not autom
automatically detected with the Encoder
-Strict strictness and standard rigor
-AIC enables advanced in-frame encoding h263
-Umv enables infinite Motion Vector h263
-Deinterlace
-Interlace forced interlace encoding is only valid for MPEG2 and MPEG4. This option is used when your input is intertwined and you want to stay intertwined to minimize image loss. The optional method is not intertwined
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.