OSDN Git Service
Steven Liu [Wed, 14 Sep 2016 02:00:52 +0000 (10:00 +0800)]
avformat/flvenc: add no_sequence_end flags for flvflags
when split flv file by flv format at first, and cat flvs file
into one flv file, the flv sequence end is be used,
then the whole flv have many flv sequence end TAG.
this flags can give user an option to ignore write sequence end TAG
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Wed, 14 Sep 2016 00:31:11 +0000 (02:31 +0200)]
avformat/flvenc: Add () around &
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Clément Bœsch [Wed, 14 Sep 2016 08:00:08 +0000 (10:00 +0200)]
lavf/utils: add missing ismv in MOV-like formats
Clément Bœsch [Wed, 14 Sep 2016 07:59:22 +0000 (09:59 +0200)]
lavf/utils: simplify matching MOV-like formats
Clément Bœsch [Fri, 9 Sep 2016 14:38:21 +0000 (16:38 +0200)]
lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg
In lavf we have access to st->internal->avctx so it's a better place
than in ffmpeg*.c and will allow moving to codecpar.
Jon Toohill [Mon, 15 Aug 2016 20:13:07 +0000 (13:13 -0700)]
ffmpeg: copy trailing_padding when using -acodec copy
Signed-off-by: James Almer <jamrial@gmail.com>
Steven Liu [Tue, 13 Sep 2016 13:59:56 +0000 (21:59 +0800)]
avformat/flvenc: add FLVFlags for flvflags options
add FLVFlags type, be used to add new FLVFlags options
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 13 Sep 2016 21:06:06 +0000 (23:06 +0200)]
avformat/hlsenc: Assume UTC if "%z" is unsupported in strftime()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 13 Sep 2016 20:55:12 +0000 (22:55 +0200)]
avformat/hlsenc: Avoid "%T" "%F" in strftime() to improve compatibility
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Marton Balint [Mon, 5 Sep 2016 19:51:21 +0000 (21:51 +0200)]
avfilter/af_amerge: allow merging 1 input only
Useful when the amerge filter parameters are generated from a script based on
the number of input streams, by allowing 1 input it does not have to be handled
specially.
The split filter also allows 1 output, so it is more consistent to allow
merging 1 input as well.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Marton Balint <cus@passwd.hu>
Vittorio Giovara [Mon, 12 Sep 2016 17:44:02 +0000 (19:44 +0200)]
vf_colorspace: Add BT-names for gamma22/28 transfer option
Allows to use values returned from API and from ffprobe directly.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Jonathan Campbell [Mon, 12 Sep 2016 19:34:48 +0000 (12:34 -0700)]
avcodec/mpeg12dec: add comments documenting the format of the DVD CC user-data packet.
this is to aid development and maintenance of that code.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Rodger Combs [Thu, 7 Apr 2016 07:59:39 +0000 (02:59 -0500)]
lavf: add a flag to enable/disable automatic bitstream filtering
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
Michael Niedermayer [Mon, 12 Sep 2016 11:13:42 +0000 (13:13 +0200)]
avcodec/avpacket: clear side_data_elems
Fixes null pointer dereference
Found-by: 连一汉 <lianyihan@360.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Rodger Combs [Sat, 10 Sep 2016 05:29:50 +0000 (00:29 -0500)]
ass_split: reindent
Rodger Combs [Fri, 4 Dec 2015 12:42:48 +0000 (06:42 -0600)]
ass_split: fix handling of streams with no [Events] or Format: line
Paul B Mahol [Mon, 12 Sep 2016 12:23:38 +0000 (14:23 +0200)]
avfilter/vf_convolution: add slice threading support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sat, 10 Sep 2016 21:34:30 +0000 (23:34 +0200)]
avfilter: add sobel and prewitt filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 11 Sep 2016 21:19:57 +0000 (23:19 +0200)]
avfilter/vf_vaguedenoiser: calculate dimensions at init
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Sun, 11 Sep 2016 21:12:10 +0000 (23:12 +0200)]
avfilter/vf_vaguedenoiser: change thresholding to function pointers
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Mon, 12 Sep 2016 10:14:39 +0000 (12:14 +0200)]
avcodec/h264_refs: Change default case to av_assert0() to suppress warning
Should fix "libavcodec/h264_refs.c:372:13: warning: variable 'i' is used uninitialized whenever switch default is taken"
Found-by: durandal_17
Suggested-by: jkqxz
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Matthieu Bouron [Fri, 9 Sep 2016 12:27:33 +0000 (14:27 +0200)]
lavc/ffjni: do not error out if the last non-mandatory field/method cannot be found
Jens Ziller [Sun, 14 Aug 2016 14:44:39 +0000 (16:44 +0200)]
libavcodec/mmaldec.c: set AVFrame interlaced_frame and top_field_first, AVCodecContext framerate
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Jan Sebechlebsky [Thu, 7 Jul 2016 15:56:10 +0000 (17:56 +0200)]
avformat/tee: Use BSF list API
Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Michael Niedermayer [Fri, 12 Aug 2016 19:28:08 +0000 (21:28 +0200)]
avformat/mux: implement AVFMT_FLAG_SHORTEST
This will allow fixing several bugs with the -shortest option
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Alex Converse [Fri, 9 Sep 2016 15:05:20 +0000 (08:05 -0700)]
ivfenc: Add VPX codec tags.
This fixes remuxing VPX from MP4 without manually overwriting the tag.
Paul B Mahol [Sat, 10 Sep 2016 14:23:13 +0000 (16:23 +0200)]
avfilter/vf_overlay: inline yuv output formats
Overall speedup ~10-20%
Tested-by: Michael on mingw32 mingw64 linux32 mips and arm
Paul B Mahol [Sat, 10 Sep 2016 10:17:08 +0000 (12:17 +0200)]
avfilter/vf_overlay: split blend_image into functions for each overlay format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Mon, 5 Sep 2016 23:13:52 +0000 (01:13 +0200)]
avfilter/avf_concat: Make independent of the channel layout
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Philip Langdale [Sat, 10 Sep 2016 19:51:01 +0000 (12:51 -0700)]
avcodec/cuvid: Always check for internal errors during parsing
The cuvid parser is basically undocumented, and although you'd
think that a failed callback would result in the overall parse
call returning an error, that is not true.
So, we end up silently trying to keep going as if nothing is wrong,
which doesn't achieve anything.
Solution: check the internal error flag every time.
Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Paul B Mahol [Sat, 10 Sep 2016 11:05:31 +0000 (13:05 +0200)]
avfilter/af_amix: use ff_all_channel_counts() instead of ff_all_channel_layouts()
Adds support for filtering frames with unknown channel layouts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Rodger Combs [Wed, 3 Feb 2016 14:21:27 +0000 (08:21 -0600)]
lavc/Makefile: add missing ADPCM_THP_LE objs
Rodger Combs [Wed, 3 Feb 2016 13:14:33 +0000 (07:14 -0600)]
lavc/Makefile: g729dec: fix missing file
Michael Niedermayer [Fri, 9 Sep 2016 21:53:32 +0000 (23:53 +0200)]
fate: Add copy-trac2211-avi test
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 9 Sep 2016 21:17:02 +0000 (23:17 +0200)]
tests/fate-run.sh: Analyze file generated in transcode()
This should be much more informative than a plain md5 difference
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 9 Sep 2016 11:11:43 +0000 (13:11 +0200)]
avformat/movenc: Check first DTS similar to dts difference
Fixes assertion failure
Fixes:
b84b53855a0b74560e64c6f45f505a13/signal_sigabrt_7ffff6ae7c37_3837_ef4e243ea5b4fa8d0becf4afe9166604.avi
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Paul B Mahol [Fri, 9 Sep 2016 22:28:28 +0000 (00:28 +0200)]
avfilter/vf_histogram: set foreground alpha if possible in destination format
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Lou Logan [Fri, 9 Sep 2016 17:37:26 +0000 (09:37 -0800)]
doc/filters: add missing palette* options
Introduced in
b7e78c7 and
93ae68d.
Fixes #5835.
The paletteuse debug options that are not part of the official API are
not included (debug_kdtree and color_search).
Signed-off-by: Lou Logan <lou@lrcd.com>
Timo Rothenpieler [Fri, 9 Sep 2016 14:35:48 +0000 (16:35 +0200)]
avcodec/cuvid: check for and warn about invalid pkt_timebase
Timo Rothenpieler [Fri, 9 Sep 2016 14:15:45 +0000 (16:15 +0200)]
avcodec/cuvid: use pkt_timebase instead of time_base
Thilo Borgmann [Fri, 9 Sep 2016 10:29:23 +0000 (12:29 +0200)]
lavc/alsdec: use get_bitsz() to simplify reading of the mantissa
Signed-off-by: James Almer <jamrial@gmail.com>
Clément Bœsch [Fri, 9 Sep 2016 14:47:11 +0000 (16:47 +0200)]
tests/fate/ffmpeg: regroup stream copy tests under a fate-streamcopy rule
Matthieu Bouron [Wed, 7 Sep 2016 09:36:10 +0000 (11:36 +0200)]
lavc/hevc: store VPS/SPS/PPS data
Paul B Mahol [Fri, 9 Sep 2016 12:16:22 +0000 (14:16 +0200)]
avfilter/vf_datascope: cleanup code a little
Make few helper functions.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 9 Sep 2016 10:49:15 +0000 (12:49 +0200)]
fate: add hstack and vstack
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 9 Sep 2016 09:58:18 +0000 (11:58 +0200)]
avfilter/vf_weave: do not leak unused frame
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 9 Sep 2016 09:55:45 +0000 (11:55 +0200)]
fate: add weave
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Fri, 9 Sep 2016 08:26:15 +0000 (10:26 +0200)]
avcodec/ccaption_dec: Use simple array instead of AVBuffer
This is simpler and fixes an out of array read, fixing it with AVBuffers
would be more complex
Fixes:
e00d9e6e50e5495cc93fea41147b97bb/asan_heap-oob_12dcdbb_8798_b32a97ea722dd37bb5066812cc674552.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Matthew Gregan [Wed, 7 Sep 2016 01:58:30 +0000 (13:58 +1200)]
avformat/mov: Enable stream parsing for VP9.
MP4 media containing VP9 using superframes (such as
https://github.com/Netflix/vp9-dash/raw/master/DASH-Samples/Fountain_2997_0560kbps_640x480_4x3PAR.ivf_DashUnencrypted.ismv)
does not decode correctly with the built-in VP9 decoder because
superframes are passed to the decoder whole rather than split into
individual frames.
Signed-off-by: Matthew Gregan <kinetik@flim.org>
Steven Liu [Thu, 8 Sep 2016 13:56:44 +0000 (21:56 +0800)]
avformat/segment: give a warning message for remove initial_offset option
ffmpeg have a generic solution working with all muxer named
output_ts_offset, output_ts_offset will instead of initial_offset
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Steven Liu [Wed, 7 Sep 2016 16:56:19 +0000 (00:56 +0800)]
MAINTAINERS: Add myself for hlsenc
Signed-off-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Burt P [Thu, 8 Sep 2016 23:06:54 +0000 (18:06 -0500)]
af_hdcd: fix bounds check in hdcd_envelope()
From Sebastian Ramacher.
https://github.com/bp0/libhdcd/pull/11
Signed-off-by: Burt P <pburt0@gmail.com>
Paul B Mahol [Thu, 8 Sep 2016 22:57:01 +0000 (00:57 +0200)]
fate: add swaprect
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 8 Sep 2016 22:40:30 +0000 (00:40 +0200)]
avfilter/vf_datascope: let user change background opacity
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Thu, 8 Sep 2016 20:02:44 +0000 (22:02 +0200)]
avcodec/alsdec: Fix reading 0 mantisse bits
Fixes assertion failure
Fixes:
848c24abc1721c9e3d1ba7bfee8d9fcc/asan_heap-oob_1d99eca_3709_567bba70d67e7d62714dcf56f26fb1da.mp4
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Thu, 8 Sep 2016 19:15:55 +0000 (21:15 +0200)]
avcodec/svq3: Reintroduce slice_type
Fixes out of array read
Fixes:
1642cd3962249d6aaf0eec2836023fb6/signal_sigsegv_2557a72_2995_04efaf2ff57a052f609a3b4a2ea4e622.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Thu, 8 Sep 2016 17:48:06 +0000 (19:48 +0200)]
avcodec/mlz: Check offset before writing
Fixes:
0cee183a09bff5aa5108429717c35a4d/asan_heap-oob_1d99eca_3702_9ef60e80de79082a778d3d9ce8ef3b64.mp4
Affects no release
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
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>