OSDN Git Service
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>
Muhammad Faiz [Mon, 17 Oct 2016 18:13:19 +0000 (01:13 +0700)]
avfilter/firequalizer: add dumpfile and dumpscale option
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Muhammad Faiz [Tue, 18 Oct 2016 07:13:39 +0000 (14:13 +0700)]
swresample/resample: fix return value of build_filter
return AVERROR code on error
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Michael Niedermayer [Sun, 16 Oct 2016 14:52:10 +0000 (16:52 +0200)]
avcodec/mediacodec: Factor duplicate include
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Tue, 18 Oct 2016 02:23:33 +0000 (04:23 +0200)]
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>
Carl Eugen Hoyos [Tue, 18 Oct 2016 13:01:50 +0000 (15:01 +0200)]
lavf/avidec: Be more verbose when ignoring very large tag size.
Muhammad Faiz [Sun, 16 Oct 2016 22:29:34 +0000 (05:29 +0700)]
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>
Zhao Zhili [Sat, 15 Oct 2016 16:32:17 +0000 (00:32 +0800)]
avformat/tests/gitignore: add fifo_muxer entry
Reviewed-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Mon, 17 Oct 2016 16:25:48 +0000 (18:25 +0200)]
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.
Andreas Cadhalpun [Sun, 16 Oct 2016 20:42:32 +0000 (22:42 +0200)]
westwood_aud: prevent division by zero
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Sun, 16 Oct 2016 20:39:47 +0000 (22:39 +0200)]
astdec: fix division by zero
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Muhammad Faiz [Sun, 16 Oct 2016 22:59:57 +0000 (05:59 +0700)]
avfilter/showcqt: add font option
this is fontconfig pattern
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Muhammad Faiz [Sun, 16 Oct 2016 23:12:18 +0000 (06:12 +0700)]
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>
Carl Eugen Hoyos [Mon, 17 Oct 2016 17:11:18 +0000 (19:11 +0200)]
doc: Update x264 option a53cc, forgotten in
93e04102.
Andreas Cadhalpun [Sun, 16 Oct 2016 20:29:13 +0000 (22:29 +0200)]
aiffdec: fix division by zero
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Carl Eugen Hoyos [Mon, 17 Oct 2016 15:50:29 +0000 (17:50 +0200)]
lavc/videotoolboxenc: Enable a53cc by default.
Andreas Cadhalpun [Sun, 16 Oct 2016 19:47:00 +0000 (21:47 +0200)]
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>
Rick Kern [Mon, 10 Oct 2016 13:23:50 +0000 (09:23 -0400)]
lavc/videotoolboxenc: Error log formatting.
Signed-off-by: Rick Kern <kernrj@gmail.com>
Rick Kern [Mon, 10 Oct 2016 13:21:48 +0000 (09:21 -0400)]
lavc/videotoolboxenc: Update a53cc handling
Handles insertion into existing SEI NAL unit, inserts emulation
prevention bytes.
Signed-off-by: Rick Kern <kernrj@gmail.com>
Rick Kern [Mon, 10 Oct 2016 13:13:39 +0000 (09:13 -0400)]
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>
Aman Gupta [Thu, 8 Sep 2016 08:19:43 +0000 (17:19 +0900)]
lavc/videotoolboxenc: implement a53cc
Signed-off-by: Rick Kern <kernrj@gmail.com>
Hendrik Leppkes [Fri, 14 Oct 2016 11:48:22 +0000 (13:48 +0200)]
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
Muhammad Faiz [Sun, 16 Oct 2016 20:17:50 +0000 (03:17 +0700)]
avfilter/firequalizer: add scale option
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Clément Bœsch [Sun, 16 Oct 2016 17:20:36 +0000 (19:20 +0200)]
ffmpeg: remove unused ist parameter in do_subtitle_out()
James Almer [Sun, 16 Oct 2016 13:13:45 +0000 (10:13 -0300)]
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>
James Almer [Sat, 15 Oct 2016 14:20:38 +0000 (11:20 -0300)]
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>
James Almer [Sat, 15 Oct 2016 18:02:26 +0000 (15:02 -0300)]
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>
James Almer [Sat, 15 Oct 2016 21:01:50 +0000 (18:01 -0300)]
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>
Muhammad Faiz [Sat, 15 Oct 2016 22:54:34 +0000 (05:54 +0700)]
doc/filters: document tukey window on firequalizer
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Muhammad Faiz [Sat, 15 Oct 2016 22:50:47 +0000 (05:50 +0700)]
avfilter/firequalizer: add tukey window
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Muhammad Faiz [Sat, 15 Oct 2016 22:48:36 +0000 (05:48 +0700)]
avfilter/firequalizer: change WFUNC_MIN/MAX to NB_WFUNC
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Muhammad Faiz [Wed, 12 Oct 2016 23:00:24 +0000 (06:00 +0700)]
avfilter/showcqt: add csp option
from colorspace filter
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Jean Caillé [Mon, 10 Oct 2016 10:00:00 +0000 (12:00 +0200)]
lavf/mov: support gopro firmware udta tag
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Thomas Turner [Thu, 13 Oct 2016 22:13:56 +0000 (15:13 -0700)]
avutil: Improved selftest coverage for libavutil/fifo.c
Tested functions: av_fifo_generic_peek(), av_fifo_grow()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 14 Oct 2016 15:08:51 +0000 (17:08 +0200)]
avutil/audio_fifo: Use av_fifo_freep() and remove redundant if()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Fri, 14 Oct 2016 15:05:25 +0000 (17:05 +0200)]
ffmpeg: Use av_fifo_freep() to avoid stale pointers
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
James Zern [Fri, 14 Oct 2016 07:33:50 +0000 (00:33 -0700)]
ffmpeg_cleanup: fix crash with unrecognized codec
since:
3e5e5bd Merge commit '
398f015f077c6a2406deffd9e37ff34b9c7bb3bc'
Signed-off-by: James Zern <jzern@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Andreas Cadhalpun [Thu, 13 Oct 2016 20:14:46 +0000 (22:14 +0200)]
libopenjpegenc: fix out-of-bounds reads when filling the edges
The calculation of width/height should round up, not round down to
prevent setting width or height to 0.
Also image->comps[compno].w is unsigned (at least in openjpeg2), so the
calculation could silently wrap around without the explicit cast to int.
Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Andreas Cadhalpun [Thu, 13 Oct 2016 19:16:35 +0000 (21:16 +0200)]
libopenjpegenc: stop reusing image data buffer for openjpeg 2
openjpeg 2 sets the data pointers of the image components to NULL,
causing segfaults if the image is reused.
Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Carl Eugen Hoyos [Tue, 4 Oct 2016 10:21:41 +0000 (12:21 +0200)]
configure: Enable pie for toolchain=hardened.
Marton Balint [Tue, 4 Oct 2016 22:32:48 +0000 (00:32 +0200)]
lavfi/sidedata: add filter for manipulating frame side data
This is a similar filter to f_metadata, only it works on side data. Since
adding side data from a user provided arbitrary binary string is unsafe,
because current code assumes that a side data of a certain kind has the proper
size, this filter only implements selection and deletion. Also, no value
matching support is implemented yet, because there is no uniform way to specify
a side data textually.
Signed-off-by: Marton Balint <cus@passwd.hu>
Andreas Cadhalpun [Tue, 11 Oct 2016 18:28:35 +0000 (20:28 +0200)]
configure: fix detection of libopenjpeg
Use check_lib2 to test the header together with the function. This is
necessary, because '-DOPJ_STATIC' changes what the included header does.
Also add '-DOPJ_STATIC' to CPPFLAGS, so that it isn't necessary to
hardcode this in libavcodec/libopenjpeg{dec,enc}.c.
Finally, check for non-static openjpeg 2.1, too.
Reviewed-by: Michael Bradshaw <mjbshaw@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Muhammad Faiz [Thu, 13 Oct 2016 01:43:50 +0000 (08:43 +0700)]
fate: add test for firequalizer filter
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Stefano Sabatini [Thu, 13 Oct 2016 15:47:49 +0000 (17:47 +0200)]
doc/demuxers: restore alphabetical order
James Almer [Thu, 13 Oct 2016 17:22:07 +0000 (14:22 -0300)]
avformat/matroskadec: workaround the field_order bug in the Matroska muxer
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Vicente Olivert Riera [Wed, 12 Oct 2016 15:09:40 +0000 (16:09 +0100)]
libavcodec/mips/h264dsp_msa.c: fix type in some function parameters
This fixes a build problem for MIPS architecture that looks like this:
libavcodec/mips/h264dsp_msa.c:2498:6: error: conflicting types for
‘ff_weight_h264_pixels16_8_msa’
void ff_weight_h264_pixels16_8_msa(uint8_t *src, int stride,
This bug was introduced by commit
bc26fe89275c267d169b468356c82ee59874407d:
avcodec/h264: Use ptrdiff_t for (bi)weight functions
That commit changed the data type of some function parameters in some
function definitions. However, the implementation of those functions in
libavcodec/mips/h264dsp_msa.c wasn't changed accordingly.
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Thu, 13 Oct 2016 10:14:20 +0000 (12:14 +0200)]
lavf/riff: Support Verint NetDVR II ("VSM4") h263 video in asf.
James Almer [Wed, 12 Oct 2016 22:39:26 +0000 (19:39 -0300)]
avformat: bump minor version after the Matroska field order enum fix
Signed-off-by: James Almer <jamrial@gmail.com>
James Almer [Wed, 12 Oct 2016 19:51:39 +0000 (16:51 -0300)]
avformat/matroska: fix MatroskaVideoFieldOrder enum values
The spec says
9: Interlaced with bottom field displayed first and top field stored first
14: Interlaced with top field displayed first and bottom field stored first
And avcodec.h states
AV_FIELD_TB, //< Top coded first, bottom displayed first
AV_FIELD_BT, //< Bottom coded first, top displayed first
Reviewed-by: Dave Rice <dave@dericed.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Carl Eugen Hoyos [Wed, 5 Oct 2016 13:10:23 +0000 (15:10 +0200)]
configure: Use LDEXEFLAGS in check_ld().
Avoids detecting libraries that are not compatible with ldexeflags.
Timo Rothenpieler [Wed, 12 Oct 2016 18:51:43 +0000 (20:51 +0200)]
avcodec/nvenc: add support for forcing intra/idr frames
Philip Langdale [Sun, 9 Oct 2016 03:34:00 +0000 (20:34 -0700)]
crystalhd: Use mpeg4_unpack_bframes to avoid buggy crystalhd handling
The hardware handling of packed bframes was always questionable but
it used to ok with my workaround. Today, not so much. But today we
have a bsf to unpack the bframes, so let's just use that and be
done with it.
Philip Langdale [Sun, 18 Sep 2016 19:38:20 +0000 (12:38 -0700)]
crystalhd: Fix handling of PTS
With all the various refactorings that have happened over the years,
the current pts logic is very broken for non-trivial cases (ie: ones
where not every frame/field has a meaningful pts assocated with it).
Generally, we do not want to write AV_NOPTS_VALUE as the output
timestamp, regardless of anything else. It's better to pass zero
if there's no other information.
Additionally, interlaced content where the decoder returns each field
separately can result in the first field carrying the timestamp and
the second having AV_NOPTS_VALUE. It's clearly wrong to overwrite
the valid timestamp.
So, let's just never write AV_NOPTS_VALUE into an output frame.
Empirically, this fixed playback of interlaced mpeg2 and h.264 and
mpeg4-asp with packed b-frames in an avi container.
Carl Eugen Hoyos [Wed, 12 Oct 2016 10:34:48 +0000 (12:34 +0200)]
lavf/riffenc: Always write unexpected channel_mask.
Allows to write arbitrary channel masks also for 16bit 48kHz pcm.
Rostislav Pehlivanov [Sat, 8 Oct 2016 00:47:04 +0000 (01:47 +0100)]
aacenc: use the decoder's lcg PRNG
Using lfg was an overkill in this case where the random numbers
were only used for encoder descisions. Should increase result
uniformity between different FPUs and gives a slight speedup.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Matthieu Bouron [Thu, 6 Oct 2016 09:56:24 +0000 (11:56 +0200)]
lavc/mediacodecdec: rename dequeued_buffer_nb to output_buffer_count
Matthieu Bouron [Thu, 6 Oct 2016 09:53:13 +0000 (11:53 +0200)]
lavc/mediacodecdec: remove first output buffer timing debug log
James Almer [Tue, 11 Oct 2016 17:36:16 +0000 (14:36 -0300)]
avformat/matroskaenc: don't write a FlagInterlaced element if it would write the default value
The spec says:
"Mandatory elements with a default value may be left out of the file. In the absence
of a mandatory element, the element's default value is used."
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Tue, 11 Oct 2016 01:05:48 +0000 (03:05 +0200)]
doc/developer: Mention mime type and patchwork in "Submitting patches"
Suggested-by: ronald
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Marton Balint [Thu, 6 Oct 2016 21:43:03 +0000 (23:43 +0200)]
lavfi/metadata: fix metadata deletion if comparison returns false
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
Moritz Barsnick [Sun, 9 Oct 2016 18:51:57 +0000 (20:51 +0200)]
doc: fix various typos and grammar errors
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Carl Eugen Hoyos [Tue, 11 Oct 2016 08:07:18 +0000 (10:07 +0200)]
lavf/matroskaenc: Always write V_QUICKTIME extradata.
Fixes ticket #5872.
Carl Eugen Hoyos [Tue, 11 Oct 2016 07:52:34 +0000 (09:52 +0200)]
lavf/aiffenc: Write extradata also for qcelp.
Fixes ticket #4009.
Carl Eugen Hoyos [Tue, 11 Oct 2016 07:49:35 +0000 (09:49 +0200)]
lavf/aiffdec: Default to full rate qcelp as QT does.
Fixes decoding of the output file from ticket #4009.
Carl Eugen Hoyos [Sat, 8 Oct 2016 09:23:41 +0000 (11:23 +0200)]
lavf/mxfenc: Do not print a useless error message.
The option d10_channelcount only exists for mxf_d10.
James Almer [Fri, 7 Oct 2016 05:46:22 +0000 (02:46 -0300)]
avformat/matroskaenc: fix targets for attachment tags
Attachment tags were being written targeting non-existent streams in the
output file.
Also filter filename and mimetype entries, as they are standard elements
in the Attachment master.
Signed-off-by: James Almer <jamrial@gmail.com>
Moritz Barsnick [Sun, 9 Oct 2016 01:49:15 +0000 (03:49 +0200)]
lavfi/pan: renormalize negative gain coefficients properly
The parser for the outdef will accept a negative value for the first
named channel's gain. As negative values effectively only invert the
phase of the signal, and not negate the level, the gains' absolute
values must be used to correctly accumulate the levels.
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Zhou Xiaoyong [Mon, 10 Oct 2016 08:07:20 +0000 (16:07 +0800)]
configure: loongson disable mipsfpu and mipsdsp optimizations
The optimizations of mipsdsp are not supported by all loongson cpu.
The optimizations of mipsfpu and mipsdspr2 maybe supported by 3A2000/3A3000/3A4000 but not tested yet.
Loongson only support mmi (loongSIMD) optimizations now.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Steve Lhomme [Wed, 5 Oct 2016 10:52:15 +0000 (12:52 +0200)]
avcodec/d3d11va: use the proper slice index
The slice index expected by D3D11VA is the one from the texture not from the
array or texture/slices.
In VLC the slices we provide the decoder don't start from 0 and thus pictures
appear in bogus order. With possible crashes and corruptions when using an
invalid index.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Mon, 10 Oct 2016 00:41:24 +0000 (02:41 +0200)]
avutil/hwcontext_vdpau: Fix warning: "GET_CALLBACK" redefined
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sun, 9 Oct 2016 01:05:27 +0000 (03:05 +0200)]
avformat/movenc: Check frame rate in mov_write_uuidprof_tag()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sun, 9 Oct 2016 00:42:57 +0000 (02:42 +0200)]
avformat/movenc: Switch mov_write_uuidprof_tag() to avg_frame_rate
Using the stream timebase simply overflows
Fix integer overflow in psp framerate computation
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sat, 8 Oct 2016 15:49:10 +0000 (17:49 +0200)]
avformat/utils: Update codec_id before using it in the parser init
Fixes assertion failure
Fixes: input.avi
Found-by: 连一汉 <lianyihan@360.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Muhammad Faiz [Sun, 9 Oct 2016 19:27:31 +0000 (02:27 +0700)]
avfilter/firequalizer: fix blackman window calculation
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Moritz Barsnick [Sun, 9 Oct 2016 10:57:02 +0000 (12:57 +0200)]
cmdutils: fix typos
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Moritz Barsnick [Sun, 9 Oct 2016 10:57:01 +0000 (12:57 +0200)]
lavf: fix typos
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Moritz Barsnick [Sun, 9 Oct 2016 10:57:00 +0000 (12:57 +0200)]
lavfi: fix typos
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Moritz Barsnick [Sun, 9 Oct 2016 10:56:59 +0000 (12:56 +0200)]
lavc: fix typos
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Moritz Barsnick [Sun, 9 Oct 2016 10:56:58 +0000 (12:56 +0200)]
tools: fix grammar error
Signed-off-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer [Sat, 8 Oct 2016 22:32:08 +0000 (00:32 +0200)]
doc/examples/http_multiclient: Fix "doc/examples/http_multiclient.c:43:9: warning: passing argument 4 of av_opt_get from incompatible pointer type"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Sat, 8 Oct 2016 09:38:47 +0000 (11:38 +0200)]
Merge commit '
398f015f077c6a2406deffd9e37ff34b9c7bb3bc'
* commit '
398f015f077c6a2406deffd9e37ff34b9c7bb3bc':
avconv: buffer the packets written while the muxer is not initialized
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
James Almer [Fri, 7 Oct 2016 05:32:10 +0000 (02:32 -0300)]
avformat/matroskaenc: fix Tags master on seekable output if there are tags after the last stream duration
The dynamic AVIOContext would get closed pointing to the wrong position
in the buffer.
This is a regression since
650e17d88b63b5aca6e0a43483e89e64b0f7d2dd.
Reviewed-by: Dave Rice <dave@dericed.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Fri, 7 Oct 2016 14:05:09 +0000 (16:05 +0200)]
ffmpeg: Fix bitstream typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Fri, 7 Oct 2016 13:44:39 +0000 (15:44 +0200)]
ffmpeg: explicitly write headers for files with no streams
Recent changes to ffmpeg.c tied output file init to stream init, which broke
stream-less files, specifically ffmetadata output.
Michael Niedermayer [Fri, 7 Oct 2016 12:01:20 +0000 (14:01 +0200)]
avformat/matroskaenc: Fix () error
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Hendrik Leppkes [Fri, 7 Oct 2016 12:39:00 +0000 (14:39 +0200)]
Merge commit '
1c169782cae6c5c430ff62e7d7272dc9d0e8d527'
* commit '
1c169782cae6c5c430ff62e7d7272dc9d0e8d527':
avconv: explicitly postpone writing the header until all streams are initialized
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Fri, 7 Oct 2016 11:29:11 +0000 (13:29 +0200)]
Merge commit '
5b63b15663d31f50ce45d980b904a68795ad3f7a'
* commit '
5b63b15663d31f50ce45d980b904a68795ad3f7a':
lavfi: set the link hwframes context before configuring the dst input
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Fri, 7 Oct 2016 11:28:53 +0000 (13:28 +0200)]
Merge commit '
0c9c4004ed57de210b4d83c7b39bbfb00b86b9af'
* commit '
0c9c4004ed57de210b4d83c7b39bbfb00b86b9af':
omx: Don't return > 0 from omx_encode_frame
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Fri, 7 Oct 2016 11:23:49 +0000 (13:23 +0200)]
Merge commit '
31aa5335c390c83a6c3ea955b155067c36c4a2c4'
* commit '
31aa5335c390c83a6c3ea955b155067c36c4a2c4':
libopenh264enc: Fix inconsistent whitespace
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Hendrik Leppkes [Fri, 7 Oct 2016 11:23:38 +0000 (13:23 +0200)]
Merge commit '
4f98bb7b6d0323d9ecc3bebd6e24d46a3a374bad'
* commit '
4f98bb7b6d0323d9ecc3bebd6e24d46a3a374bad':
msmpeg4: Remove commented-out debug logging code
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>