Andreas Rheinhardt
ff02a42394
avformat/crcenc: Simplify writing trailer
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
James Zern
cb23c1e553
avcodec/libaomenc: use ctx->usage to get default cfg
...
this prevents some mismatches in config values for realtime and all
intra modes, avoiding failures like:
[libaom-av1 @ ...] Failed to initialize encoder: Invalid parameter
[libaom-av1 @ ...] Additional information: g_lag_in_frames out of
range [..0]
Signed-off-by: James Zern <jzern@google.com>
4 years ago
Paul B Mahol
7f194c7d96
avfilter/af_afreqshift: allow to change order of filters
4 years ago
Andreas Rheinhardt
0383ec88a5
avformat/av1dec: Disallow seeking by bytes
...
The low overhead OBU format provides no means to resync after performing
a byte-based seek; in other words: Byte based seeking is just not
supported.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
3f938cd46a
avformat/av1dec: Flush BSF upon seeking
...
The av1_merge_frame BSF outputs its cached data when it sees the
beginning of a new frame, i.e. when it sees a temporal delimiter OBU.
Therefore it typically has a temporal delimiter OBU cached after
outputting a packet.
This implies that the OBU demuxer must flush its BSF upon seeking
because otherwise the first frame returned after a seek consists
of an old temporal delimiter OBU only.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
4d200342a7
avformat/utils: Also set io_repositioned for generic seeking
...
It allows demuxers to perform certain tasks after
a successful generic seek.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
5a3385d49a
avcodec/av1_frame_merge_bsf: Passthrough pos in case of no timestamps
...
This is needed by the AV1-Annex B and AV1-OBU demuxers.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
172116fd5d
avformat/av1dec: Deduplicate Annex B and low overhead OBU AV1 demuxer
...
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
8a805095c1
avformat/av1dec: Set position of AVPackets given to BSF
...
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Michael Niedermayer
5e00eab611
avcodec/webp: Check available space in loop in decode_entropy_coded_image()
...
Fixes: Timeout
Fixes: 35401/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WEBP_fuzzer-5714401821851648
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years ago
Michael Niedermayer
65892516d5
avcodec/h264dec: use picture parameters in ff_print_debug_info2()
...
Fixes: out of array read
Fixes: 36341/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6737583085322240
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years ago
Michael Niedermayer
c59b5e3d1e
avcodec/vc1dec: ff_print_debug_info() does not support WMV3 field_mode
...
Fixes: out of array read
Fixes: 36331/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMV3_fuzzer-5140494328922112.fuzz
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
4 years ago
Andreas Rheinhardt
845579c6e2
avfilter/vf_xmedian: Free inpads' names generically
...
This affects only the xmedian filter, not tmedian.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
ad3b1fddb3
avfilter/vf_stack: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
07aacf5ea9
avfilter/vf_signature: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
65884bd81f
avfilter/vf_program_opencl: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
97c796176e
avfilter/vf_mix: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
0ba9089aec
avfilter/vf_mergeplanes: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
2142e71911
avfilter/vf_extractplanes: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
41c98bfe0a
avfilter/src_movie: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
0ce19ecd28
avfilter/split: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
a79852f1c1
avfilter/f_streamselect: Free pads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
64133506f7
avfilter/f_select: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
f6c6a51d98
avfilter/f_segment: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
b8e31568df
avfilter/f_interleave: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
fbfcb012ac
avfilter/avf_concat: Free pads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
f28db2ca27
avfilter/af_lv2: Free inpad's name generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
7670e24eb0
avfilter/af_ladspa: Free inpad's name generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
d2e72473df
avfilter/af_join: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
ad5d056dc3
avfilter/af_headphone: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
0e936381ff
avfilter/af_amix: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
414c1b9b62
avfilter/af_amerge: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
c54c8836cf
avfilter/af_afir: Free inpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
59b465e4df
avfilter/af_acrossover: Free outpads' names generically
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
f308f37441
avfilter/avfilter: Allow to free non-static pads generically
...
This can be enabled/disabled on a per-pad basis by setting
the AVFILTERPAD_FLAG_FREE_NAME flag; variants of ff_append_(in|out)pads
that do this for you have been added and will be put to use in the
following commits.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Andreas Rheinhardt
dff1709eb2
avfilter/internal: Uninline ff_insert_(in|out)pad()
...
These functions are not hot at all.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago
Gyan Doshi
d905af0c24
avformat/mov: add AVFMT_SHOW_IDS flag
...
The MOV muxer can store streamids as track ids but they aren't
visible when probing the result via lavf/dump or ffprobe due to
lack of this flag in the demuxer.
4 years ago
Paul B Mahol
da6aab45e4
avfilter/vf_v360: fill unused regions too for orthographic output format
4 years ago
Paul B Mahol
1616f7fb28
avfilter/vf_v360: refactor rescaling of i/j
4 years ago
Nicolas George
252128561e
tools/dvd2concat: use option keyword
...
subfile,,start,X,end,Y,,: is ugly and will be gone some day.
4 years ago
Nicolas George
6d82d894ee
tools/dvd2concat: document that -protocol_whitelist is needed
4 years ago
Nicolas George
0210c8fee2
lavf/concatdec: support per-file options
4 years ago
Nicolas George
46fb395952
libavformat/concatdec: remove support for unsafe=-1
...
It only makes sense as the default value,
but it is not the default since 689211d572
.
4 years ago
Paul B Mahol
5b258c2770
avfilter/af_astats: remove invalid 5x factor in window size calculation
...
Also allow smaller window sizes, and change histogram for noise
floor calculation to uint64_t type.
4 years ago
Paul B Mahol
99ccad843f
avfilter/aevalsrc: switch to activate
...
Allow to set the EOF timestamp.
FATE test is updated, as last 2 frames were duplicated.
4 years ago
Paul B Mahol
6854cc2ec7
avfilter/asrc_hilbert: switch to activate
...
Allow to set the EOF timestamp.
4 years ago
Paul B Mahol
5e2e9d50ce
avfilter/asrc_afirsrc: switch to activate
...
Allow to set the EOF timestamp.
4 years ago
Paul B Mahol
9153038e0a
avfilter/asrc_sinc: switch to activate
...
Allow to set the EOF timestamp.
4 years ago
Nicolas George
52091fcb5c
lavfi/sine: switch to activate
...
Allow to set the EOF timestamp.
Signed-off-by: Nicolas George <george@nsup.com>
4 years ago
Andreas Rheinhardt
a1094eaa30
doc/filters.texi: Correct asegment example
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
4 years ago