Niklas Haas
e1a0f2df3d
avcodec: add API for automatic handling of icc profiles
...
This functionally already exists, but as pointed out in #9672 and #9673 ,
requiring users to manually include filters is clumsy, error-prone and
hard to use together with tools like ffplay.
To streamline ICC profile support, add a new AVCodecContext flag to
globally enable reading and writing ICC profiles, automatically, for all
appropriate media types.
Note that this commit only includes the new API. The implementation is
split off to separate commits for readability.
Signed-off-by: Niklas Haas <git@haasn.dev>
2 years ago
Andreas Rheinhardt
d85c41b572
avcodec: Remove private options from AVCodecContext
...
Several options that were too codec-specific were deprecated between
0e6c853221
and
0e9c4fe254
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Andreas Rheinhardt
78ce00428f
avcodec: Remove deprecated coder type options
...
Deprecated in be00ec832c
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Andreas Rheinhardt
6cf0cb8935
avcodec: Remove deprecated stat-bits fields
...
Deprecated in 16216b713f
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Andreas Rheinhardt
3072438429
doc/codecs.texi: Remove removed or ineffective options
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
4 years ago
Gyan Doshi
ab6a56773f
doc/codecs: add entries for export_side_data
...
Document addition of venc_params and film_grain.
4 years ago
Harry Mallon
811514abb7
libavcodec/options_table: Add missing colorspace options
...
* chroma-derived-nc / chroma-derived-c and ictcp
Signed-off-by: Harry Mallon <harry.mallon@codex.online>
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
4 years ago
Limin Wang
3c346298f9
doc: add dia_size option documentation
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
5 years ago
Marton Balint
82f9eb6f6c
avcodec: move mpeg4 profiles to profiles.h
...
Also bump micro version after the recent option changes.
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Marton Balint
d55f1cc58b
avcodec/options_table: remove dts profiles
...
Our encoder (dcaenc) does not use any of these.
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Marton Balint
aee036cdd0
avcodec: move aacenc profiles to profiles.h
...
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
Marton Balint
337fe4bcc2
avcodec/options_table: make AVCodecContext->profile search for child constants
...
This change makes it possible for child encoders to define custom profile
option names which can be used for setting the AVCodecContext->profile.
Also rename unit name to something rather unique, so it won't be used elsewhere.
Signed-off-by: Marton Balint <cus@passwd.hu>
5 years ago
James Almer
d005a7cdfd
avcodec: add an AVCodecContext flag to export PRFT side data on demand
...
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
James Almer
c666689491
avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export
...
Add an initial mvs flag to is, analog to the export_mvs flags2 one.
Signed-off-by: James Almer <jamrial@gmail.com>
5 years ago
Jun Zhao
a27c0781dd
doc/codecs: Update documentation for flags/flags2
...
Update documentation for flags/flags2
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
5 years ago
Jun Zhao
af5f770113
doc/codecs: Add missing documentation for nointra
...
Add missing documentation for nointra.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
6 years ago
Gyan Doshi
6e0488cac4
doc/codecs: mention error returned for flag AV_CODEC_FLAG_DROPCHANGED
6 years ago
Gyan Doshi
3153a6502a
avcodec: add AV_CODEC_FLAG_DROPCHANGED to flags
...
Discard decoded frames which differ from first decoded frame in stream.
6 years ago
Moritz Barsnick
885a80d189
doc: fix various typos
...
Found with the help of codespell-1.14.0.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro>
6 years ago
Carl Eugen Hoyos
0cb1ccd1d1
doc/codecs: Do not mention a removed flags.
6 years ago
Carl Eugen Hoyos
7c333dc6a7
doc/codecs: Remove option sc_factor.
...
Fixes ticket #7228 .
The option was disabled since 4a62f477
and removed in 6e69525e
.
7 years ago
Gyan Doshi
b50f68bb1e
docs/codecs: remove dead codec debug options
...
FF_API_DEBUG_MV has been disabled. Related options removed from docs.
Mention of non-existent debug option value 'pts' also removed.
7 years ago
Carl Eugen Hoyos
3c113421ed
doc/codecs.texi: Remove documentation of removed codec flags.
...
The flags were removed in b79a7da3
7 years ago
James Almer
eb5f846339
avcodec: drop deprecated vismv option
...
Deprecated in 08/2014.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Michael Niedermayer
014d47ed74
doc/codecs: Change common boolean parameters listed to "bool"
...
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
ec1f869f0f
doc/codecs: Add missing documentation for apply_cropping
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Clément Bœsch
b22c4d822b
doc/codecs: add jedec-p22
8 years ago
Moritz Barsnick
5dbce5120b
doc: document cutoff option to ac3 and adjust the option's global documentation
...
cutoff is implemented as an option global to lavc, but supported only
by a few encoders. This fact is now reflected in its documentation. ac3's
support of this option is added for completeness.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
2f07830e69
avcodec: Add max_pixels options
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
2d9433ded9
doc/codecs.texi: add new and missing color related options
...
Found-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Moritz Barsnick
99d68d462f
doc: fix various typos and grammar errors
...
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
a68f1ae6b1
doc/codecs.texi: fix and expand color related options
...
Found-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
e1de62c5be
doc: Add color_trc values
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Andrey Utkin
abb69a2f2b
avcodec: Add "sar" alias to "aspect" option of video encoders
...
It is impossible to pass "aspect" parameter to encoder from ffmpeg CLI
because option from lavc/options_table.h is eclipsed by option with same
name in ffmpeg_opt.c, which has different meaning (DAR, not SAR).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
9 years ago
Lou Logan
06eef96b69
fix some a/an typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
9 years ago
Stefano Sabatini
51c5e924b9
doc/codecs: extend documentation for the threads option
9 years ago
Stefano Sabatini
106cab1152
doc/codecs: mention GOP in the g option
...
This helps when grepping for "gop".
9 years ago
Michael Niedermayer
8623aba043
doc/codecs: Document color_range for the input side
...
Partly fixes Ticket 443
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
10 years ago
Nicolas DEROUINEAU
04a68f4348
avcodec/h264: Greenmetadata SEI parsing
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
843d93d286
doc/codecs: document nomc flag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
cba199b595
avcodec/options_table: add entries for MPEG4 video profiles
...
Fixes part of Ticket2901
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Lou Logan
919e038a95
doc: fix typos
...
Signed-off-by: Lou Logan <lou@lrcd.com>
10 years ago
Andreas Cadhalpun
b28652599d
doc: fix spelling errors
...
succesfully => successfully, reproducable => reproducible, specifiying => specifying, isnt => isn't, seperated => separated
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
bd0f866731
doc: Better documentation for the bitexact flag
...
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
d5633dfc28
doc: document -dump_separator
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Michael Niedermayer
f76cd09d46
doc: Add documentation for the whitelist options
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
f888331769
avfilter: add codecview filter
10 years ago
Clément Bœsch
b0352b1997
avcodec: export motion vectors in frame side data on demand
...
The reasoning behind this addition is that various third party
applications are interested in getting some motion information out of a
video "for free" when it is available.
It was considered to export other information as well (such as the intra
information about the block, or the quantization) but the structure
might have ended up into a half full-generic, half full of codec
specific cruft. If more information is necessary, it should either be
added in the "flags" field of the AVMotionVector structure, or in
another side-data.
This commit also includes an example exporting them in a CSV stream.
11 years ago
Stefano Sabatini
8c44376799
doc/codecs: extend documentation for thread_type option
...
Based on avcodec.h documentation.
11 years ago
Michael Niedermayer
08c5859f17
avcodec: add simpleauto idct
...
This will pick the "best" simple idct compatible idct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago