Derek Buitenhuis
dfe7e5501d
FATE: Add test for muxing discontinuous MP4 fragments with large timestamps
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-10-19 13:25:21 +02:00
Michael Niedermayer
18ad44d145
avformat/movenc: Skip duration check for discontinuous fragments
...
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-19 13:25:21 +02:00
Jean Caillé
6498549fd7
lavf/mov: support gopro hero moments udta tag
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-19 13:25:21 +02:00
Sven C. Dack
1aa8fa418a
avfilter/vf_scale_npp: select cubic and lanczos as alternative where super-sampling is not supported
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-10-19 12:51:59 +02:00
Sven C. Dack
aebbcb2706
avcodec/nvenc_hevc: Added missing option -temporal_aq
...
The option is present in h264_nvenc, but was missing from hevc_nvenc.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-10-19 12:45:52 +02:00
Sven C. Dack
da4d0fa86b
avcodec/nvenc: add test for Temporal AQ support
...
Adds a check to see if the hardware supports temporal aq.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2016-10-19 12:41:41 +02:00
Matthieu Bouron
d5082a2ce7
lavc/mediacodec: use more meaningful filenames
...
Adds the following changes:
* mediacodecdec.{c,h} -> mediacodecdec_common.{c,h}
* mediacodecdec_h2645.c -> mediacodecdec.c
2016-10-19 10:50:56 +02:00
Matthieu Bouron
f62c54456d
lavc: add mpeg4 mediacodec decoder
2016-10-19 10:50:52 +02:00
Matthieu Bouron
0f7fce87ea
lavc: add vp8/vp9 mediacodec decoders
2016-10-19 10:50:12 +02:00
Matthieu Bouron
b8c158a4ed
lavc/mediacodec_wrapper: do not discard codecs reporting they do not support any profile
...
Depending on the device, some (VP8/VP9/...) decoders report that they do
not support any profiles.
2016-10-19 09:52:15 +02:00
Muhammad Faiz
23b6f880d6
avfilter/firequalizer: add cubic_interpolate function on gain
...
smoother version of gain_interpolate
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-19 14:05:46 +07:00
James Almer
0ad71ed6f9
avformat/matroskadec: fix BitsPerChannel element's default value
...
The element is currently ignored, so there's no effective functionality
change with this.
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-18 23:55:32 -03:00
James Almer
f5cfc0cc54
avformat/matroskadec: clarify some Colour element defaults using enum values
...
This way it's more clear what the default values refer to, as
Undetermined/Unspecified is 0 for some, 2 for others.
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-18 23:55:05 -03:00
James Almer
ea201ad14c
avformat/mov: pass the demuxer's AVFormatContext to avpriv_request_sample()
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-18 23:09:02 -03:00
Aman Gupta
f45d5e07dd
lavc/videotoolboxenc: skip SEI allocation when side data is not present
...
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-18 19:51:42 -04:00
James Almer
47ee6f1a59
avformat/matroskadec: support parsing Chroma Location elements
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-18 20:39:07 -03:00
Rostislav Pehlivanov
d2ae5f77c6
aacenc: add SIMD optimizations for abs_pow34 and quantization
...
Performance improvements:
quant_bands:
with: 681 decicycles in quant_bands, 8388453 runs, 155 skips
without: 1190 decicycles in quant_bands, 8388386 runs, 222 skips
Around 42% for the function
Twoloop coder:
abs_pow34:
with/without: 7.82s/8.17s
Around 4% for the entire encoder
Both:
with/without: 7.15s/8.17s
Around 12% for the entire encoder
Fast coder:
abs_pow34:
with/without: 3.40s/3.77s
Around 10% for the entire encoder
Both:
with/without: 3.02s/3.77s
Around 20% faster for the entire encoder
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Reviewed-by: James Almer <jamrial@gmail.com>
2016-10-18 21:41:18 +01:00
Jon Toohill
3b02f6dd7b
lavf/mp3enc: write encoder delay/padding upon closing
...
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-18 20:19:43 +02:00
Jon Toohill
81f4f789de
lavc/libmp3lame: send encoder delay/padding in packet side data
...
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-18 20:19:29 +02:00
Muhammad Faiz
d3be186ed1
avfilter/firequalizer: add dumpfile and dumpscale option
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 22:41:43 +07:00
Muhammad Faiz
acd74f9200
swresample/resample: fix return value of build_filter
...
return AVERROR code on error
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 22:36:01 +07:00
Michael Niedermayer
9545ff3ec3
avcodec/mediacodec: Factor duplicate include
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-18 15:32:14 +02:00
Michael Niedermayer
2bd9956454
doc/examples/demuxing_decoding: Drop AVFrame->pts use
...
This code is not correct for git master
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-18 15:15:12 +02:00
Carl Eugen Hoyos
31a0a84216
lavf/avidec: Be more verbose when ignoring very large tag size.
2016-10-18 15:01:50 +02:00
Muhammad Faiz
2c1be03cb3
fate: add swr-convertaudio test
...
test for flt to s16
should pass on correct rounding to nearest
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 14:45:07 +07:00
Zhao Zhili
7853d838a6
avformat/tests/gitignore: add fifo_muxer entry
...
Reviewed-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-10-18 03:38:37 +02:00
Carl Eugen Hoyos
a20f3238be
lavf/avidec: Do not fail for very large idx1 tags.
...
Fixes demuxing the sample file from github pull request 197,
the size of its idx1 tag is 6171936 bytes, followed by a JUNK
tag of 9505704 bytes.
2016-10-18 00:25:41 +02:00
Andreas Cadhalpun
bc7e128a6e
westwood_aud: prevent division by zero
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-17 20:42:18 +02:00
Andreas Cadhalpun
9959a52b14
astdec: fix division by zero
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-17 20:41:26 +02:00
Muhammad Faiz
923488bdaa
avfilter/showcqt: add font option
...
this is fontconfig pattern
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 00:47:57 +07:00
Muhammad Faiz
92de89d14a
avfilter/firequalizer: optimize gain/gain_entry command
...
do not rebuild when gain/gain_entry command are
equal with old gain/gain_entry
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-18 00:47:42 +07:00
Carl Eugen Hoyos
df9b151a1b
doc: Update x264 option a53cc, forgotten in 93e04102
.
2016-10-17 19:11:18 +02:00
Andreas Cadhalpun
c143a9c96f
aiffdec: fix division by zero
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-17 18:24:48 +02:00
Carl Eugen Hoyos
f04c27fe7c
lavc/videotoolboxenc: Enable a53cc by default.
2016-10-17 17:50:29 +02:00
Andreas Cadhalpun
eb751f06db
matroskadec: fix NULL pointer dereference
...
The problem was introduced in commit 1273bc6
.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-17 15:50:26 +02:00
Rick Kern
d3874b74f3
lavc/videotoolboxenc: Error log formatting.
...
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17 08:58:17 -04:00
Rick Kern
9875695e2c
lavc/videotoolboxenc: Update a53cc handling
...
Handles insertion into existing SEI NAL unit, inserts emulation
prevention bytes.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17 08:58:17 -04:00
Rick Kern
aa413b810a
lavc/videotoolboxenc: flush/free frames on close
...
Prevents encode callback from running after codec is closed.
Fixes a crash when an error is returned.
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17 08:58:17 -04:00
Aman Gupta
9ea91e4114
lavc/videotoolboxenc: implement a53cc
...
Signed-off-by: Rick Kern <kernrj@gmail.com>
2016-10-17 08:58:17 -04:00
Hendrik Leppkes
656feb641d
mov: move stsd finalization to an appropriate place
...
mov_finalize_stsd_codec parses stream information from the ALAC extradata,
so run it after the extradata processing is completed in mov_read_stsd.
Fixes playback of 96kHz ALAC streams muxed by qaac or the reference alac encoder.
Fixes trac ticket #5826
2016-10-17 12:49:36 +02:00
Muhammad Faiz
1a9513bfbc
avfilter/firequalizer: add scale option
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-17 03:17:50 +07:00
Clément Bœsch
ad2d2ebd4e
ffmpeg: remove unused ist parameter in do_subtitle_out()
2016-10-16 19:22:19 +02:00
James Almer
8b59ce0342
Partially revert "avformat/matroskadec: set aspect ratio only when DisplayWidth and DisplayHeight are in pixels"
...
The code works just fine regardless of unit, so only make sure DisplayUnit
is not "unknown".
Found-by: Nicolas George <george@nsup.org>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-16 14:19:05 -03:00
James Almer
4b0f37dadb
avcodec/utils: print Chroma Location string in verbose log level
...
It's container level information on some formats (Matroska, MXF, yuv4mpeg), so
it should be printed at higher log levels than debug.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-16 12:18:39 -03:00
James Almer
90826031a2
avformat/matroskaenc: write a DisplayUnit element when aspect ratio is unknown
...
We don't currently support values 1 (centimeters), 2 (inches) or 3 (DAR),
only the default value 0 (pixels) which doesn't need to be written.
The fate refs are updated as unknown SAR is now signaled in the output
files with the addition of the new element.
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-15 20:48:03 -03:00
James Almer
bad8bbc26a
avformat/matroskadec: set aspect ratio only when DisplayWidth and DisplayHeight are in pixels
...
A missing DisplayUnit element or one with the default value of 0 means
DisplayWidth and DisplayHeight should be interpreted as pixels.
The current code setting st->sample_aspect_ratio is wrong when DisplayUnit
is anything else.
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2016-10-15 20:42:07 -03:00
Muhammad Faiz
8e53c1567c
doc/filters: document tukey window on firequalizer
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:54:34 +07:00
Muhammad Faiz
01ab60201b
avfilter/firequalizer: add tukey window
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:50:47 +07:00
Muhammad Faiz
7c5fca15bb
avfilter/firequalizer: change WFUNC_MIN/MAX to NB_WFUNC
...
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:48:36 +07:00
Muhammad Faiz
a11757d7cb
avfilter/showcqt: add csp option
...
from colorspace filter
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-10-16 05:41:09 +07:00