]> git.sesse.net Git - ffmpeg/log
ffmpeg
8 years agoavcodec/sheervideo: fix prediction for ybyr format
Paul B Mahol [Fri, 10 Jun 2016 07:52:38 +0000 (09:52 +0200)]
avcodec/sheervideo: fix prediction for ybyr format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/sheervideo: fix predictions for c82p format
Paul B Mahol [Thu, 9 Jun 2016 22:24:30 +0000 (00:24 +0200)]
avcodec/sheervideo: fix predictions for c82p format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/af_loudnorm: add dual_mono option
Kyle Swanson [Tue, 7 Jun 2016 16:55:02 +0000 (11:55 -0500)]
avfilter/af_loudnorm: add dual_mono option

Signed-off-by: Kyle Swanson <k@ylo.ph>
8 years agoavformat/utils: Do not overwrite, but use sample_fmt from context
Michael Niedermayer [Thu, 9 Jun 2016 09:22:01 +0000 (11:22 +0200)]
avformat/utils: Do not overwrite, but use sample_fmt from context

Fixes Ticket 3759

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/utils: Open decoder even if there are no packets if parameters are missing
Michael Niedermayer [Thu, 9 Jun 2016 17:11:18 +0000 (19:11 +0200)]
avformat/utils: Open decoder even if there are no packets if parameters are missing

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/utils: Initialize st in loop
Michael Niedermayer [Thu, 9 Jun 2016 17:09:36 +0000 (19:09 +0200)]
avformat/utils: Initialize st in loop

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/sheervideo: supports some other 8bit formats
Paul B Mahol [Thu, 9 Jun 2016 13:30:27 +0000 (15:30 +0200)]
avcodec/sheervideo: supports some other 8bit formats

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/sheervideo: add interlaced YCbCr(A) 4:2:2:4 8-bit support
Paul B Mahol [Mon, 30 May 2016 17:33:31 +0000 (19:33 +0200)]
avcodec/sheervideo: add interlaced YCbCr(A) 4:2:2:4 8-bit support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATE
Michael Niedermayer [Thu, 9 Jun 2016 03:01:26 +0000 (05:01 +0200)]
avutil/opt: Fix max/min checking in av_opt_set() for AV_OPT_TYPE_VIDEO_RATE

Fixes Ticket5618

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat: Fix max value of AV_OPT_TYPE_VIDEO_RATE
Michael Niedermayer [Thu, 9 Jun 2016 03:00:52 +0000 (05:00 +0200)]
avformat: Fix max value of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter: Fix max value of AV_OPT_TYPE_VIDEO_RATE
Michael Niedermayer [Thu, 9 Jun 2016 03:00:22 +0000 (05:00 +0200)]
avfilter: Fix max value of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavdevice: Fix max value of AV_OPT_TYPE_VIDEO_RATE
Michael Niedermayer [Thu, 9 Jun 2016 02:52:52 +0000 (04:52 +0200)]
avdevice: Fix max value of AV_OPT_TYPE_VIDEO_RATE

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/sheervideo: add interlaced YCbCr(A) 4:4:4:4 8-bit support
Paul B Mahol [Mon, 30 May 2016 17:33:31 +0000 (19:33 +0200)]
avcodec/sheervideo: add interlaced YCbCr(A) 4:4:4:4 8-bit support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agox86/showcqt: use three operand format for some instructions
James Almer [Wed, 8 Jun 2016 22:37:08 +0000 (19:37 -0300)]
x86/showcqt: use three operand format for some instructions

Fixes failures with yasm 1.1.0 and older

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agox86/showcqt: add missing preprocessor checks
James Almer [Wed, 8 Jun 2016 22:30:22 +0000 (19:30 -0300)]
x86/showcqt: add missing preprocessor checks

Old yasm/nasm versions don't support some of these

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoaacsbr: reduce element type mismatch warning severity
Rostislav Pehlivanov [Wed, 8 Jun 2016 20:01:04 +0000 (21:01 +0100)]
aacsbr: reduce element type mismatch warning severity

All HE-AAC samples with an LFE channel make this warning get spammed on
every frame. Turning off SBR for LFE channels makes sense (since it has
much less coefficients than normal channels do), so this error print is
of no value in this case.
It makes sense to keep the error in other cases, hence why it's still
around, degraded to warning severity since the decoder will still
attempt to decode without SBR.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
8 years agoavfilter/src_movie: call open_stream after guess_channel_layout
Muhammad Faiz [Thu, 2 Jun 2016 07:50:46 +0000 (14:50 +0700)]
avfilter/src_movie: call open_stream after guess_channel_layout

fix error 'Channel layout change is not supported' when
opening wav file

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavfilter/avf_showcqt: set range on fps/rate/r option
Muhammad Faiz [Wed, 8 Jun 2016 00:44:03 +0000 (07:44 +0700)]
avfilter/avf_showcqt: set range on fps/rate/r option

see Ticket #5618

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agox86/aacdec: use HADDPS macro
James Almer [Wed, 8 Jun 2016 17:18:18 +0000 (14:18 -0300)]
x86/aacdec: use HADDPS macro

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavutil/x86util: move haddps sse emulation from showcqt
James Almer [Wed, 8 Jun 2016 17:18:00 +0000 (14:18 -0300)]
avutil/x86util: move haddps sse emulation from showcqt

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoMAINTAINERS: Add myself as maintainer for VAAPI encoders
Mark Thompson [Mon, 6 Jun 2016 21:10:03 +0000 (22:10 +0100)]
MAINTAINERS: Add myself as maintainer for VAAPI encoders

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/h264: Put context_count check back
Michael Niedermayer [Wed, 8 Jun 2016 10:32:57 +0000 (12:32 +0200)]
avcodec/h264: Put context_count check back

Fixes assertion failure

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/avf_showcqt: cqt_calc optimization on x86
Muhammad Faiz [Sat, 4 Jun 2016 07:33:05 +0000 (14:33 +0700)]
avfilter/avf_showcqt: cqt_calc optimization on x86

on x86_64:
        time    PSNR
plain   3.303   inf
SSE     1.649   107.087535
SSE3    1.632   107.087535
AVX     1.409   106.986771
FMA3    1.265   107.108437

on x86_32 (PSNR compared to x86_64 plain):
        time    PSNR
plain   7.225   103.951979
SSE     1.827   105.859282
SSE3    1.819   105.859282
AVX     1.533   105.997661
FMA3    1.384   105.885377

FMA4 test is not available

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavformat/matroskadec: force 48kHz sample rate when rescaling Opus inital padding
James Almer [Mon, 6 Jun 2016 04:14:11 +0000 (01:14 -0300)]
avformat/matroskadec: force 48kHz sample rate when rescaling Opus inital padding

Mkvtoolnix stores the sample rate of the original stream as reported by the
"OpusHead" stream header instead of 48kHz, the actual sample rate of the Opus
stream.
Ignoring the stored sample rate and forcing 48kHz preserves the correct initial
padding when remuxing such files.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/h264: Fix off by 1 context count
Michael Niedermayer [Tue, 7 Jun 2016 20:17:38 +0000 (22:17 +0200)]
avcodec/h264: Fix off by 1 context count

Fixes fate-h264-xavc-4389 with slice threads

8 years agoavcodec/sheervideo: fix order of operations for raw lines
Paul B Mahol [Tue, 7 Jun 2016 21:14:07 +0000 (23:14 +0200)]
avcodec/sheervideo: fix order of operations for raw lines

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/sheervideo: add support for 8-bit interlaced (A)RGB
Paul B Mahol [Mon, 30 May 2016 17:33:31 +0000 (19:33 +0200)]
avcodec/sheervideo: add support for 8-bit interlaced (A)RGB

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec: add BitJazz SheerVideo decoder
Paul B Mahol [Mon, 30 May 2016 17:33:31 +0000 (19:33 +0200)]
avcodec: add BitJazz SheerVideo decoder

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/alsdec: Check r to prevent out of array read
Michael Niedermayer [Tue, 7 Jun 2016 18:50:38 +0000 (20:50 +0200)]
avcodec/alsdec: Check r to prevent out of array read

No testcase known

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodoc/filters: remove outdated showwavespic example
Lou Logan [Tue, 7 Jun 2016 18:52:15 +0000 (10:52 -0800)]
doc/filters: remove outdated showwavespic example

Use "colors" option instead.

Signed-off-by: Lou Logan <lou@lrcd.com>
8 years agoavformat/mpegts: Fix probing of mpegts with invalid ASC
Michael Niedermayer [Tue, 7 Jun 2016 13:46:08 +0000 (15:46 +0200)]
avformat/mpegts: Fix probing of mpegts with invalid ASC

Fixes Ticket5566

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/rawdec: Fix avg_framerate for h264
Michael Niedermayer [Fri, 3 Jun 2016 21:59:36 +0000 (23:59 +0200)]
avformat/rawdec: Fix avg_framerate for h264

The framerate is 25 which is a fixed default and is wrong undo the 1 line
change which caused this regression
Only the avg_frame rate setting is removed
The timebase update is not done as there was a objection (see ML)
Fixes Ticket 5444

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavc/mediacodec: improve error messages
Matthieu Bouron [Wed, 1 Jun 2016 10:05:49 +0000 (12:05 +0200)]
lavc/mediacodec: improve error messages

8 years agolavc/mediacodec: bypass width/height restrictions when looking for a decoder
Matthieu Bouron [Tue, 31 May 2016 09:00:12 +0000 (11:00 +0200)]
lavc/mediacodec: bypass width/height restrictions when looking for a decoder

Codec width/height restrictions seem hardcoded at the OMX level and
seem arbitrary. Bypassing those restrictions allows a device to decode
streams at higher resolutions.

For example it allows a Nexus 5 to decode h264 streams with a resolution
higher than 1920x1080.

8 years agolavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency
Matthieu Bouron [Mon, 6 Jun 2016 14:05:46 +0000 (16:05 +0200)]
lavc/mediacodec: rename MediaFormat field clazz to mediaformat_class for consistency

8 years agolavc/mediacodec: move struct declarations at the begin
Matthieu Bouron [Mon, 6 Jun 2016 13:56:10 +0000 (15:56 +0200)]
lavc/mediacodec: move struct declarations at the begin

8 years agolavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mapping
Matthieu Bouron [Mon, 6 Jun 2016 13:28:36 +0000 (15:28 +0200)]
lavc/mediacodec: rename jfields_mapping to jni_amediacodeclist_mapping

8 years agolavc/mediacodec: do not delete a local reference twice in case of error
Matthieu Bouron [Tue, 31 May 2016 09:37:11 +0000 (11:37 +0200)]
lavc/mediacodec: do not delete a local reference twice in case of error

8 years agoavcodec/utils: check skip_samples signedness
Michael Niedermayer [Tue, 7 Jun 2016 01:48:09 +0000 (03:48 +0200)]
avcodec/utils: check skip_samples signedness

Fixes Ticket5528

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/af_firequalizer: add zero_phase option
Muhammad Faiz [Sun, 5 Jun 2016 23:28:09 +0000 (06:28 +0700)]
avfilter/af_firequalizer: add zero_phase option

simply by substracting pts to compensate delay
also handle AV_NOPTS_VALUE

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavdevice/dshow: Fix frame rate
Michael Niedermayer [Tue, 7 Jun 2016 00:32:13 +0000 (02:32 +0200)]
avdevice/dshow: Fix frame rate

Fixes: Ticket5526
Tested-by: kgp700
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoChangelog : add OpenExr improvements
Martin Vignali [Mon, 6 Jun 2016 20:48:24 +0000 (22:48 +0200)]
Changelog : add OpenExr improvements

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/nvenc: Check capabilities for interlaced encoding
Timo Rothenpieler [Mon, 6 Jun 2016 19:19:29 +0000 (21:19 +0200)]
avcodec/nvenc: Check capabilities for interlaced encoding

8 years agoavformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M stream
Michael Niedermayer [Mon, 6 Jun 2016 19:43:01 +0000 (21:43 +0200)]
avformat/mpegts: Do not trust BSSD descriptor, it is sometimes not an S302M stream

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/exr: indent b44 uncompress function
Martin Vignali [Sat, 4 Jun 2016 13:47:53 +0000 (15:47 +0200)]
avcodec/exr: indent b44 uncompress function

8 years agoavcodec/exr: fix decoding of B44 exr when all channel doesnt have the same pixel...
Martin Vignali [Sat, 4 Jun 2016 13:43:48 +0000 (15:43 +0200)]
avcodec/exr: fix decoding of B44 exr when all channel doesnt have the same pixel type

8 years agoavcodec/exr: move channel_line_size to thread data
Martin Vignali [Sat, 4 Jun 2016 13:38:59 +0000 (15:38 +0200)]
avcodec/exr: move channel_line_size to thread data

In order to be used by b44 uncompress.

8 years agoavcodec/exr: improve pxr24 uncompress
Martin Vignali [Sat, 4 Jun 2016 12:24:08 +0000 (14:24 +0200)]
avcodec/exr: improve pxr24 uncompress

Fix pxr24 uncompress when all channels doesnt have the same pixel type.
The expected length after zip decoding, is now calculated channel by channel.

8 years agoavcodec/exr: remove unneed scanline_size var
Martin Vignali [Sat, 4 Jun 2016 12:18:48 +0000 (14:18 +0200)]
avcodec/exr: remove unneed scanline_size var

8 years agoavcodec/exr: fix tile decoding when all channels doesnt have the same pixel type
Martin Vignali [Sat, 4 Jun 2016 12:06:39 +0000 (14:06 +0200)]
avcodec/exr: fix tile decoding when all channels doesnt have the same pixel type

Also simplify the tile code, sharing more code with the scanline mode.

8 years agoavcodec/exr: indent the if (layer_match) part
Martin Vignali [Sat, 4 Jun 2016 15:45:31 +0000 (17:45 +0200)]
avcodec/exr: indent the if (layer_match) part

8 years agoavcodec/exr: fix layer detection
Martin Vignali [Sat, 4 Jun 2016 15:42:20 +0000 (17:42 +0200)]
avcodec/exr: fix layer detection

Only test a channel if the layer name match.
Avoid to try to mix channel between the main layer (rgba layer),
and the layer request by the user.

8 years agoavcodec/bmp_parser: Check fsize
Michael Niedermayer [Mon, 6 Jun 2016 12:32:48 +0000 (14:32 +0200)]
avcodec/bmp_parser: Check fsize

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/bmp_parser: reset state
Michael Niedermayer [Mon, 6 Jun 2016 12:30:40 +0000 (14:30 +0200)]
avcodec/bmp_parser: reset state

Fixes part of ticket 5598

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/bmp_parser: Fix remaining size
Michael Niedermayer [Mon, 6 Jun 2016 12:27:20 +0000 (14:27 +0200)]
avcodec/bmp_parser: Fix remaining size

Fixes part of ticket 5598

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/bmp_parser: Fix frame_start_found in cross frame cases
Michael Niedermayer [Mon, 6 Jun 2016 12:01:43 +0000 (14:01 +0200)]
avcodec/bmp_parser: Fix frame_start_found in cross frame cases

Fixes part of ticket 5598

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/matroskadec: Fix rounding error with codec_delay
Michael Niedermayer [Mon, 6 Jun 2016 02:23:16 +0000 (04:23 +0200)]
avformat/matroskadec: Fix rounding error with codec_delay

Fixes Ticket5509

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/wmalosslessdec: Use unsigned operations for overflowing cases
Michael Niedermayer [Mon, 16 May 2016 11:14:31 +0000 (13:14 +0200)]
avcodec/wmalosslessdec: Use unsigned operations for overflowing cases

Fixes undefined behavior in fate-lossless-wma24-2

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/movenc: Skip unsupported video tracks in timecode generation
Michael Niedermayer [Fri, 29 Apr 2016 02:39:40 +0000 (04:39 +0200)]
avformat/movenc: Skip unsupported video tracks in timecode generation

Fixes Ticket5414

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/af_amix: dont fail if there are no samples in output_frame()
Michael Niedermayer [Thu, 28 Apr 2016 18:49:13 +0000 (20:49 +0200)]
avfilter/af_amix: dont fail if there are no samples in output_frame()

Fixes Ticket5326

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/allformats: Making av_register_all() thread-safe.
Vivekanand [Thu, 7 Apr 2016 10:46:23 +0000 (16:16 +0530)]
avformat/allformats: Making av_register_all() thread-safe.

When multiple threads tries to call av_register_all(), the first thread sets
initialized to 1 and do the register process. At the same time, other thread might
also call av_register_all(), which returns immediately because initialized is set to 1
(even when it has not completed registering codecs). We can avoid this problem
if we set initialised to 1 while exiting from function.

Github: Closes #196

8 years agoavcodec/mpeg4videodec: Fix default low_delay flag value if not coded
Michael Niedermayer [Mon, 28 Mar 2016 18:40:40 +0000 (20:40 +0200)]
avcodec/mpeg4videodec: Fix default low_delay flag value if not coded

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/mpeg4videodec: Print low_delay value with -debug 1 in decode_vol_header()
Michael Niedermayer [Mon, 28 Mar 2016 18:21:44 +0000 (20:21 +0200)]
avcodec/mpeg4videodec: Print low_delay value with -debug 1 in decode_vol_header()

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_colormatrix: add bt.2020 colorspace
Thomas Mundt [Fri, 25 Mar 2016 22:31:36 +0000 (23:31 +0100)]
avfilter/vf_colormatrix: add bt.2020 colorspace

Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_colormatrix: increase precision
Thomas Mundt [Sat, 26 Mar 2016 10:53:36 +0000 (11:53 +0100)]
avfilter/vf_colormatrix: increase precision

Signed-off-by: Thomas Mundt <loudmax@yahoo.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavutil/frame: Assert that width/height/channels is 0 for the destination of av_frame...
Michael Niedermayer [Tue, 8 Mar 2016 17:44:34 +0000 (18:44 +0100)]
avutil/frame: Assert that width/height/channels is 0 for the destination of av_frame*_ref()

This should detect caes where these functions are called in unclean destinations

8 years agodoc/examples/transcoding: Use the decoders pixel format if the encoder does not list...
Michael Niedermayer [Sat, 27 Feb 2016 23:03:14 +0000 (00:03 +0100)]
doc/examples/transcoding: Use the decoders pixel format if the encoder does not list which are supported

This affects rawvideo and wraped_avframe, no others are affected atm

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoSeperate x264rgb encoder and only enable when its actually supported
Michael Niedermayer [Sat, 27 Feb 2016 22:23:41 +0000 (23:23 +0100)]
Seperate x264rgb encoder and only enable when its actually supported

This avoids enabling and building the x264rgb encoder when its actually not supported and
thus would not work

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/format: Print debug info when probe score is increased due to mime type
Michael Niedermayer [Thu, 25 Feb 2016 18:36:01 +0000 (19:36 +0100)]
avformat/format: Print debug info when probe score is increased due to mime type

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/cfhd: clear idwt_buf on allocation
Michael Niedermayer [Sun, 14 Feb 2016 19:22:49 +0000 (20:22 +0100)]
avcodec/cfhd: clear idwt_buf on allocation

This avoids use of uninitialized variables and might make bugs in general
easier to reproduce

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoCheck av_dup_packet() return code
Michael Niedermayer [Wed, 3 Feb 2016 17:52:26 +0000 (18:52 +0100)]
Check av_dup_packet() return code

Fixes: CID1338320
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/mpegvideo: Deallocate last/next picture earlier
Michael Niedermayer [Sat, 4 Jun 2016 23:46:18 +0000 (01:46 +0200)]
avcodec/mpegvideo: Deallocate last/next picture earlier

Fixes regression with mplayers direct rendering and reduces buffer count
pressure in some cases

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/dump: Print tbc value
Michael Niedermayer [Fri, 3 Jun 2016 21:29:05 +0000 (23:29 +0200)]
avformat/dump: Print tbc value

Fixes regression of av_dump_format()
Fixes part of Ticket 5444

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/utils: initialize delay in avcodec_parameters_to_context()
Michael Niedermayer [Sat, 4 Jun 2016 02:40:28 +0000 (04:40 +0200)]
avcodec/utils: initialize delay in avcodec_parameters_to_context()

Fixes lost codec delayy
Should fix Ticket5509

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/nvenc: Don't set packet duration
Timo Rothenpieler [Sat, 4 Jun 2016 10:20:59 +0000 (12:20 +0200)]
avcodec/nvenc: Don't set packet duration

It's not expected to be set on video packets and causes issues in
ffmpeg.c.

8 years agoavfilter/avf_showcqt: render default font at 960x16
Muhammad Faiz [Thu, 2 Jun 2016 09:10:47 +0000 (16:10 +0700)]
avfilter/avf_showcqt: render default font at 960x16

and let ffmpeg scaler scale it
this impoves quality

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavdevice/lavfi: Do not set avg_frame_rate to the timebase
Michael Niedermayer [Fri, 3 Jun 2016 23:33:30 +0000 (01:33 +0200)]
avdevice/lavfi: Do not set avg_frame_rate to the timebase

Fixes regression
Fixes Ticket5422 (The timebase is 1/25k but the fps are not 25k)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/version: Add Ticket5421 to list of tickets possibly affected by a major...
Michael Niedermayer [Fri, 3 Jun 2016 21:09:19 +0000 (23:09 +0200)]
avformat/version: Add Ticket5421 to list of tickets possibly affected by a major bump

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/dump: Use codec and QP limits from AVCodecContext
Michael Niedermayer [Fri, 3 Jun 2016 20:26:00 +0000 (22:26 +0200)]
avformat/dump: Use codec and QP limits from AVCodecContext

Fixes regression
Fixes Ticket5421

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolibavutil/fifo: Fix fifo grow step
Jan Sebechlebsky [Fri, 3 Jun 2016 12:04:00 +0000 (14:04 +0200)]
libavutil/fifo: Fix fifo grow step

Fifo was reallocating always to twice of the requested size.
This fixes it to reallocate to requested size, or twice of the
original size - whichever is greater.

Signed-off-by: Jan Sebechlebsky <sebechlebskyjan@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavf/udp: fix dead code.
Nicolas George [Fri, 3 Jun 2016 09:05:20 +0000 (11:05 +0200)]
lavf/udp: fix dead code.

Since d607861, service can not be NULL, only "0".
An UDP address with neither local port nor address leaves both
service and node to their default value, and POSIX specifies
that they are not allowed to be both NULL; "0" is equivalent
to an unspecified port for all currently known protocols.

Fix CID 1341570.

8 years agoavformat/au: Write MetaData in AU Sun audio file header
Thomas Bernard [Tue, 31 May 2016 19:57:57 +0000 (21:57 +0200)]
avformat/au: Write MetaData in AU Sun audio file header

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavc/mediacodecdec_h264: rename input_ref to input_pkt
Matthieu Bouron [Thu, 26 May 2016 13:33:41 +0000 (15:33 +0200)]
lavc/mediacodecdec_h264: rename input_ref to input_pkt

8 years agolavc/mediacodecdec_h264: switch to new BSF API
Matthieu Bouron [Thu, 26 May 2016 12:52:01 +0000 (14:52 +0200)]
lavc/mediacodecdec_h264: switch to new BSF API

8 years agolavc/vaapi_encoder_{h264,h265}: fix bad format warning
Matthieu Bouron [Thu, 2 Jun 2016 16:15:35 +0000 (18:15 +0200)]
lavc/vaapi_encoder_{h264,h265}: fix bad format warning

8 years agofate/prores: use aac fixed for audio to fix fate failures on arm
Michael Niedermayer [Fri, 3 Jun 2016 02:25:57 +0000 (04:25 +0200)]
fate/prores: use aac fixed for audio to fix fate failures on arm

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agotests/fate/h264: Add test for xavc and somewhat odd pps/sps
Michael Niedermayer [Thu, 2 Jun 2016 23:09:58 +0000 (01:09 +0200)]
tests/fate/h264: Add test for xavc and somewhat odd pps/sps

(Ticket 4389)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodoc/filters: Remove duplicated setdar example
Lars Kiesow [Thu, 2 Jun 2016 22:34:09 +0000 (00:34 +0200)]
doc/filters: Remove duplicated setdar example

Signed-off-by: Lou Logan <lou@lrcd.com>
8 years agoavcodec/magicyuv: set correct size of last slice for each plane
Paul B Mahol [Thu, 2 Jun 2016 20:40:57 +0000 (22:40 +0200)]
avcodec/magicyuv: set correct size of last slice for each plane

Fixes invalid read.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoMAINTAINERS: Remove myself
Derek Buitenhuis [Thu, 19 May 2016 12:27:08 +0000 (13:27 +0100)]
MAINTAINERS: Remove myself

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavformat: Copy properties from internal context
Michael Niedermayer [Mon, 30 May 2016 12:00:53 +0000 (14:00 +0200)]
avformat: Copy properties from internal context

Fixes Ticket5467 "Lossless j2k information no longer shown"

Based on suggestion by Hendrik Leppkes
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/h264_refs: Fix pps_ref_count with multiple PPS
Michael Niedermayer [Thu, 2 Jun 2016 12:51:49 +0000 (14:51 +0200)]
avcodec/h264_refs: Fix pps_ref_count with multiple PPS

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/h264_refs: Remove unused pps_count
Michael Niedermayer [Thu, 2 Jun 2016 12:48:12 +0000 (14:48 +0200)]
avcodec/h264_refs: Remove unused pps_count

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/udp: Protect write to circular_buffer_error by mutex
Michael Niedermayer [Thu, 2 Jun 2016 11:30:12 +0000 (13:30 +0200)]
avformat/udp: Protect write to circular_buffer_error by mutex

This isnt really needed on most platforms but
fixes CID1362183

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/avf_showcqt: full chroma blending on draw_axis_yuv
Muhammad Faiz [Tue, 31 May 2016 14:51:27 +0000 (21:51 +0700)]
avfilter/avf_showcqt: full chroma blending on draw_axis_yuv

improve quality on axis drawing with yuv422p and yuv420p format

Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
8 years agoavcodec/magicyuv: fix decoding of raw slices
Paul B Mahol [Thu, 2 Jun 2016 04:59:46 +0000 (06:59 +0200)]
avcodec/magicyuv: fix decoding of raw slices

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agovaapi: Enable more libva surface formats
Mark Thompson [Sun, 22 May 2016 10:38:39 +0000 (11:38 +0100)]
vaapi: Enable more libva surface formats

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/avpacket: Respect payload offset in av_grow_packet
Andriy Lysnevych [Wed, 25 May 2016 14:56:21 +0000 (17:56 +0300)]
avcodec/avpacket: Respect payload offset in av_grow_packet

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat: Document where the AVOption names can be found for the fields of AVFormatCo...
Michael Niedermayer [Sat, 28 May 2016 14:57:15 +0000 (16:57 +0200)]
avformat: Document where the AVOption names can be found for the fields of AVFormatContext

Missing docs found by: nevcairiel

RFC: should we add support so that the C field names always work as av option names/keys ?

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Document where the AVOption names can be found for the fields of AVCodecContext
Michael Niedermayer [Sat, 28 May 2016 14:57:14 +0000 (16:57 +0200)]
avcodec: Document where the AVOption names can be found for the fields of AVCodecContext

Missing docs found by: nevcairiel

RFC: should we add support so that the C field names always work as av option names/keys ?

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>