Anton Khirnov
6ce9546428
ffmpeg: deprecate passing numbers to -vsync
...
There is never a reason to do this, using symbolic names is always
preferred.
2021-12-07 11:23:45 +01:00
Gyan Doshi
ef00d40e32
doc/filters: note duration range in xfade
2021-12-06 16:35:47 +05:30
Anton Khirnov
2755e6f32a
doc/APIchanges: fix typo
2021-12-04 14:28:09 +01:00
Anton Khirnov
4258893961
ffmpeg: make -bits_per_raw_sample a per-output-stream option
...
Also, document it and make it apply to audio in addition to video.
2021-12-04 14:07:36 +01:00
Anton Khirnov
b9c928a486
avfilter: add AVFILTER_FLAG_METADATA_ONLY
...
This flag allows distinguishing between filters that actually modify the
data and those that only modify metadata or gather some stream
information.
2021-12-04 14:07:19 +01:00
Lynne
b236ef0a59
lavu/avframe: add a time_base field
...
This adds a time_base field to AVFrame, as an analogue to the
AVPacket.time_base field.
2021-12-03 22:41:00 +01:00
Paul B Mahol
fc9a686688
avfilter: add audio dynamic smooth filter
2021-12-02 09:39:27 +01:00
Paul B Mahol
11b11577fe
avfilter: add audio spectral stats filter
2021-12-02 09:35:36 +01:00
softworkz
939711905a
fftools/ffprobe: print size of attachment streams (extradata_size)
...
Signed-off-by: softworkz <softworkz@hotmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-11-29 21:30:11 +01:00
Limin Wang
86a2123a6e
avfilter/src_movie: add format_opts for the opened file
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-11-29 09:26:40 +08:00
rcombs
b2cd1fb2ec
lavu/pixfmt: add high-bit-depth semi-planar 4:2:2/4:4:4 formats
...
These are used by VideoToolbox hardware decoders.
2021-11-28 16:40:43 -06:00
Limin Wang
7bf4c06809
avformat/rtp: add localaddr for network interface selection
...
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-11-27 11:21:17 +08:00
Paul B Mahol
e38551180e
avfilter/af_biquads: add svf transform type
2021-11-26 00:55:32 +01:00
Timo Rothenpieler
b1f1de0844
avutil/hwcontext_cuda: add option to use primary device context
2021-11-22 23:03:21 +01:00
Chad Fraleigh
a90e41c590
doc/examples/metadata: Constify values from av_dict_get()
...
Treat values returned from av_dict_get() as const, since they are
internal to AVDictionary.
Signed-off-by: Chad Fraleigh <chadf@triularity.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-11-18 19:18:01 +01:00
Derek Buitenhuis
54e65aa38a
avutil: Add Dolby Vision RPU side data type
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2021-11-17 14:12:33 +00:00
Paul B Mahol
d401b1ccec
avfilter: add colorspectrum source video filter
2021-11-16 20:41:39 +01:00
Anton Khirnov
bd55552d69
ffmpeg: rewrite setting the stream disposition
...
Currently, the code doing this is spread over several places and may
behave in unexpected ways. E.g. automatic 'default' marking is only done
for streams fed by complex filtergraphs. It is also applied in the order
in which the output streams are initialized, which is effectively
random.
Move processing the dispositions at the end of open_output_file(), when
we already have all the necessary information.
Apply the automatic default marking only if no explicit -disposition
options were supplied by the user, and apply it to the first stream of
each type (excluding attached pics) when there is more than one stream
of that type and no default markings were copied from the input streams.
Explicitly document the new behavior.
Changes the results of some tests, where the output file gets a default
disposition, while it previously did not.
2021-11-16 10:51:32 +01:00
Anton Khirnov
d4ae2a20e8
cmdutils: add an option for listing stream dispositions
2021-11-16 10:51:32 +01:00
Anton Khirnov
a4c5d241ec
lavf: add "disposition" AVOption to AVStream AVClass
...
Use it to remove custom disposition parsing code from ffmpeg.c
2021-11-16 10:51:32 +01:00
Anton Khirnov
b731fb5104
lavf: add public functions converting dispositions to/from strings
2021-11-16 10:51:32 +01:00
Anton Khirnov
ed75a08d36
lavf: add an AVClass to AVStream on next major bump
...
Also add a function to retrieve that class, analogously to
avformat_get_class().
This will be useful for adding an AVOption for dispositions.
2021-11-16 10:51:32 +01:00
Paul B Mahol
a7dfa6b446
avfilter/v360: add support for off-axis projection output
2021-11-15 20:41:27 +01:00
Gyan Doshi
9e8cdb24cd
doc/filters: add details and ranges for colorkey
2021-11-15 17:16:56 +05:30
Marton Balint
0a9edac48e
avfilter/af_apad: do not add infinite silence for zero pad_dur or whole_dur
...
Unfortunately pad_len and pad_dur behaviour was different if 0 was specified,
pad_dur handled 0 duration as infinity, for pad_len, infinity was -1.
Let's make the behaviour consistent by handling 0 duration for pad_dur and
whole_dur as indeed 0 duration. This somewhat changes the behaviour of the
filter if 0 was explicitly specified, but deprecating the old option and adding
a new for the corrected behaviour seemed a bit overkill. So let's document the
change instead.
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-11-14 18:13:58 +01:00
Matthew White
bfbd5954e5
doc/t2h.pm: fix missing TOC with texinfo 6.8 and above
...
Since texinfo 6.8, there's no longer an INLINE_CONTENTS variable.
makeinfo: warning: set_from_init_file: unknown variable INLINE_CONTENTS
texinfo commit 62a6adfb33b006e187483779974bbd45f0f782b1 replaced
INLINE_CONTENTS with OUTPUT_CONTENTS_LOCATION.
texinfo commit 41f8ed4eb42bf6daa7df7007afd946875597452d replaced
OUTPUT_CONTENTS_LOCATION with CONTENTS_OUTPUT_LOCATION.
With texinfo 6.8 and above, the same as INLINE_CONTENTS=1 could be
achieved by CONTENTS_OUTPUT_LOCATION=inline.
https://www.gnu.org/software/texinfo/manual/texinfo/html_node/HTML-Customization-Variables.html
2021-11-14 09:30:06 +05:30
Matthew White
c980dd7a97
doc/t2h.pm: fix missing CSS with texinfo 6.8 and above
...
Since texinfo commit 6a5ceab6a48a4f052baad9f3474d741428409fd7, the
formatting functions, in particular begin_file, program_string and
end_file, are prefixed with format_, i.e. format_begin_file, etc.
This patch fixes building the documentation when texinfo 6.8, or
above, is used:
Unknown formatting type begin_file
at /usr/bin/makeinfo line 415.
Unknown formatting type program_string
at /usr/bin/makeinfo line 415.
Unknown formatting type end_file
at /usr/bin/makeinfo line 415.
2021-11-14 09:29:48 +05:30
Soft Works
89ba6e9a04
doc/developer: add description about safely sending patches via E-Mail clients
...
Signed-off-by: softworkz <softworkz@hotmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2021-11-13 19:55:20 +01:00
Limin Wang
ec6187b05b
avfilter/src_movie: make the number of decode thread configurable
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-11-12 17:23:01 +08:00
Lynne
511096c3a0
doc/APIchanges: fix typos and correct a date
2021-11-12 07:53:02 +01:00
Lynne
8478d60d5b
doc/APIchanges: update for Vulkan API changes
2021-11-12 05:23:41 +01:00
Paul B Mahol
aebdffb9c5
avfilter/vf_estdif: allow to change two more options
2021-11-11 21:54:40 +01:00
Paul B Mahol
dcf83fd59d
avfilter/vf_estdif: export distance cost as filter option
2021-11-09 09:49:39 +01:00
Zhao Zhili
7370f1f4c9
doc/muxers: note on Apple's version LHLS for lhls option
2021-11-05 15:34:30 -03:00
Zhao Zhili
a0f9650046
avformat/dashenc: enabling streaming and hls_playlist for lhls
...
Try to make the feature easier to use, especially since the user
have enabled -strict experimental manually. The user shouldn't
be surprised that hls_playlist is enabled for lhls automatically,
so change the log level from warning to info for that.
2021-11-05 15:32:11 -03:00
Thilo Borgmann
c42d513ede
lavf/mov: Change default to prefer TFDT time and allow for fallback to SIDX or TFDT
2021-11-05 16:22:04 +01:00
Roman Arzumanyan
08a501946f
avfilter/scale_npp: add scale2ref_npp filter
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2021-11-03 19:06:14 +01:00
Paul B Mahol
bf9950446d
avfilter/vf_chromanr: improve filtering results
2021-11-03 11:55:46 +01:00
Paul B Mahol
4f8494fe5a
doc/filters: fix typo for hsvkey/hsvhold
2021-10-29 23:32:08 +02:00
Paul B Mahol
8164fe1139
avfilter: add huesaturation filter
2021-10-29 23:18:27 +02:00
Paul B Mahol
148c030395
avfilter/vf_histogram: add more color modes
2021-10-27 11:29:29 +02:00
Paul B Mahol
97b5b9dbea
avfilter: split negate filter from lut filter
...
Using luts for negating is suboptimal.
FATE test changes because filter no longer clips values into limited color range.
2021-10-27 11:29:29 +02:00
Jan Ekström
682bafdb12
avformat/avio{,buf}: introduce public AVIOContext::bytes_{read,written}
...
Such fields can be seen as generally useful in cases where the
API user is not implementing custom AVIO callbacks, but still would
like to know if data is being read or written out, such as in case
data is being read from input but no AVPacket has been received yet.
2021-10-24 13:04:39 +03:00
Jan Ekström
a5622ed16f
avformat/avio{,buf}: deprecate AVIOContext::written
...
Originally added as a private entry in commit
3f75e5116b
, but its grouping with
the comment noting its private state was missed during merging of
the field from Libav (most likely due to an already existing field
in between).
2021-10-24 13:04:39 +03:00
Gyan Doshi
2aa343bb6f
doc/filters: add notes for varblur
2021-10-21 16:13:54 +05:30
Paul B Mahol
407acc0747
avfilter: add varblur video filter
2021-10-19 08:53:56 +02:00
Gyan Doshi
d04c005021
doc/filters: correct description of select filter variables
2021-10-18 14:28:04 +05:30
Paul B Mahol
5bcc61ce87
avfilter/vf_v360: add reset_rot option
2021-10-16 11:39:15 +02:00
Paul B Mahol
890cef1ff6
avfilter/vf_fftfilt: export FFT arrays size
2021-10-14 20:26:23 +02:00
Paul B Mahol
df05603291
avfilter/vf_histogram: add colors_mode option
2021-10-14 12:16:30 +02:00
Paul B Mahol
933765aa0e
avfilter: add xcorrelate video filter
2021-10-13 19:09:21 +02:00
Paul B Mahol
32eaf4069e
avfilter: add limitdiff video filter
2021-10-13 19:02:34 +02:00
Soft Works
dea673d0d5
avfilter/vf_palette(gen|use): support palettes with alpha
2021-10-13 18:52:14 +02:00
Limin Wang
6260c611c5
avformat/libsrt: add snddropdelay parameter for srt
...
Reviewed-by: "zhilizhao(赵志立)" <quinkblack@foxmail.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-10-11 18:43:47 +08:00
Paul B Mahol
148ada5577
avcodec: add native Speex decoder
2021-10-10 17:44:41 +02:00
Paul B Mahol
8f26ebde14
avfilter: add audio signal to distortion ratio filter
2021-10-09 14:10:09 +02:00
Paul B Mahol
95cae4922d
doc/filters: specify more axcorrelate design
...
The typical 1D normalized cross-correlation is not same as
1D windowed normalized cross-correlation.
2021-10-09 14:03:39 +02:00
Peter Ross
60a9d3778f
avcodec: GEM Raster image decoder
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Peter Ross <pross@xvid.org>
2021-10-08 20:37:36 +11:00
Roman Arzumanyan
ed084161ba
avfilter/sharpen_npp: add sharpening video filter with borders control
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2021-10-07 18:07:53 +02:00
Andreas Rheinhardt
b6aeee2d8b
examples/remuxing: Fix use of uninitialized value
...
Fixes Coverity ticket 1492326.
Regression since 53f374c08d
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-07 11:59:31 +02:00
Andreas Rheinhardt
9190302b2e
examples/qsvdec: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:50 +02:00
Andreas Rheinhardt
e9182820ad
examples/hw_decode: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
86ec1093eb
examples/filtering_video: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
a75f518b65
examples/filtering_audio: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
f495604361
examples/extract_mvs: Do not use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
0230d125cb
examples/muxing: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
53f374c08d
examples/remuxing: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
78426da3f4
examples/remuxing: Use av_packet_rescale_ts()
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Andreas Rheinhardt
8a23159797
fftools/ffmpeg, doc/examples: Remove redundant av_packet_unref
...
av_interleaved_write_frame() already returns blank packets.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:49 +02:00
Paul B Mahol
ba63078b0f
avfilter: add (a)latency filters
2021-10-02 18:49:40 +02:00
Limin Wang
da5497a1a2
avfilter/vf_codecview: added new options for block
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-10-01 07:49:00 +08:00
Arif Driessen
3ee4502753
doc/filters: note values for afftflt window function
2021-09-30 16:13:10 +05:30
Paul B Mahol
a673761ce8
avfilter/vf_blend: add few more modes
2021-09-30 01:22:48 +02:00
Paul B Mahol
df163487d0
avfilter/vf_blend: add harmonic mode
2021-09-29 19:33:59 +02:00
Paul B Mahol
8ebcff9111
avfilter/vf_blend: add geometric mode
2021-09-29 19:33:59 +02:00
Paul B Mahol
f3b07b8b12
avfilter/vf_morpho: add tophat and blackhat operations
2021-09-29 18:02:26 +02:00
Paul B Mahol
b4626da92b
avfilter/vf_morpho: add gradient operation type
2021-09-29 18:02:25 +02:00
Limin Wang
ed89be1e02
doc/encoders: add available values for libsvtav1 options
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-09-29 18:01:16 +08:00
Paul B Mahol
b2ec4edef7
avfilter: add morpho filter
2021-09-28 22:57:33 +02:00
Paul B Mahol
e2d40cd1d5
avfilter/vf_blend: add softdifference blend mode
2021-09-26 23:34:47 +02:00
Paul B Mahol
53f8a03123
avfilter/vf_colorchannelmixer: add extended preserve color support
2021-09-26 20:27:24 +02:00
Paul B Mahol
34102f8c07
avfilter/vf_colorlevels: add preserve color option
2021-09-26 20:27:23 +02:00
Soft Works
8983c3d7e4
avfilter/elbg: Extend filter to include alpha values in the quantization procedure
...
Usage example:
ffmpeg -y -loglevel verbose -i "..\fate-suite\apng\o_sample.png" -filter_complex "elbg=pal8=1:use_alpha=1" -frames:v 1 out.png
Signed-off-by: softworkz <softworkz@hotmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-26 17:34:08 +02:00
Manuel Stoeckl
0760d9153c
lavu/pix_fmt: add pixel format for x2bgr10
...
The new format (given in big/little endian forms) matches the
existing X2RGB10 format, except with B and R channels switched.
AV_PIX_FMT_X2BGR10 data often is created by OpenGL programs
whose buffers use the GL_RGB10 internal format.
Signed-off-by: Manuel Stoeckl <code@mstoeckl.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-09-26 16:26:10 +02:00
rcombs
c51bae03de
doc/demuxers: fix typo in concatdec options
2021-09-21 00:19:19 -05:00
Andreas Rheinhardt
8d5de914d3
avutil/mem: Deprecate av_mallocz_array()
...
It does the same as av_calloc(), so one of them should be removed.
Given that av_calloc() has the shorter name, it is retained.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-20 01:04:09 +02:00
Andreas Rheinhardt
1ea3650823
Replace all occurences of av_mallocz_array() by av_calloc()
...
They do the same.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-20 01:03:52 +02:00
Andreas Rheinhardt
176b8d785b
avcodec/avcodec, options_table: Deprecate sub_text_format
...
Unused since 1f63665ca5
.
Found-by: Soft Works <softworkz@hotmail.com>
Reviewed-by: Soft Works <softworkz@hotmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-20 01:03:48 +02:00
Anton Khirnov
dd846bc4a9
lavc: deprecate AV_CODEC_(FLAG|CAP)_TRUNCATED
...
It is supported only by a few decoders (h263, h263p, mpeg(1|2|)video
and mpeg4) and is entirely redundant with parsers. Furthermore, using
it leads to missing frames, as flushing the decoder at the end does not
work properly.
Co-authored-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-20 00:20:13 +02:00
Paul B Mahol
7747ab7ded
avfilter/avf_avectorscope: add support for commands
2021-09-19 13:49:55 +02:00
James Almer
ccfdef79b1
avutil/buffer: constify some function parameters
...
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2021-09-17 13:28:09 -03:00
James Almer
1dd3ab4876
doc/decoders: mention that some libdav1d options are deprecated
...
Signed-off-by: James Almer <jamrial@gmail.com>
2021-09-16 20:43:26 -03:00
Nicolas George
94aa7e8a76
lavf/concatdec: add stream_extradata directive
2021-09-16 10:17:59 +02:00
Nicolas George
2263ff505c
lavf/concat: add support for chapters
2021-09-16 10:17:59 +02:00
Nicolas George
0a267bc5e2
lavf/concatdec: add stream_codec directive
2021-09-16 10:17:59 +02:00
Nicolas George
c753b49c38
lavf/concatdec: support stream metadata
2021-09-16 10:17:59 +02:00
Nicolas George
76cf1ff979
lavf/concat: deprecate file_packet_metadata
2021-09-16 10:17:59 +02:00
Nicolas George
7517777d06
lavf/concat: add file_packet_meta directive
...
Same as file_packet_metadata without the double parsing.
2021-09-16 10:17:59 +02:00
Andreas Rheinhardt
6b08ed9f95
fftools/ffprobe: Don't access AVProgram.(start|end)_time
...
These are internal fields.
Reviewed-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-14 19:17:19 +02:00
Paul B Mahol
1db828db8b
avfilter/vf_xfade: add zoomin transition
2021-09-12 15:01:48 +02:00