Michael Niedermayer
d1f9621d39
libx264: support passing arbitrary parameters.
...
Idea taken from mencoder. This should fix conflicts with presets as long as
the new system is used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Jindrich Makovicka
e25c67108a
libx264: handle closed GOP codec flag
...
Also update libx264 presets to keep closed gop as default.
Signed-off-by: Jindrich Makovicka <makovick@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Baptiste Coudurier
580fa76c5c
Allocate per codec options, now that options are freed between inputs and outputs.
14 years ago
Stefano Sabatini
ce5e49b0c2
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Baptiste Coudurier
97dc86b793
In libx264 wrapper, change wpredp to a codec specific option.
14 years ago
Baptiste Coudurier
c225615bf2
In libx264 wrapper, fix side effect with has_b_frames, bframe_pyramid can be set
...
when bframe is not.
14 years ago
Robert Leatherwood
03ac799128
Rm duplicated define for OPT_STR.
14 years ago
Baptiste Coudurier
20a160484f
In libx264 wrapper, detect default settings and use medium profile to avoid failure.
14 years ago
Baptiste Coudurier
2c18893a91
In libx264 wrapper, correctly support 2pass log filename option.
14 years ago
Baptiste Coudurier
f92b0084c0
In libx264 wrapper, add -level specific option.
14 years ago
Baptiste Coudurier
37c0a443f9
Fix libx264 fastfirstpass, move apply_fastfirstpass after user customized options.
14 years ago
Baptiste Coudurier
46f83e5b3c
In libx264 wrapper, do not set pic quality if no frame is output, avoids
...
uninitialized reads.
14 years ago
Baptiste Coudurier
0140d3f092
In libx264 wrapper, add -preset and -tune options
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Jason Garrett-Glaser
2c855cea85
Fix broken vbv_buffer_init handling in libx264.c
...
Due to being pants-on-head retarded, libavcodec defaults this to zero, which
results in broken output. This didn't affect ffmpeg.c, which sets it itself,
but caused problems for other calling apps using VBV.
(cherry picked from commit f7f8120fb9
)
14 years ago
Jason Garrett-Glaser
f7f8120fb9
Fix broken vbv_buffer_init handling in libx264.c
...
Due to being pants-on-head retarded, libavcodec defaults this to zero, which
results in broken output. This didn't affect ffmpeg.c, which sets it itself,
but caused problems for other calling apps using VBV.
14 years ago
Diego Elio Pettenò
e7e2df27f8
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
14 years ago
Marco Gittler
5f58927baf
Pass field order flag to libx264
...
Signed-off-by: Jason Garrett-Glaser <jason@x264.com>
(cherry picked from commit b09f548285
)
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Marco Gittler
b09f548285
Pass field order flag to libx264
...
Signed-off-by: Jason Garrett-Glaser <jason@x264.com>
14 years ago
Jason Garrett-Glaser
3cf8db9447
Add fullrange support to libx264.c x264 interface
...
Originally committed as revision 25904 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
2c5168afed
Remove bitrate tolerance from libx264 interface
...
Nobody ever uses it correctly, and ffmpeg sets it incorrectly, so we'll just
leave it out.
Originally committed as revision 25720 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Nicolas George
3ab354d777
Make libx264 take the pict_type input parameter into account,
...
thus making forced key frames work.
Patch by Nicolas George, nicolas d george a normalesup d org
Originally committed as revision 25567 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
James Zern
2aa72ecccc
Add new -slices option and use it for libvpx and libx264.
...
Patch by James Zern, jzern google
Originally committed as revision 25551 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Jason Garrett-Glaser
652d9d24dc
Properly initialize x264_picture_t in libx264.
...
Bump libx264 version requirement accordingly.
Originally committed as revision 23430 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
d545fa56f1
fix x264 encoding when delay is > number of input frames
...
Originally committed as revision 23197 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
e8c7fca90c
Add intra refresh and crf-max support to the libavcodec libx264 wrapper.
...
Minor version bump.
Originally committed as revision 23038 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
dbb4f0515f
vertical align in libx264.c
...
Originally committed as revision 22915 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Takashi Mochizuki
d749da7e8b
Fix typo: CODEC_FLAG2_SSIM is in flags2, not in flags.
...
Patch by Takashi Mochizuki mochi (A) da2 (.) so (dash) net (dot) ne (.) jp
Originally committed as revision 22759 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
f3b3b4895a
Enable more libx264 options, aq, psy, rc lookahead and ssim
...
Originally committed as revision 22670 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
76d81909ae
Update libx264.c to use new libx264 features
...
With b_keyframe instead of IDR for detecting keyframes, ffmpeg should now
support periodic encoding with periodic intra refresh (although there is no
interface option for it yet).
Set the new timebase values for full VFR input support.
Bump configure to check for API version 83.
Originally committed as revision 21317 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Loren Merritt
f543f636a5
revert r20775, because equivalent code has been committed to x264 instead
...
Originally committed as revision 20783 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
2d0cacded7
Boolify options passed to x264.
...
Originally committed as revision 20775 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Erik Slagter
25a42948c6
Add MBtree support for libx264
...
Patch by Erik Slagter
Originally committed as revision 20774 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
096c87f667
Add weightp support in API for libx264.
...
ffmpeg can encode baseline profile again.
Originally committed as revision 20600 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
1953898162
Update libx264.c for x264 API change
...
Change behavior of b-pyramid option.
Originally committed as revision 20308 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
8a8720c1bb
cosmetics: K&R coding style, prettyprinting
...
Originally committed as revision 20083 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Jason Garrett-Glaser
2d3beedee2
Add support for new x264 API.
...
Originally committed as revision 19977 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
fe022ce2f8
Fix libx264.c to not drop SEI userdata from x264 encoder.
...
Most muxers in ffmpeg ignore the SEI if it is placed in extradata, so instead
it has to be catted to the front of the first video frame.
Originally committed as revision 19310 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ralf Terdic
5c4e97282f
Fix mem leak.
...
Patch by Ralf Terdic contact >AT< jswiff com
Originally committed as revision 15612 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jason Garrett-Glaser
a5d2413345
x264 has removed the b-rdo and bime options, and instead integrated
...
them into the subme number to attempt to reduce the number of
unnecessary options. subme now scales up to 9.
Patch by Jason Garett-Glaser %darkshikari A gmail P com%
Originally committed as revision 15523 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
0bc4c436aa
sync to latest x264 git, field was renamed
...
Originally committed as revision 15337 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d4be08e0c9
Make X264_init() no longer assign avctx->rc_eq to libx264's context.
...
Fix a crash due to X264_init() setting the libx264 rc_eq field to NULL
when rc_eq was not defined. As a consequence rc_eq can no longer be
manually specified and passed to libx264, but this option is going to
be removed from the libx264 public API anyway.
See the thread: "Fix crash in libx264 when rc_eq is not set".
Originally committed as revision 15029 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
89223ef698
add esa/dia compat me options and new tesa for libx264
...
Originally committed as revision 13660 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
d9e5c9b718
x264 interlaced encoding option
...
Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
682a48a107
cleanup, remove useless parentheses
...
Originally committed as revision 13655 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago