OSDN Git Service
Michael Niedermayer [Thu, 8 Sep 2016 17:46:27 +0000 (19:46 +0200)]
avcodec/mlz: clear dict on allocation to ensure there are no uninitialized values
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Thu, 8 Sep 2016 16:11:30 +0000 (18:11 +0200)]
avcodec/alsdec: Fix raw_mantissa memleak
Fixes:
0cee183a09bff5aa5108429717c35a4d/asan_heap-oob_1d99eca_3702_9ef60e80de79082a778d3d9ce8ef3b64.mp4
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Thu, 8 Sep 2016 16:04:13 +0000 (18:04 +0200)]
avcodec/alsdec: Fix mlz memleak
Fixes:
0cee183a09bff5aa5108429717c35a4d/asan_heap-oob_1d99eca_3702_172c75af9868d4c2556a79cc2413f4cc.mp4
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Timo Rothenpieler [Thu, 8 Sep 2016 17:08:31 +0000 (19:08 +0200)]
avcodec/nvenc: use frame size instead of surface size
Sergey Volk [Wed, 7 Sep 2016 21:05:35 +0000 (14:05 -0700)]
avformat/mov: Fix potential integer overflow in mov_read_keys
Actual allocation size is computed as (count + 1)*sizeof(meta_keys), so
we need to check that (count + 1) won't cause overflow.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Thu, 8 Sep 2016 09:14:42 +0000 (11:14 +0200)]
fate: add shuffleframes test
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 8 Sep 2016 08:53:43 +0000 (10:53 +0200)]
avfilter/vf_shuffleframes: unbreak filter
Regression since
736e2e2c30088d0c2a428a51372c78a0bfb7f356.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 8 Sep 2016 08:26:33 +0000 (10:26 +0200)]
doc/filters: itemize shuffleframes & shuffleplanes examples
Add one more shuffleframes example.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Wed, 7 Sep 2016 19:34:44 +0000 (21:34 +0200)]
avformat/hlsenc: implement program_date_time
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Wed, 7 Sep 2016 20:19:45 +0000 (22:19 +0200)]
avfilter/vf_waveform: make possible to change background opacity
Only useful if output pixel format have alpha.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Matthieu Bouron [Mon, 5 Sep 2016 13:46:29 +0000 (15:46 +0200)]
lavc/mediacodecdec_h264: use h264_parse.h instead of h264dec.h
ff_h264_decode_extradata is referenced by h264_parse.h and not
h264dec.h.
Matthieu Bouron [Mon, 5 Sep 2016 13:38:13 +0000 (15:38 +0200)]
lavc/mediacodecdec_h264: move bsf variable declaration at the top of the function
Carl Eugen Hoyos [Tue, 6 Sep 2016 10:47:34 +0000 (12:47 +0200)]
ffmpeg_opt: Suggest to use "file:..." if a protocol was not found.
Fixes Debian bug 785690.
Sven C. Dack [Wed, 7 Sep 2016 13:35:14 +0000 (15:35 +0200)]
avcodec/nvenc: support RGB input
nvenc still encodes as yuv, but does the conversion internally which
brings some performance gains.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Timo Rothenpieler [Wed, 7 Sep 2016 16:15:22 +0000 (18:15 +0200)]
avcodec/nvenc: correctly set inputPitch
Timo Rothenpieler [Wed, 7 Sep 2016 13:49:28 +0000 (15:49 +0200)]
avcodec/nvenc: use av_image_copy for copying frame data
Steven Liu [Wed, 7 Sep 2016 15:04:46 +0000 (23:04 +0800)]
tests/fate:Add FATE for hls_flags append option
add tests/ref/fate/filter-hls-append for FATE
add hls-list-append fate use filter make audio data and test hls_flags
append options
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Sun, 4 Sep 2016 20:03:12 +0000 (22:03 +0200)]
lavc/avcodec: Improve av_parser_parse() documentation, mention padding.
Fixes ticket #5809.
Burt P [Sat, 3 Sep 2016 09:39:07 +0000 (04:39 -0500)]
af_hdcd: hdcd_analyze_gen() using int instead of float
Signed-off-by: Burt P <pburt0@gmail.com>
Burt P [Mon, 5 Sep 2016 10:59:39 +0000 (05:59 -0500)]
af_hdcd: tweak hdcd_analyze_prepare() a bit
* use the actual sample rate
* use a more sensible frequency for the tone
* update fate test result
Signed-off-by: Burt P <pburt0@gmail.com>
Burt P [Sun, 4 Sep 2016 14:49:44 +0000 (09:49 -0500)]
af_hdcd: move decoding setup from init to config_input
Signed-off-by: Burt P <pburt0@gmail.com>
Burt P [Sun, 4 Sep 2016 14:28:39 +0000 (09:28 -0500)]
af_hdcd: fix possible integer overflow
Signed-off-by: Burt P <pburt0@gmail.com>
Burt P [Fri, 26 Aug 2016 05:00:05 +0000 (00:00 -0500)]
af_hdcd: some types renamed to remove _t
Following a suggestion by Diego Biurrun.
_t is reserved for POSIX, apparently.
Signed-off-by: Burt P <pburt0@gmail.com>
Paul B Mahol [Tue, 6 Sep 2016 11:28:59 +0000 (13:28 +0200)]
avcodec/gif: don't honor transparency if palette changed
It generally does not work.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 2 Sep 2016 20:40:34 +0000 (22:40 +0200)]
avfilter/vf_paletteuse: add option to use new palette for each output frame
Paul B Mahol [Fri, 2 Sep 2016 20:15:10 +0000 (22:15 +0200)]
avfilter/vf_palettegen: add mode for generating palette for each input frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 5 Sep 2016 13:28:09 +0000 (15:28 +0200)]
avfilter: add avgblur filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Matthieu Bouron [Tue, 6 Sep 2016 14:30:07 +0000 (16:30 +0200)]
lavc/mediacodecdec_h264: fix SODB escaping
Fixes escaping of consecutive 0x00, 0x00, 0x0{0-3} sequences.
Michael Niedermayer [Tue, 6 Sep 2016 16:10:41 +0000 (18:10 +0200)]
avformat: Export ticks_per_frame in st->codec
Fixes regressions with stream copy and output timebase/fps being twice as fine as needed
Makes the timebase and ticks per frame handled identical which should make the
code easier to understand and work with. It does not solve the problem without
st->codec access
Suggested-by: Hendrik Leppkes
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 6 Sep 2016 23:44:16 +0000 (01:44 +0200)]
swscale: Fix "warning: ISO C90 forbids mixed declarations and code"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 6 Sep 2016 23:43:07 +0000 (01:43 +0200)]
avcodec: Fix successfull typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Rodger Combs [Tue, 6 Sep 2016 03:26:16 +0000 (22:26 -0500)]
lavf/matroskaenc: use mkv_check_tag_name consistently
Previously, we used a different list of checks when deciding whether to
write a set of tags at all than we did when deciding whether to write an
individual tag in the set. This resulted in sometimes writing an empty
tag master and seekhead. Now we use mkv_check_tag_name everywhere, so
if a dictionary is entirely composed of tags we skip, we don't write a
tag master at all.
This affected the test file, since "language" was on one list but not
the other, so we were writing an empty tag master there. The test hash
is updated to reflect that change.
Rodger Combs [Tue, 6 Sep 2016 02:43:18 +0000 (21:43 -0500)]
lavf/matroskaenc: skip writing "duration" tags
Rodger Combs [Tue, 6 Sep 2016 02:42:24 +0000 (21:42 -0500)]
lavf/matroskaenc: move skipped metadata keys to separate function
Philip Langdale [Sun, 4 Sep 2016 16:47:29 +0000 (09:47 -0700)]
cuvid: Implement flush to support seeking in media players
Right now, if we attempt to use cuvid in a media player and then
try to seek, the decoder will happily pass out whatever frames were
already in flight before the seek.
There is both the output queue in our code and some number of frames
within the cuvid decoder that need to be accounted for.
cuvid doesn't support flush, so our only choice is to do a brute-force
re-creation of the decoder, which also implies re-creating the parser,
but this is fine.
The only subtlty is that there is sanity check code in decoder
initialisation that wants to make sure the HWContextFrame hasn't already
been initialised. This is a fair check to do at the beginning but not
after a flush, so it has to be made conditional.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Philip Langdale [Sun, 4 Sep 2016 16:47:28 +0000 (09:47 -0700)]
cuvid: Add hwaccels and decoders for remaining supported formats
cuvid/nvdecode also supports mpeg1, mpeg2, h.263/mpeg4-asp and mjpeg.
It should, in theory, also support wmv3 via the vc1 support, given
that vdpau supports this. However, it failed to play wmv3 samples
which vdpau played correctly, so I'm not sure what to make of it.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Michael Niedermayer [Mon, 5 Sep 2016 17:31:57 +0000 (19:31 +0200)]
tests/fate/ffmpeg: add simple ts->avi copy test
Approved-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 5 Sep 2016 17:12:41 +0000 (19:12 +0200)]
tests/fate/ffmpeg: add test for mpegts->mxf steram copy (Ticket 4914)
Approved-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 5 Sep 2016 16:47:24 +0000 (18:47 +0200)]
test/fate: Add Ticket 236 / mov stream copy test
Approved-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 5 Sep 2016 16:46:16 +0000 (18:46 +0200)]
tests/fate-run: add transcode() as a simplified enc_dec()
Approved-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Timo Rothenpieler [Fri, 2 Sep 2016 12:18:25 +0000 (14:18 +0200)]
swscale: add unscaled conversion from yuv420p to p010
Michael Niedermayer [Mon, 5 Sep 2016 23:13:53 +0000 (01:13 +0200)]
avfilter/fifo: Make independent of the channel layout
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 5 Sep 2016 22:37:47 +0000 (00:37 +0200)]
avfilter/af_atempo: Make independent of the channel layout
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Pavel Koshevoy <pkoshevoy@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 5 Sep 2016 22:16:54 +0000 (00:16 +0200)]
avfilter/af_amix: make independent of the channel layout
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Tue, 6 Sep 2016 09:16:19 +0000 (11:16 +0200)]
doc/showspectrum*: Change options order to reflect numeric values.
Fixes ticket #5823.
Paul B Mahol [Fri, 26 Aug 2016 21:56:38 +0000 (23:56 +0200)]
avfilter/vf_owdenoise: hight bit-depth support
Carl Eugen Hoyos [Sun, 4 Sep 2016 19:11:02 +0000 (21:11 +0200)]
lavc/avpacket: Fix undefined behaviour, do not pass a null pointer to memcpy().
Fixes ticket #5128.
Paul B Mahol [Mon, 5 Sep 2016 08:06:25 +0000 (10:06 +0200)]
avcodec/pnmdec: fix undefined behaviour
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Wed, 31 Aug 2016 20:38:06 +0000 (22:38 +0200)]
MAINTAINERS: Replace AvxSynth Team by Stephen Hutchinson for avisynth.c
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Franklin Phillips [Fri, 2 Sep 2016 19:20:21 +0000 (20:20 +0100)]
avformat/hlsenc: fix incomplete write of subtitle HLS playlist
This patch is a fix for the bug with ticket number 5812
(https://trac.ffmpeg.org/ticket/5812).
Basically, the bug is that the last segment and the "#EXT-X-ENDLIST"
tag are not being written to the subtitle playlist file when
converting a file with subtitles to the HLS format. The reason for
this seem to be that the filename for the subtitle file is being freed
too early. This solution is simply to free that memory after it's last
use in the "hls_window" function.
Signed-off-by: Franklin Phillips <franklinphillips9p8@inbox.lv>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Sun, 4 Sep 2016 21:57:09 +0000 (23:57 +0200)]
avfilter/vf_gblur: add sigmaV option, different vertical filtering
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Carl Eugen Hoyos [Sun, 4 Sep 2016 11:50:44 +0000 (13:50 +0200)]
fate: Add test for ticket #5805.
Paul B Mahol [Sun, 4 Sep 2016 13:51:33 +0000 (15:51 +0200)]
avccodec/utvideoenc: support encoding ULY4 and ULH4
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 4 Sep 2016 13:25:50 +0000 (15:25 +0200)]
avfilter/Makefile: move anullsrc and nullsink to correct place
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 4 Sep 2016 12:58:54 +0000 (14:58 +0200)]
avfilter/vf_bitplanenoise: silence clang warning, do not truncate value
Paul B Mahol [Wed, 31 Aug 2016 23:18:45 +0000 (01:18 +0200)]
avfilter: add gblur filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 4 Sep 2016 12:51:04 +0000 (14:51 +0200)]
doc/filters: improve weave example
Vittorio Giovara [Sat, 3 Sep 2016 13:19:35 +0000 (15:19 +0200)]
vf_colorspace: Allow overriding input color properties
The filter needs input frames with color properties filled out by
the decoder. Since this is not always possible, add input options to
the filter so that user may override color space, color primaries,
transfer characteristics, and color range, as well as a generic option
to set all properties at once.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Christophe Gisquet [Tue, 13 Oct 2015 19:21:41 +0000 (21:21 +0200)]
fate: add 12bpp sample
Allows testing simple_idct12 correctness/bitexactness, as the sample
was generated using faani as idct.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Matt Oliver [Mon, 29 Aug 2016 06:56:32 +0000 (16:56 +1000)]
configure: Remove fifo muxers dependency on pthreads.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
Paul B Mahol [Sat, 3 Sep 2016 23:56:02 +0000 (01:56 +0200)]
avcodec/utvideodec: add support for ULY4 and ULH4
Signed-off-by: Paul B Mahol <onemda@gmail.com>
James Almer [Fri, 26 Aug 2016 18:39:37 +0000 (15:39 -0300)]
avcodec/utils: print only the padding values that are set
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Fri, 26 Aug 2016 18:30:58 +0000 (15:30 -0300)]
avcodec/utils: print initial and trailing paddings only in verbose levels
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Sat, 3 Sep 2016 13:18:40 +0000 (15:18 +0200)]
lavf/udp: Do not use MCAST_* for multicast on tvOS.
Fixes ticket #5774.
Carl Eugen Hoyos [Wed, 3 Aug 2016 16:40:03 +0000 (18:40 +0200)]
lavf/webm_chunk: Print an error if no header filename was provided.
Carl Eugen Hoyos [Sat, 3 Sep 2016 12:23:32 +0000 (14:23 +0200)]
Cosmetics: Reindent after
e82b181f.
Carl Eugen Hoyos [Sat, 3 Sep 2016 12:21:46 +0000 (14:21 +0200)]
lavc/mjpegdec: Only read JFIF thumbnail size if the segment is long enough.
Fixes ticket #5805.
Michael Niedermayer [Sat, 3 Sep 2016 10:24:36 +0000 (12:24 +0200)]
swscale/swscale_unscaled: Try to fix bayer_to_yv12_wrapper() with slices
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sat, 3 Sep 2016 10:15:24 +0000 (12:15 +0200)]
swscale/swscale_unscaled: Try to fix Rgb16ToPlanarRgb16Wrapper() with slices
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Sat, 3 Sep 2016 11:56:40 +0000 (13:56 +0200)]
lavf/httpauth: Do case-insensitive http header checks.
Tested by trac user NTAuthority.
Fixes ticket #5786.
Carl Eugen Hoyos [Sat, 3 Sep 2016 11:38:16 +0000 (13:38 +0200)]
lavf/img2dec: Skip DQT segment when auto-detecting jpg.
DQT segments may contain 0xFFs which break auto-detection.
Carl Eugen Hoyos [Fri, 2 Sep 2016 15:10:57 +0000 (17:10 +0200)]
lavc/mjpegdec: Do not skip reading quantization tables.
They may contain 0xFFs, confusing the start code finding algorithm.
Fixes ticket #5819.
Timo Rothenpieler [Thu, 1 Sep 2016 14:54:01 +0000 (16:54 +0200)]
swscale: add unscaled copy from yuv420p10 to p010
Timo Rothenpieler [Thu, 1 Sep 2016 09:18:00 +0000 (11:18 +0200)]
configure: check for dlsym as well
For some reason, when compiling with gcc-asan and a recent enough gcc
version(seen on 5.3+ so far), linking dlopen works without -ldl, but
dlsym fails with:
undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
So this patchs checks for both dlopen and dlsym to work for determining
if -ldl is needed.
Michael Niedermayer [Fri, 2 Sep 2016 18:25:24 +0000 (20:25 +0200)]
swscale/swscale_unscaled: Fix packed_16bpc_bswap() with slices
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 2 Sep 2016 14:52:55 +0000 (16:52 +0200)]
swscale/swscale: Try to fix rgb48Toxyz12() with slices
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 2 Sep 2016 14:35:36 +0000 (16:35 +0200)]
swscale/swscale: Factor bottom to top handling
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 2 Sep 2016 16:30:07 +0000 (18:30 +0200)]
doc/filters: add weave example
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Fri, 2 Sep 2016 12:55:27 +0000 (14:55 +0200)]
swscale/tests/swscale: add cpuflags option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 2 Sep 2016 14:03:58 +0000 (16:03 +0200)]
avfilter/vf_zscale: make possible to change chroma location
Michael Niedermayer [Fri, 2 Sep 2016 10:19:29 +0000 (12:19 +0200)]
avformat/avidec: Fix infinite loop in avi_read_nikon()
Fixes: 360/test.poc
Found-by: 连一汉 <lianyihan@360.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Davinder Singh [Tue, 30 Aug 2016 00:44:09 +0000 (06:14 +0530)]
avfilter/vf_minterpolate: rename chroma log vars
also use AVPixFmtDescriptor instead of avcodec_get_chroma_sub_sample()
for log2_chroma*.
Paul B Mahol [Thu, 18 Apr 2013 00:26:28 +0000 (00:26 +0000)]
avfilter: add weave filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Clément Bœsch [Fri, 2 Sep 2016 09:01:46 +0000 (11:01 +0200)]
ffmpeg: fix broken indent/style in write_frame
Michael Graczyk [Thu, 1 Sep 2016 18:17:30 +0000 (11:17 -0700)]
libavcodec/opus: Add channel mapping 2 to extradata parser
This allows libavcodec/opus to demux ambisonics in an ogg/opus container.
Channel mapping family 2 is being added in this standards track IETF draft:
tools.ietf.org/html/draft-ietf-codec-ambisonics-00
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mark Thompson [Wed, 31 Aug 2016 19:48:45 +0000 (20:48 +0100)]
lavu/timestamp: Avoid C++-unfriendly code in user header
Including this header in a C++11 program (inside extern "C") will
throw an error because it looks like a user-defined literal. Add a
space between the two tokens to avoid the problem.
Michael Graczyk [Thu, 1 Sep 2016 18:24:31 +0000 (11:24 -0700)]
libavcodec/opus: Fix spelling in error message
James Almer [Thu, 1 Sep 2016 16:50:38 +0000 (13:50 -0300)]
configure: add missing check for LoadLibrary
Commit
2b1d316ff68a3f973d8f342db6bf9755eb78ec10 made nvenc depend on
LoadLibrary, but the availability of the latter was never checked.
This fixes nvenc on Windows platforms
Signed-off-by: James Almer <jamrial@gmail.com>
Erkki Seppälä [Wed, 31 Aug 2016 11:35:44 +0000 (14:35 +0300)]
avformat/movenc: added ability to use original stream ids as track ids instead of regenerating them
Sometimes it's useful to be able to define the exact track numbers in
the generated track, instead of always beginning at track id 1. Using
the option use_stream_ids_as_track_ids now copies the use stream ids
to track ids. Dynamically generated tracks (ie. tmcd) have their track
numbers defined as continuing from the highest numbered stream id.
Signed-off-by: Erkki Seppälä <erkki.seppala.ext@nokia.com>
Signed-off-by: OZOPlayer <OZOPL@nokia.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Lucas Cooper [Wed, 31 Aug 2016 19:40:41 +0000 (12:40 -0700)]
avfilter/vf_psnr: Add max value output option to psnr stats log.
This allows retroactive calculation/aggregation of PSNR from the stats
log.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Timo Rothenpieler [Wed, 31 Aug 2016 14:39:59 +0000 (16:39 +0200)]
configure: fix ldl dependency for new nvenc encoder names
Timo Rothenpieler [Wed, 31 Aug 2016 13:40:00 +0000 (15:40 +0200)]
configure: fix nvenc detection logic
Timo Rothenpieler [Mon, 29 Aug 2016 15:44:42 +0000 (17:44 +0200)]
swscale: add support for P010LE/BE output
Timo Rothenpieler [Wed, 31 Aug 2016 09:25:25 +0000 (11:25 +0200)]
avfilter/drawutils: honor shift for color component description
Timo Rothenpieler [Wed, 31 Aug 2016 09:24:03 +0000 (11:24 +0200)]
avfilter/drawutils: P010 is not supported
Paul B Mahol [Wed, 31 Aug 2016 09:18:40 +0000 (11:18 +0200)]
avfilter/vf_lut: unbreak planar rgb suppot on big-endian
Steven Liu [Tue, 30 Aug 2016 09:26:54 +0000 (17:26 +0800)]
avformat/hlsenc: add warning for append_list and hls_init_time option
When use append_list mode, the hls_init_time set nouse,
Because the append_list only support append at the old m3u8 end
cannot set init segments durations at the middle of the list.
That's invalid. and show a warning message for user.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Umair Khan [Mon, 29 Aug 2016 17:25:54 +0000 (22:55 +0530)]
MAINTAINERS: Add myself for alsdec
Signed-off-by: Umair Khan <omerjerk@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Simon Hailes [Tue, 30 Aug 2016 08:40:14 +0000 (09:40 +0100)]
avformat/crypto: add seeking support on read
cyrpto allows reading of data which has been aes-128-cbc encrypted given a key and an iv. But it did not handle filetypes which require seeking... e.g. it failed on an encrypted .mp4 file.
example:
take 25.mp4 created with:
ffmpeg -f lavfi -i sine=frequency=1000:beep_factor=2:r=48000:duration=720.0 -f lavfi -i testsrc=duration=720.0:rate=25 -vcodec libx264 -cmp 22 -timecode 10:00:00:00 -r 25 -y out\25.mp4
encrypt with:
openssl enc -aes-128-cbc -K
12345678901234567890123456789012 -iv
12345678901234567890123456789012 -in 25.mp4 -out 25.enc
then to transcode in ffmpeg:
ffmpeg -key
12345678901234567890123456789012 -iv
12345678901234567890123456789012 -i crypto:25.enc -vcodec mpeg4 -r 25 -y 25dec.mp4
prior to this modification, the transcode would fail.
Note also: crypto previously maked both reads and writes as streamed, which caused the whole file
to be read before the transcode started. Now, for read only, if the underlying layer is not marked as streamed,
then crypto is not. This should enable efficient reading of encrypted containers which require seeking.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Simon Hailes [Tue, 30 Aug 2016 07:47:02 +0000 (08:47 +0100)]
libavformat/crypto - encourage reads of 4096 bytes
the current implementation reads in chunks of 149x16=2384 bytes.
Seems more logical for it to read in chunks of 4096
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>