Anton Khirnov
03eff2bf43
libx264: use medium preset by default.
14 years ago
Reinhard Tartler
69c4bee8fa
libx264: Include hint for possible values for configuring libx264
...
The output of the x264 commandline tool contains the most uptodate
description of the possible values for the -preset, -tune and -profile
options.
14 years ago
Baptiste Coudurier
5caa2de19e
libx264: do not set pic quality if no frame is output
...
Avoids uninitialized reads.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Baptiste Coudurier
07a227b432
libx264: add preset, tune, profile and fastfirstpass private options
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Erik Slagter
045ef52ef5
libx264.c: distinguish between x264 parameter errors.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
d39b33c63b
libx264: fix open gop default.
...
Please use -x264opts to force open gop
This fixes Ticket268
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Etienne Buira
1e9b302690
libx264: fix double free
14 years ago
Etienne Buira
5e0dafe8ca
Fix memleak
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Etienne Buira
28768579aa
Fix typo
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Etienne Buira
5918d16742
Minor cleanup in libx264.c
...
Not needed as overwritten later on (look for "// update AVCodecContext
with x264 parameters"), and not accessed inbetween.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
5655469ee7
libx264: support aspect Ratio Switch
14 years ago
Stefano Sabatini
458f20bc75
libx264: specify field for default union values in options
...
Fix warnings.
14 years ago
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