Luca Barbato
8655c54160
libvpx: Support the vp9 extended profiles
...
Bump the minimum libvpx version to 1.3.0 and rework the configure logic
to fail only if no decoders and encoders are found.
Based on the original patch from Vittorio.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Luca Barbato
05bf3f54e6
libvpx: Do not set vp8 only parameters when encoding in vp9
10 years ago
Vittorio Giovara
93f7948136
libvpx: Fix mixed use of av_malloc() and av_reallocp()
...
This buffer is resized when vpx_codec_get_cx_data() returns a
VPX_CODEC_STATS_PKT packet.
CC: libav-stable@libav.org
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Vittorio Giovara
771656bd85
libvpxenc: clean memory on error
...
CC: libav-stable@libav.org
Bug-Id: CID 733795
10 years ago
Anton Khirnov
685be3d1ae
libvpxenc: add static-thresh private option
...
Currently, this option is accessed through AVCodecContext.mb_threshold,
which originally controlled reusing MB data when transcoding mpeg to
mpeg. Since the libvpx meaning is completely different from the original
mpegvideo meaning, it is better to use a separate private option for
this.
10 years ago
Gabriel Dume
4b1f5e5090
cosmetics: Write NULL pointer inequality checks more compactly
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Rafaël Carré
9affa784a0
vp9 encoder: use a decent default speed setting
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years ago
Alexandra Khirnova
9b8d11a76a
avcodec: Use av_reallocp where suitable
...
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years ago
Guillaume Martres
9aa053cede
libvpx: do not mark VP9 as experimental when using libvpx >= 1.3.0
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years ago
Anton Khirnov
5b9c3b4505
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
11 years ago
Diego Biurrun
b2bed9325d
cosmetics: Group .name and .long_name together in codec/format declarations
12 years ago
Luca Barbato
3f111804eb
libvpx: make vp8 and vp9 selectable
...
Support older libvpx versions.
12 years ago
Luca Barbato
dab1f543fc
libvpx: support vp9
...
This feature is experimental use at your risk
12 years ago
Martin Storsjö
774e6fc9ed
libvpxenc: Support forcing keyframes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
James Zern
12776d5d2a
libvpxenc: Allow enabling constrained quality (CQ) mode
...
The CQ mode was introduced in libvpx 0.9.6.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
13 years ago
Martin Storsjö
e6153f173a
avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
d58dd4b5b5
avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
124134e424
avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
4aa3d7b3f2
libvpxenc: use the default bitrate if not set
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Martin Storsjö
1d9c2dc89a
Don't include common.h from avutil.h
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
36ef5369ee
Replace all CODEC_ID_* with AV_CODEC_ID_*
13 years ago
Martin Storsjö
00c3b67b8a
cosmetics: Align codec declarations
...
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
d8f3365fb0
libvpxenc: switch to encode2().
13 years ago
Alex Converse
b0f29db5c2
Mark mutable static data const where appropriate.
13 years ago
Janne Grunau
f6a152db11
threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs
13 years ago
Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
14 years ago
Anton Khirnov
24ec9ac475
libvpx: fix build with older libvpx versions.
...
VPX_ERROR_RESILIENT_DEFAULT and VPX_ERROR_RESILIENT_PARTITIONS weren't
defined before 4cb0ebe5b27d35ccc2a78c1d16f2622ddef21f74 (CommitDate: Tue
Jun 28 11:10:17 2011)
14 years ago
Luca Barbato
6450f26c9a
libvpxenc: use libvpx's own defaults for some parameters
...
Specifically, qmin/qmax, gop_size and keyint_min.
Fixes bug 47.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Luca Barbato
e3eb015ba4
vpxenc: add private options
...
Make libvpx support close to the libx264 one. Thanks to
Jan Gerber <j@v2v.cc> for the support.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
14 years ago
Robert Swain
954a653216
vorbis: vpxenc: Add missing include for av_rescale*
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
James Zern
88aa215939
vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping
...
via the equivalent AVCodecContext::mb_threshold
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
James Zern
9d845ca40c
Avoid rollover in settings conversion.
...
Patch by James Zern, jzern google
Originally committed as revision 25941 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
15 years ago
Benoit Fouet
1aa15491f2
Fix doxygen comments.
...
/**\u2264 => /**<
Originally committed as revision 24661 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
53cf47829a
Map rc_buffer_size to and c_initial_buffer_occupancy to their libvpx
...
counterparts.
Patch by James Zern, jzern at google
Originally committed as revision 24566 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
7eb185e0a3
Map settings for 2-pass libvpx encoding.
...
Patch by James Zern, jzern at google
Originally committed as revision 24430 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
f07c9895e0
Do not map video quantizer scale (from 1-51 to 0-63) for libvpx anymore.
...
Patch by James Zern, jzern google
Originally committed as revision 24223 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
83a68cd64f
Set libvpx encoding profile to libavcodec's profile.
...
Patch by James Zern, jzern google
Originally committed as revision 24201 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Martin Storsjö
00ce2cbed5
libvpx: Set the libvpx frame dropping threshold to frame_skip_threshold
...
The default for frame_skip_threshold is 0, which thus disables the libvpx
frame dropping.
Originally committed as revision 23522 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
07777c2d5c
libvpx: Don't use the VPX_KF_FIXED mode
...
This mode emits no keyframes at all, despite its name.
Patch by James Zern, jzern at google dot com
Originally committed as revision 23521 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
082a0a33c4
Use new macro AV_BASE64_SIZE.
...
Patch by James Zern, jzern google com
Originally committed as revision 23515 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
James Zern
ee0e91462c
VP8 encoding via libvpx.
...
Patch by James Zern, Google, Inc.
Originally committed as revision 23449 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago