pkviet
84ee6512ed
avdevice/decklink_enc: enable 16 output channel
...
Decklink devices can output 2, 8 or 16 audio channels along video.
The code was limited to 2 or 8 channels. The commit enables 16 audio
channels (relevant for SDI outputs).
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Marton Balint
76a8b5e7ad
avdevice/decklink_dec: fix signed and unsigned comparison warning
...
Signed-off-by: Marton Balint <cus@passwd.hu>
7 years ago
Paul B Mahol
bf39f7eadc
avfilter/vf_zoompan: parse zoom,x and y expression during initialization
...
Fixes #6127 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
2ce43274e3
avfilter/vf_zoompan: switch to activate
...
Fixes #5182 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
99b6e68441
avfilter/af_amix: do not request samples if inlink reached EOF
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
James Almer
257f0d09f7
avcoec/snowenc: silence some deprecation warnings
7 years ago
Martin Vignali
435dd2ee4e
configure: add avx2 enabled log
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Paul B Mahol
7f5c655833
avfilter/af_amix: simplify const entries for duration in amix_options[]
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
15e9c4afdc
avfilter/af_amix: switch to activate
...
Really fixes hangs and infinite loops.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
473e18fdba
doc/filters: improve pseudocolor example
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Carl Eugen Hoyos
094d4d8691
lavc/sinewin_tablegen: Fix compilation with --enable-hardcoded-tables.
...
Reported by irc user JCount_.
7 years ago
Carl Eugen Hoyos
1c56becb9b
lavc/utils: Calculate frame duration for little-endian G.726.
7 years ago
Carl Eugen Hoyos
9d494c5e55
lavf/rawenc: Add little- and big-endian G.726 muxers.
7 years ago
Paul B Mahol
9d6aab6fa1
avfilter/af_surround: make volume configurable for front center and lfe channel
7 years ago
pkviet
e0436ddaa4
ffmpeg options: Enable trailing ? for map_channel
...
The -map option allows for a trailing ? so that an error is not thrown if
the input stream does not exist.
This capability is extended to the map_channel option.
This allows a ffmpeg command not to break if an input channel does not
exist, which can be of use (for instance, scripts processing audio
channels with sources having unset number of audio channels).
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
7c10068da1
avcodec/dvbsubdec: Check for duplicate regions in dvbsub_parse_page_segment()
...
Fixes: OOM
Fixes: 3051/clusterfuzz-testcase-minimized-5745818336231424
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
James Almer
8a0954dd51
avcodec: add missing FF_API_DEBUG_MV wrappers
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
2c800eb737
avcodec: make the avcodec_get_chroma_sub_sample deprecation effective
...
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
7 years ago
Derek Buitenhuis
add7b3bc3f
utils: Do not expand a macro with 'defined' in it
...
Fixes:
libswscale/utils.c:1632:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
#if USE_MMAP
^
libswscale/utils.c:1577:49: note: expanded from macro 'USE_MMAP'
#define USE_MMAP (HAVE_MMAP && HAVE_MPROTECT && defined MAP_ANONYMOUS)
^
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years ago
Derek Buitenhuis
9e02f35f6a
mjpeg: Add support for ICC side data
...
JPEGs store embedded profiles under the APP2 marker, signified
with a "ICC_PROFILE" null-terminated string header, and can be
split across multiple APP2 markers, out of order.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
7 years ago
Paul B Mahol
71907f2509
doc/filters: add pseudocolor example
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Muhammad Faiz
3ddd10290a
avfilter/af_firequalizer: fix minval on cepstrum calculation
...
The impulse response is scaled with 2/rdft_len.
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years ago
Paul B Mahol
48ddd8ddec
avfilter/src_movie: check ff_insert_outpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
5e706a2afb
avfilter/split: check ff_insert_outpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
0b940c95b2
avfilter/vf_decimate: check ff_insert_inpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
dfea94ce99
avfilter/vf_fieldmatch: check ff_insert_inpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
1a58da434a
avfilter/avf_concat: check ff_insert_pad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
01b986cf18
avfilter/f_select: check ff_insert_outpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
730734d4f3
avfilter/af_channelsplit: check ff_insert_outpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
99dd47a647
avfilter/vf_extractplanes: check ff_insert_outpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
9bd1bf382e
avfilter/f_interleave: check ff_insert_inpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
f39136b0a7
avfilter/af_merge: check ff_insert_inpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
db5604ac26
avfilter/af_join: check ff_insert_inpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
13f9639e3e
avfilter/af_headphone: check ff_insert_inpad() for failure
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Paul B Mahol
1e7ce6d925
avfilter/af_amix: check ff_insert_inpad() for failure
7 years ago
Paul B Mahol
4b96fd2b1e
avfilter/af_agate: switch to activate
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
7 years ago
Muhammad Faiz
e0e991f8a1
avfilter/af_firequalizer: reindent after previous commit
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years ago
Muhammad Faiz
ae1ce0db91
avfilter/af_firequalizer: add min_phase option
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
7 years ago
James Almer
e51073fe00
checkasm/vf_blend: rename addition128 and difference128 to grainmerge and grainextract
...
This was missing from f8d0689d3f
.
Fixes checkasm.
7 years ago
Alex Converse
cb96e9bea4
fate: add test vector aac-al04sf_48
7 years ago
Paul B Mahol
dbc9a8f21f
avcodec/aac: Add floating point 960/120 MDCT window
...
Co-Authored-By: Alex Converse <alex.converse@gmail.com>
Co-Authored-By: Rostislav Pehlivanov <atomnuker@gmail.com>
7 years ago
Paul B Mahol
f0f48884b0
avfilter/af_sidechaincompress: switch to activate
7 years ago
Paul B Mahol
f8d0689d3f
avfilter/vf_blend: rename addition128 and difference128 to grainmerge and grainextract
7 years ago
Carl Eugen Hoyos
f61e2dcfc3
lavf/g726: Demuxer for raw G.726 streams, both left- and right-justified.
...
Compatible with the binary encoder attached to ticket #6596 (right-aligned)
and a sample from a SEG Mp3-Player (left-aligned).
7 years ago
Carl Eugen Hoyos
cb1a3eecac
lsws/rgb2rgb: Add unscaled 48bit to 64bit rgb conversion.
...
Based on b4befca2
and 6b7849e6
by Paul B Mahol.
Fixes ticket #6608 .
7 years ago
Michael Niedermayer
351e28f9a7
ffprobe: Fix NULL pointer handling in color parameter printing
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
837cb4325b
ffprobe: Fix null pointer dereference with color primaries
...
Found-by: AD-lab of venustech
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
2b44dcbc44
avcodec/hevc_ps: Check delta_pocs in ff_hevc_decode_short_term_rps()
...
Fixes: integer overflow
Fixes: 2893/clusterfuzz-testcase-minimized-5809330567774208
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Dale Curtis
37e8edc9f5
avformat/mov: Fix trampling of ctts during seeks when sidx support is enabled.
...
When sidx box support is enabled, the code will skip reading all
trun boxes (each containing ctts entries for samples inthat box).
If seeks are attempted before all ctts values are known, the old
code would dump ctts entries into the wrong location. These are
then used to compute pts values which leads to out of order and
incorrectly timestamped packets.
This patch fixes ctts processing by always using the index returned
by av_add_index_entry() as the ctts_data index. When the index gains
new entries old values are reshuffled as appropriate.
This approach makes sense since the mov demuxer is already relying
on the mapping of AVIndex entries to samples for correct demuxing.
As a result of this all ctts entries are now 1-count. A followup
change will be submitted to remove support for > 1 count entries
which will simplify seeking.
Notes for future improvement:
Probably there are other boxes (stts, stsc, etc) that are impacted
by this issue... this patch only attempts to fix ctts since it
completely breaks packet timestamping.
This patch continues using an array for the ctts data, which is not
the most ideal given the rearrangement that needs to happen (via
memmove as new entries are read in). Ideally AVIndex and the ctts
data would be set-type structures so addition is always worst case
O(lg(n)) instead of the O(n^2) that exists now; this slowdown is
noticeable during seeks.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
c42a1388a6
avformat/rtpdec_h264: Fix heap-buffer-overflow
...
Fixes: rtp_sdp/poc.sdp
Found-by: Bingchang <l.bing.chang.bc@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago