x264 (x86/x64) - это свободная библиотека программных компонентов для кодирования видеопотоков H.264/MPEG-4 AVC.
x264 (x86/x64) is a free library for encoding H.264/MPEG-4 AVC video streams.
Изменения / Changes (1901-1913):
-
Fix some Intel compiler warnings;
-
Fix shadowed variable warning in ffms.c;
-
Fix crash in mp4 muxer after failure of x264_encoder_open;
-
Fix malloc of zero size. Caused x264 to fail with some settings on systems that return a NULL pointer for malloc(0), like Solaris;
-
Fix dumb bug caused by stray semicolon. Caused noise reduction to run incorrectly in part of RD, but probably had no effect.;
-
Fix signedness bug in CPU detection. Luckily didn't affect anything due to C signedness rules.;
-
Fix memory leak on encoder close if not all frames are flushed;
-
Remove obsolete mvcost init code;
-
Use bs_write1 wherever possible in header writing;
-
Improve slice-max-size handling of escape bytes. More accurate but a bit slower. Helps deal with a few obnoxious corner cases where the current algorithm failed;
-
Frame-packing 3D: don't place scenecuts on right views. Caused problems for some players;
-
Add AVX functions where 3+ arg commands are useful;
-
Fix 10L in r1912. SSSE3 code got used in MMX/SSE2 and vice versa (in hpel).
Encoder features :
-
CAVLC/CABAC
-
Multi-references
-
Intra: all macroblock types (16x16, 8x8, and 4x4 with all predictions)
-
Inter P: all partitions (from 16x16 down to 4x4)
-
Inter B: partitions from 16x16 down to 8x8 (including skip/direct)
-
Ratecontrol: constant quantizer, single or multipass ABR, optional VBV
-
Scene cut detection
-
Adaptive B-frame placement
-
B-frames as references / arbitrary frame order
-
8x8 and 4x4 adaptive spatial transform
-
Lossless mode
-
Custom quantization matrices
-
Parallel encoding of multiple slices
Advanced settings :
-
Enabling Cabac: approximately 10% bitrate reduction without loss in quality, but is slow.
-
Enabling De-blocking Filter: smooths out visible blocks during an encode (rather than by using post processing to smooth out blocks while decoding). Is a good idea to enable for low bitrate encodes.
Возможности кодека x264:
-
Контекстнозависимое Адаптивное Бинарное Арифметическое кодирование (CABAC) и Контекстнозависимое Адаптивное Кодирование с Переменной Длиной Кодового Слова (CAVLC)
-
Поддержка нескольких ссылочных кадров
-
Все intra типы макроблоков (16x16, 8x8 и 4x4 — 8x8 это часть AVC HP)
-
Все inter типы макроблоков P фрейма
-
B-Inter типы макроблоков от 16x16 до 8x8
-
Оптимизация отношения вносимых искажений к скорости потока
-
Несколько режимов работы управления скоростью потока: постоянный квантователь, постоянное качество, одно- или многопроходный ABR с режимом VBV
-
Обнаружение смены сцены
-
Адаптивная расстановка B-кадров, с возможностью использования B кадров как ссылочных кадров
-
8x8 и 4x4 адаптивное пространственное преобразование (High Profile)
-
Режим сжатия без потерь (отклоненный High Profile 4:4:4)
-
Произвольные матрицы квантования (High Profile)
-
Параллельное кодирование на нескольких CPU
-
Поддержка компрессии кадров с чересстрочной разверткой (неадаптивный MBAFF — все макроблоки кодируются в режиме чересстрочных)
Доступные настройки кодека для профессионалов:
-
Кодирование Cabac: приблизительно 10%-ое снижение битрэйта без потери качества.
-
Фильтр деблокирования: показывает видимые блоки во время кодирования (гораздо лучший метод по сравнению с пост-процессингом). Отличный метод для кодирования с использованием низкого битрэйта.
Unpatched, fprofiled, GCC 4.5.3: (svn rev. 170256, Pre-Release , 2011.02.17); (avs input, lavf input, ffms input, mp4 output.); (ffmpeg git-bf6fa73, ffms2 svn.448, pthreads cvs.2.9.0, gpac svn.2690, all static).:
|