OSDN Git Service
Michael Niedermayer [Sat, 22 Oct 2016 11:37:57 +0000 (13:37 +0200)]
doc/patchwork: Document the patchwork states
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Behrisch [Thu, 20 Oct 2016 06:48:25 +0000 (08:48 +0200)]
lavu: remove comma at final enumeration items to fix pedantic warnings
Vodyannikov Aleksandr [Thu, 20 Oct 2016 03:57:35 +0000 (06:57 +0300)]
swresample/rematrix: Fix float part of swr_set_matrix()
Fixes Ticket #5897.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 26 Oct 2016 17:07:01 +0000 (19:07 +0200)]
configure: Remove --enable-incompatible-libav-abi from the help output
As it does not work anymore since
655b6dcb34b25d591e15ede17673ea6cb8074711
Found-by: carl
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 26 Oct 2016 14:29:57 +0000 (16:29 +0200)]
avcodec/dvdsubdec: Fix buf_size check
Fixes out of array access
Found-by: Thomas Garnier using libFuzzer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 26 Oct 2016 00:57:51 +0000 (02:57 +0200)]
doc/APIchanges: Fill in some missing things
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Suman- [Tue, 18 Oct 2016 22:13:23 +0000 (15:13 -0700)]
lavf/flvdec: init AVPacket::pos to FLVTAG offset
Current code doesn't initialize AVPacket::pos. Made it point to FLVTAG so flv_read_packet can decode from pos
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Tobias Rapp [Tue, 25 Oct 2016 08:06:15 +0000 (10:06 +0200)]
fate: Add MXF D10/DNXHD/DV25 probe tests
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Yogender Gupta [Mon, 24 Oct 2016 12:32:01 +0000 (18:02 +0530)]
avfilter/scale_npp: fix passthrough mode
Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Tue, 25 Oct 2016 11:44:08 +0000 (13:44 +0200)]
lavc/utvideoenc: Set bits_per_coded_sample for rgba.
Allows to write correct value for biBitCount into BITMAPINFOHEADER.
Before, ff_put_bmp_header() always wrote "24" as biBitCount
for utvideo because bits_per_coded_sample was never set by the
encoder.
Michael Niedermayer [Tue, 25 Oct 2016 01:51:17 +0000 (03:51 +0200)]
avcodec/interplayvideo: Check side data size before use
Fixes out of array read
Found-by: Thomas Garnier using libFuzzer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 24 Oct 2016 23:15:56 +0000 (01:15 +0200)]
avcodec/ffv1enc: Fix storing RGB48 without explicitly set level
the bps value is only stored with level >= 1, using rgb48 with level 0 requires the
user app to keep track of the bps by external means, which does not always happen
also we force level >= 1 for other 16bps formats, so this is consistent.
Found-by: Jerome Martinez <jerome@mediaarea.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Vittorio Giovara [Tue, 18 Oct 2016 19:17:26 +0000 (15:17 -0400)]
vf_colorspace: Add support for iec61966-2.1 (sRGB) transfer
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Ronald S. Bultje [Mon, 24 Oct 2016 20:03:16 +0000 (16:03 -0400)]
vf_colorspace: don't spam console with warnings if range is unspecified.
Ronald S. Bultje [Fri, 14 Oct 2016 17:01:27 +0000 (13:01 -0400)]
vp9: change order of operations in adapt_prob().
This is intended to workaround bug "665 Integer Divide Instruction May
Cause Unpredictable Behavior" on some early AMD CPUs, which causes a
div-by-zero in this codepath, such as reported in Mozilla bug #
1293996.
Note that this isn't guaranteed to fix the bug, since a compiler is free
to reorder instructions that don't depend on each other. However, it
appears to fix the bug in Firefox, and a similar patch was applied to
libvpx also (see Chrome bug #599899).
Rodger Combs [Fri, 8 Jan 2016 01:04:00 +0000 (19:04 -0600)]
lavf/mov: reindent
Reviewed-By: Michael Niedermayer <michael@niedermayer.cc>
Rodger Combs [Thu, 7 Jan 2016 23:14:08 +0000 (17:14 -0600)]
lavf/mov: improve `tref/chap` chapter handling
3 parts:
- Supports multiple chapter streams
- Exports regular text chapter streams as opaque data. This prevents consumers
from showing chapters as if they were regular subtitle streams.
- Exports video chapter streams as thumbnails, and provides the first one as
an attached_pic.
Rodger Combs [Mon, 24 Oct 2016 10:47:05 +0000 (05:47 -0500)]
lavf: add AV_DISPOSITION_TIMED_THUMBNAILS
Reviewed-By: Michael Niedermayer <michael@niedermayer.cc>
Rodger Combs [Thu, 28 Apr 2016 22:00:43 +0000 (17:00 -0500)]
fate/hevc: add automatic bsf test
Rodger Combs [Fri, 15 Apr 2016 08:18:01 +0000 (03:18 -0500)]
fate/aac: add automatic bsf test
Rodger Combs [Fri, 15 Apr 2016 08:01:46 +0000 (03:01 -0500)]
fate/h264: make mp4toannexb test use auto-BSF
Rodger Combs [Sat, 10 Sep 2016 04:27:54 +0000 (23:27 -0500)]
lavf/rawenc: add automatic bitstream filtering for H264+HEVC
Rodger Combs [Fri, 8 Apr 2016 00:36:39 +0000 (19:36 -0500)]
lavf/movenc+dashenc: add automatic bitstream filtering
This is disabled by default when the empty_moov flag is enabled
Rodger Combs [Fri, 8 Apr 2016 00:36:15 +0000 (19:36 -0500)]
lavf/dashenc: add deinit function
Rodger Combs [Fri, 8 Apr 2016 00:24:04 +0000 (19:24 -0500)]
lavf/movenc: add deinit function
Rodger Combs [Fri, 8 Apr 2016 00:18:45 +0000 (19:18 -0500)]
lavf/segment: fix writing separate header with auto BSF
Rodger Combs [Fri, 8 Apr 2016 00:18:19 +0000 (19:18 -0500)]
lavf/segment: add deinit function
Rodger Combs [Sat, 25 Jun 2016 03:02:50 +0000 (22:02 -0500)]
lavf/mux: add avformat_init_output
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
Rodger Combs [Mon, 24 Oct 2016 06:47:52 +0000 (01:47 -0500)]
MAINTAINERS: add myself for audiotoolbox
Rodger Combs [Tue, 4 Oct 2016 04:49:09 +0000 (23:49 -0500)]
ffprobe: report field order for video streams
Rodger Combs [Tue, 4 Oct 2016 02:46:53 +0000 (21:46 -0500)]
lavc/utils: avcodec_string: dump field order when known
Rodger Combs [Tue, 4 Oct 2016 02:45:56 +0000 (21:45 -0500)]
lavc/h264_parser: export field order in more cases
Rodger Combs [Tue, 20 Sep 2016 10:57:39 +0000 (05:57 -0500)]
lavc/parser: export field order if not already set
Some codecs set this in the parser, but not the decoder
Clément Bœsch [Sun, 23 Oct 2016 18:19:28 +0000 (20:19 +0200)]
lavfi: remove 2 unused lavc includes
Michael Niedermayer [Sun, 23 Oct 2016 02:46:57 +0000 (04:46 +0200)]
avutil/x86/emms: Document the emms_c() vs alloc/free relation.
Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Sat, 22 Oct 2016 18:12:30 +0000 (20:12 +0200)]
faq: use relative links to own documentation
This way locally installed documentation refers to itself instead of the
website.
Bud-Id: https://bugs.debian.org/841501
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Zhou Xiaoyong [Mon, 10 Oct 2016 08:09:12 +0000 (16:09 +0800)]
avcodec/mips: loongson optimize mmi load and store operators
1.MMI_ load/store macros are defined in libavutil/mips/mmiutils.h
2.Replace some unnecessary unaligned access with aligned operator
3.The MMI_ load/store is compatible with cpu loongson2e/2f which not support instructions start with gs
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Zhou Xiaoyong [Mon, 10 Oct 2016 08:07:59 +0000 (16:07 +0800)]
avutil/mips: loongson add mmi utils header file
1.mmiutils.h defined MMI_ load/store macros for loongson2e/2f/3a
2.mmiutils.h defined some mmi assembly macors
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carlos Fernandez [Sat, 22 Oct 2016 10:03:32 +0000 (12:03 +0200)]
lavf/mpegts: add missed fixes to scte35 section callback
They somehow got lost along the patch versions.
Signed-off-by: Marton Balint <cus@passwd.hu>
Philip Langdale [Sat, 22 Oct 2016 21:31:41 +0000 (14:31 -0700)]
avcodec/cuvid: Allow reinitialization of decoder
In practice, this works fine.
James Almer [Mon, 17 Oct 2016 17:17:35 +0000 (14:17 -0300)]
avformat/matroskaenc: write DisplayWidth and DisplayHeight elements only if they differ from PixelWidth and PixelHeight
Signed-off-by: James Almer <jamrial@gmail.com>
Andreas Cadhalpun [Fri, 21 Oct 2016 23:18:38 +0000 (01:18 +0200)]
mpegts: handle AVMEDIA_TYPE_UNKNOWN correctly
It is negative, so can't be used for left shifting.
This fixes ubsan runtime error: shift exponent -1 is negative
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Michael Niedermayer [Fri, 21 Oct 2016 10:50:03 +0000 (12:50 +0200)]
avutil/avassert: Add av_assertX_fpu()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 13:10:48 +0000 (15:10 +0200)]
avcodec/snowenc: Clear MMX state after edge drawing and picture encode
Fixes undefined behavior from calling libc allocation with unclean FPU state.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 13:01:36 +0000 (15:01 +0200)]
avcodec/mpegvideo_enc: Add missing emms_c() to clear MMX state after SIMD use
Fixes undefined behavior due to calling libc allocation with unclean FPU state
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 12:47:34 +0000 (14:47 +0200)]
avcodec/utils: Move emms_c() before memory allocation functions in avcodec_encode_video2()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 12:38:52 +0000 (14:38 +0200)]
avcodec/cavsdec: Clear MMX state after MB decode loop
The MMX state must be cleared between using MMX and using memory allocation
thats basically the only location between the 2
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 12:33:42 +0000 (14:33 +0200)]
avcodec/svq1enc: Clear MMX state after svq1_encode_plane()
svq1_encode_plane() uses SIMD and we call libc memory allocation functions after it
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Sat, 22 Oct 2016 01:53:38 +0000 (03:53 +0200)]
lavf/rtpdec_g726: Map mime type G726 to g726le.
Add new mime types AAL2-G726 for g726 as suggested in rfc 3551.
This patch will break interaction with applications that incorrectly
use big-endian G.726 with mime type G726 but we know of at least one
device (DVTel camera) that correctly implements the rfc, so do the same.
Fixes ticket #5890.
Kagami Hiiragi [Thu, 20 Oct 2016 15:31:38 +0000 (18:31 +0300)]
lavc/libvpxenc: fix -auto-alt-ref option type
vp9_cx_iface actually allows values in range [0..2].
This fixes ticket #5894.
Signed-off-by: Kagami Hiiragi <kagami@genshiken.org>
Signed-off-by: James Zern <jzern@google.com>
Andreas Cadhalpun [Thu, 13 Oct 2016 21:08:01 +0000 (23:08 +0200)]
doc: fix spelling errors
Thanks to Mathieu Malaterre <malat@debian.org> for reporting the
Que/Queue typo. (https://bugs.debian.org/839542)
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Carlos Fernandez [Wed, 19 Oct 2016 00:36:28 +0000 (17:36 -0700)]
lavf/mpegts: SCTE-35 extraction from mpegts
Reviewed-by: Marton Balint <cus@passwd.hu>
Acked-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Carlos Fernandez <carlos@ccextractor.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
Carlos Fernandez [Wed, 19 Oct 2016 00:36:27 +0000 (17:36 -0700)]
lavc: add SCTE-35 CUI codec ID
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Carlos Fernandez <carlos@ccextractor.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Thu, 13 Oct 2016 21:58:53 +0000 (23:58 +0200)]
lavd/decklink_dec: fix indentation
Signed-off-by: Marton Balint <cus@passwd.hu>
Marton Balint [Thu, 13 Oct 2016 21:56:45 +0000 (23:56 +0200)]
lavd/decklink_dec: add option to disable drawing bars on signal loss
Signed-off-by: Marton Balint <cus@passwd.hu>
Michael Niedermayer [Fri, 21 Oct 2016 17:45:21 +0000 (19:45 +0200)]
avformat/mxfdec: Check size to avoid integer overflow in mxf_read_utf16_string()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 17:34:05 +0000 (19:34 +0200)]
avformat/mxfdec: Fix mixed declaration and code
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Thu, 20 Oct 2016 20:51:55 +0000 (22:51 +0200)]
mpeg12dec: unref discarded picture from extradata
Otherwise another frame gets referenced into picture, triggering an assert
(from commit 13aae8) in av_frame_ref.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Thu, 20 Oct 2016 20:14:22 +0000 (22:14 +0200)]
cavsdec: unref frame before referencing again
This fixes asserts (from commit 13aae8) in av_frame_ref and
av_frame_move_ref.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Thu, 20 Oct 2016 18:13:54 +0000 (20:13 +0200)]
dcstr: fix division by zero
Also check for possible overflows.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Thu, 20 Oct 2016 18:08:15 +0000 (20:08 +0200)]
aiff: check block_align in aiff_read_packet
It can be unset in avcodec_parameters_from_context and a value of 0
causes SIGFPE crashes.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Steven Liu [Wed, 12 Oct 2016 09:36:51 +0000 (17:36 +0800)]
avcodec/vda: define av_vda_default_init2 when CONFIG_H264_VDA_HWACCEL equ 0
on OSX:
../configure --disable-everything --enable-demuxer=hls make
error message: Undefined symbols for architecture x86_64:
"_av_vda_default_init2", referenced from:_videotoolbox_init in
ffmpeg_videotoolbox.o
so add av_vda_default_init2 when CONFIG_H264_VDA_HWACCEL=0
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Reviewed-by: Xidorn Quan <quanxunzhen@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hiroyuki OYAMA [Wed, 12 Oct 2016 06:33:44 +0000 (15:33 +0900)]
avformat/rtmpproto: Fix RTMP control message handling error in listen mode.
Fix problem to fail by a RTMP Control Message except "Set Chunk Size (1)" after an RTMP handshake. When 'nginx-rtmp-module' relays an RTMP, it sends not only control message 'Set Chunk Size (1)' but also 'Window Acknowledgement Size (5)'.
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 12:05:00 +0000 (14:05 +0200)]
avcodec/mpegvideo_enc: Clear mmx state in ff_mpv_reallocate_putbitbuffer()
This function must be called from the mb or slice encoding loop and MMX state may not
be clean there
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 11:40:18 +0000 (13:40 +0200)]
avcodec/utils: Clear MMX state before returning from avcodec_default_execute*()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 21 Oct 2016 11:29:46 +0000 (13:29 +0200)]
avcodec/dnxhdenc: Move allocation out of radix_sort()
Its slow, its not checked, FPU state is not clean either currently there
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Rodger Combs [Thu, 6 Oct 2016 07:00:25 +0000 (02:00 -0500)]
lavf/segment: decide whether to rename based on list URI
This fixes the case of writing segments to local files, but the list
over a network protocol.
Matt Oliver [Sun, 9 Oct 2016 19:49:54 +0000 (06:49 +1100)]
openssl: Support version 1.1.0.
Fixes #5675
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
Mark Reid [Wed, 21 Sep 2016 20:42:09 +0000 (13:42 -0700)]
tests/fate: add mxf metadata streams test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mark Reid [Wed, 21 Sep 2016 20:42:08 +0000 (13:42 -0700)]
libavformat/mxfdec: add metadata streams for external referenced sourclips
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mark Reid [Wed, 21 Sep 2016 20:42:07 +0000 (13:42 -0700)]
libavformat/mxfdec: don't assume first stream index to be primary
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Mark Reid [Wed, 21 Sep 2016 20:42:06 +0000 (13:42 -0700)]
libavformat/mxfdec: export track name metadata
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Tobias Rapp [Wed, 19 Oct 2016 12:35:20 +0000 (14:35 +0200)]
avformat/mxfdec: Detect field_order based on video_line_map
Read video_line_map from MXF generic picture essence descriptor and use
it to derive the coded field order. Use field_dominance to derive the
display field order from coded field order. If field_dominance is not
available the default value "1" is used as defined in SMPTE S377-1.
Fixes field_order detection for a bunch of DV/DVCPRO files. The heuristic
for deriving coded field order from video_line_map is inspired by
MediaInfo.
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Wed, 19 Oct 2016 21:40:41 +0000 (23:40 +0200)]
rsd: limit number of channels
Negative values don't make sense and too large values can cause
overflows. For AV_CODEC_ID_ADPCM_THP this leads to a too small extradata
buffer being allocated, causing out-of-bounds writes.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Hendrik Leppkes [Thu, 20 Oct 2016 17:31:34 +0000 (19:31 +0200)]
dxva2: fix surface selection when compiled with both d3d11va and dxva2
Fixes a regression introduced in
9b462a0b9
Steven Liu [Wed, 12 Oct 2016 10:11:41 +0000 (18:11 +0800)]
avformat/flvenc: do not attempt to write duration and filesize when not seekable
Its impossible to update the filesize & duration values if seekback is not
possible as with live streams
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Tue, 18 Oct 2016 12:53:30 +0000 (14:53 +0200)]
lavc/sheervideo: Increase av_get_codec_tag_string() input buffer size.
A size of 32 is typically used.
Muhammad Faiz [Wed, 19 Oct 2016 15:22:36 +0000 (22:22 +0700)]
avfilter/firequalizer: use zero phase kernel
this makes real-valued kernel
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Muhammad Faiz [Wed, 19 Oct 2016 15:17:24 +0000 (22:17 +0700)]
avfilter/showcqt: add cscheme option
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Carl Eugen Hoyos [Wed, 19 Oct 2016 21:39:19 +0000 (23:39 +0200)]
lavf/riff: Document the interleaving of VSM4 video.
Andreas Cadhalpun [Wed, 19 Oct 2016 17:23:49 +0000 (19:23 +0200)]
avformat: prevent triggering request_probe assert in ff_read_packet
If probe_codec is called with pkt == NULL, it sets probe_packets to 0
and request_probe to -1.
However, request_probe can change when calling s->iformat->read_packet
and thus a probe_packets value of 0 doesn't guarantee a request_probe
value of -1.
In that case calling probe_codec again is necessary to prevent
triggering the assert.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Derek Buitenhuis [Tue, 18 Oct 2016 15:30:08 +0000 (16:30 +0100)]
FATE: Add test for muxing discontinuous MP4 fragments with large timestamps
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Michael Niedermayer [Tue, 18 Oct 2016 16:18:49 +0000 (18:18 +0200)]
avformat/movenc: Skip duration check for discontinuous fragments
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Jean Caillé [Tue, 18 Oct 2016 13:47:55 +0000 (15:47 +0200)]
lavf/mov: support gopro hero moments udta tag
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Sven C. Dack [Wed, 19 Oct 2016 10:51:21 +0000 (12:51 +0200)]
avfilter/vf_scale_npp: select cubic and lanczos as alternative where super-sampling is not supported
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Sven C. Dack [Thu, 13 Oct 2016 17:06:09 +0000 (18:06 +0100)]
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>
Sven C. Dack [Fri, 14 Oct 2016 15:02:54 +0000 (16:02 +0100)]
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>
Matthieu Bouron [Wed, 12 Oct 2016 12:44:08 +0000 (14:44 +0200)]
lavc/mediacodec: use more meaningful filenames
Adds the following changes:
* mediacodecdec.{c,h} -> mediacodecdec_common.{c,h}
* mediacodecdec_h2645.c -> mediacodecdec.c
Matthieu Bouron [Tue, 4 Oct 2016 15:47:44 +0000 (17:47 +0200)]
lavc: add mpeg4 mediacodec decoder
Matthieu Bouron [Tue, 4 Oct 2016 14:02:59 +0000 (16:02 +0200)]
lavc: add vp8/vp9 mediacodec decoders
Matthieu Bouron [Fri, 7 Oct 2016 09:20:33 +0000 (11:20 +0200)]
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.
Muhammad Faiz [Tue, 18 Oct 2016 15:55:39 +0000 (22:55 +0700)]
avfilter/firequalizer: add cubic_interpolate function on gain
smoother version of gain_interpolate
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
James Almer [Wed, 19 Oct 2016 02:55:32 +0000 (23:55 -0300)]
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>
James Almer [Wed, 19 Oct 2016 02:40:09 +0000 (23:40 -0300)]
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>
James Almer [Mon, 17 Oct 2016 00:23:17 +0000 (21:23 -0300)]
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>
Aman Gupta [Tue, 18 Oct 2016 23:44:33 +0000 (16:44 -0700)]
lavc/videotoolboxenc: skip SEI allocation when side data is not present
Signed-off-by: Rick Kern <kernrj@gmail.com>
James Almer [Tue, 18 Oct 2016 02:50:14 +0000 (23:50 -0300)]
avformat/matroskadec: support parsing Chroma Location elements
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Rostislav Pehlivanov [Sat, 8 Oct 2016 14:59:14 +0000 (15:59 +0100)]
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>
Jon Toohill [Mon, 17 Oct 2016 21:55:04 +0000 (14:55 -0700)]
lavf/mp3enc: write encoder delay/padding upon closing
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Jon Toohill [Mon, 17 Oct 2016 21:55:03 +0000 (14:55 -0700)]
lavc/libmp3lame: send encoder delay/padding in packet side data
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>