ffmpeg/doc
Andreas Rheinhardt 3469cfab4a dump_extra: Don't add extradata if it already exists
The dump_extra bitstream filter currently simply adds the extradata to
the packets indicated by the user without checking whether said
extradata already exists in the packets. Besides wasting space
duplicated extradata in the same packet/access unit is also forbidden
for some codecs, e.g. MPEG-2.

This check has been added to be able to use the mpeg2_qsv encoder (which
only adds the sequence headers to the first packet) in broadcast
scenarios where repeating sequence headers are required.

The check used here is not perfect: E.g. dump_extra would add the
extradata to a H.264 access unit consisting of an access unit delimiter,
SPS, PPS and slices.

Fixes #8007.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-14 22:17:43 +02:00
..
doxy Merge commit '257f00ec1a' 2016-06-22 11:28:51 +02:00
examples examples/avio_reading: Use avio_context_free() to free AVIOContext 2019-04-23 08:36:39 +08:00
.gitignore Merge commit '257f00ec1a' 2016-06-22 11:28:51 +02:00
APIchanges avutil: add FF_DECODE_ERROR_DECODE_SLICES for AVFrame.decode_error_flags 2019-06-29 19:22:19 +02:00
authors.texi
bitstream_filters.texi dump_extra: Don't add extradata if it already exists 2019-07-14 22:17:43 +02:00
bootstrap.min.css
build_system.txt doc/build_system: Document checkheaders/alltools and consistency fixes 2019-05-28 09:12:17 +08:00
codecs.texi doc/codecs: mention error returned for flag AV_CODEC_FLAG_DROPCHANGED 2019-04-21 10:07:17 +05:30
decoders.texi doc: add basic documentation for libdav1d 2019-05-20 18:21:33 -03:00
default.css
demuxers.texi lavf/hls: Cleanup the applehttp 2019-04-15 21:36:45 +08:00
developer.texi doc/developer: update style guidelines to include for loops with declarations 2018-05-18 02:24:28 +01:00
devices.texi
doxy-wrapper.sh doc: make apidoc output independent of SRC_PATH 2016-01-02 12:11:36 +01:00
Doxyfile doc: fix spelling errors 2016-10-21 23:58:47 +02:00
encoders.texi doc/encoders: Document eld_v2 option for libfdk_aac encoder. 2019-05-28 09:12:17 +08:00
errno.txt doc/errno: fix description typo for ENAMETOOLONG 2015-12-18 04:04:14 +01:00
faq.texi doc/faq: update macOS and URLs 2019-02-11 10:13:31 +05:30
fate.texi doc/fate.texi: Mention that samples should be uploaded before pushing dependent commits 2018-10-31 22:32:13 +01:00
fate_config.sh.template Merge commit '35d1f726eb' 2017-05-05 09:27:18 +02:00
ffmpeg-bitstream-filters.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-codecs.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-devices.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-filters.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-formats.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-protocols.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-resampler.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-scaler.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-utils.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg.texi doc/ffmpeg: muxdelay and muxpreload are output options 2019-03-20 14:54:13 -07:00
ffmpeg.txt
ffplay.texi ffplay: added option always on top for video window 2019-05-20 17:51:43 -03:00
ffprobe.texi doc/ffprobe: fix typo and update URL in man 2019-02-09 20:01:18 +01:00
ffprobe.xsd fftools/ffprobe: Add S12M Timecode output as side data (such as SEI TC) 2019-05-27 00:28:34 +02:00
fftools-common-opts.texi doc/fftools-common-opts: document ffmpeg -h bsf=bitstream_filter_name 2019-06-14 13:19:26 +08:00
filter_design.txt doc: update filter_design.txt. 2017-09-12 11:03:51 +02:00
filters.texi doc/filters: document new remap filter option 2019-07-14 18:29:23 +02:00
formats.texi doc/formats: document f_strict/strict for AVFormatContext 2019-06-14 13:19:26 +08:00
general.texi avformat/ifv: added support for ifv cctv files 2019-06-21 22:02:14 +10:00
git-howto.texi Merge commit '41ed7ab45f' 2016-06-21 21:55:34 +02:00
indevs.texi doc/indevs: Add new option and example to avfoundation. 2019-07-08 20:02:41 +02:00
issue_tracker.txt Remove the ffserver program 2018-01-06 18:31:37 +00:00
lexicon doc: add a lexicon 2017-02-03 15:03:44 +01:00
libav-merge.txt doc/libav-merge: add a line about the previous skipped merge 2019-02-20 13:51:19 -03:00
libavcodec.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavdevice.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavfilter.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavformat.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavutil.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libswresample.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libswscale.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
mailing-list-faq.texi doc/mailing-list-faq: auto unsubscribe due to DMARC 2019-04-20 13:55:39 -08:00
Makefile doc: Add mailing list FAQ 2017-10-03 15:25:07 -08:00
metadata.texi doc/metadata: fix error in timebase description 2018-12-14 12:57:34 +01:00
mips.txt
multithreading.txt
muxers.texi doc/muxers: fix docs format for DASH muxer 2019-07-04 19:42:01 +08:00
nut.texi Merge commit '41ed7ab45f' 2016-06-21 21:55:34 +02:00
optimization.txt build: Prefer NASM assembler over YASM 2017-06-21 17:00:30 -03:00
outdevs.texi lavd: Remove libndi_newtek 2019-03-20 10:42:10 +00:00
patchwork doc/patchwork: Document the patchwork states 2016-10-26 19:46:00 +02:00
platform.texi configure: error out on unsupported MSVC versions 2018-05-18 02:22:57 +01:00
print_options.c Merge commit '2025d37871' 2017-03-29 15:20:10 +02:00
protocols.texi avformat/file: add seekable option to disallow seeking 2019-04-11 21:18:51 +02:00
rate_distortion.txt
resampler.texi swresample/options: enable linear_interp and exact_rational by default 2017-03-17 00:08:03 +07:00
scaler.texi doc/swscaler: explain default Lanczos parameter 2019-05-27 21:32:33 +05:30
snow.txt doc/snow: fix typos 2019-02-10 16:46:56 +01:00
style.min.css
swresample.txt
swscale.txt cosmetics: Fix spelling mistakes 2016-05-04 18:16:21 +02:00
t2h.init doc/t2h: use container 2016-10-03 00:16:27 +01:00
t2h.pm doc/t2h: use container 2016-10-03 00:16:27 +01:00
tablegen.txt
texi2pod.pl doc: escape left brace in texi2pod.pl regex 2016-07-10 13:34:57 +02:00
texidep.pl
undefined.txt doc: Add initial documentation explaining undefined behavior and SUINT 2017-07-21 17:37:05 +02:00
utils.texi lavu,lavfi,ffmpeg: Remove experimental OpenCL API 2017-11-22 23:20:39 +00:00
writing_filters.txt doc/writing_filters: Use ff_filter_get_nb_threads() get number of threads 2019-05-22 17:43:41 +08:00