]> git.sesse.net Git - ffmpeg/log
ffmpeg
8 years agoMerge commit '002c47798da0c43a053822c8041144798d49ed84'
Derek Buitenhuis [Wed, 3 Feb 2016 17:07:47 +0000 (17:07 +0000)]
Merge commit '002c47798da0c43a053822c8041144798d49ed84'

This is a NOOP.

* commit '002c47798da0c43a053822c8041144798d49ed84':
  x86inc: Avoid creating unnecessary local labels
  x86inc: Simplify AUTO_REP_RET
  x86inc: Use more consistent indentation
  x86inc: Preserve arguments when allocating stack space
  x86inc: Improve FMA instruction handling
  x86inc: Be more verbose in assertion failures
  x86inc: Make cpuflag() and notcpuflag() return 0 or 1

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab'
Derek Buitenhuis [Wed, 3 Feb 2016 16:59:06 +0000 (16:59 +0000)]
Merge commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab'

* commit 'd336bfcf69fee159e9dba5e5e486ddb1aba61aab':
  pixdesc: fix and extend doxy for av_pix_fmt_get_chroma_sub_sample()

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'c0c4d7a0a556ec66e3068d36a883e84d1efb0690'
Derek Buitenhuis [Wed, 3 Feb 2016 16:57:46 +0000 (16:57 +0000)]
Merge commit 'c0c4d7a0a556ec66e3068d36a883e84d1efb0690'

* commit 'c0c4d7a0a556ec66e3068d36a883e84d1efb0690':
  configure: Correctly add openssl cflags and libs

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '87a814fdce522d45aa31aa258cb5514d7e754bff'
Derek Buitenhuis [Wed, 3 Feb 2016 16:57:07 +0000 (16:57 +0000)]
Merge commit '87a814fdce522d45aa31aa258cb5514d7e754bff'

* commit '87a814fdce522d45aa31aa258cb5514d7e754bff':
  libavcodec: Add missing AVClass pointers

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '0e9c4fe254073b209970df3e3cb84531bc388e99'
Derek Buitenhuis [Wed, 3 Feb 2016 16:54:20 +0000 (16:54 +0000)]
Merge commit '0e9c4fe254073b209970df3e3cb84531bc388e99'

* commit '0e9c4fe254073b209970df3e3cb84531bc388e99':
  lavc: Move pre_me to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607'
Derek Buitenhuis [Wed, 3 Feb 2016 16:53:13 +0000 (16:53 +0000)]
Merge commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607'

* commit '5b6f42da98c26a8aee8d2c2edfcbd0633ad1c607':
  lavc: Move me_penalty_compensation to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'
Derek Buitenhuis [Wed, 3 Feb 2016 16:49:19 +0000 (16:49 +0000)]
Merge commit '2862b63783b5556f7f3fb2d097629bc6879f833a'

* commit '2862b63783b5556f7f3fb2d097629bc6879f833a':
  lavc: Move prediction_method to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavfilter/af_sidechaincompress: Free out frame on error
Michael Niedermayer [Wed, 3 Feb 2016 16:09:24 +0000 (17:09 +0100)]
avfilter/af_sidechaincompress: Free out frame on error

Fix memleak
Fixes CID1197065 part 2

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/utils: Check the return code of av_image_fill_linesizes()
Michael Niedermayer [Wed, 3 Feb 2016 14:50:17 +0000 (15:50 +0100)]
avcodec/utils: Check the return code of av_image_fill_linesizes()

Fixes CID1271741

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/http: add crypto to default whitlist to get encrypted HLS working again
Schenk, Michael [Wed, 3 Feb 2016 13:18:15 +0000 (13:18 +0000)]
avformat/http: add crypto to default whitlist to get encrypted HLS working  again

I think we missed the crypto in the default_whitelist in case of http. Otherwise encrypted HLS will fail with

[hls,applehttp @ 0x2af39c00] playlist[0] open_input [http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes-audio=65000-video=236000-14.ts], start_seq_no [1], cur_seq_no [14]

[hls,applehttp @ 0x2af39c00]    open_input curseqno [14] startseqno [1]

[hls,applehttp @ 0x2af39c00] HLS request for url 'http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes-audio=65000-video=236000-14.ts', offset 0, playlist 0

[NULL @ 0x2af3a200] KEY_AES_128 seg->key [http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans.key] pls->key_url [http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans.key]

[hls,applehttp @ 0x2af39c00]     open_input [KEY_AES_128]

[hls,applehttp @ 0x2af39c00]      : c->persistence [0]

[hls,applehttp @ 0x2af39c00]      : c->probing     [1]

[hls,applehttp @ 0x2af39c00]      : pls->input     [NULL]

[hls,applehttp @ 0x2af39c00]        using normal http path for URL [crypto+http://playertest.longtailvideo.com/adaptive/oceans_aes/oceans_aes-audio=65000-video=236000-14.ts]

[crypto @ 0x2aff7cc0] Protocol not on whitelist 'http,https,tls,rtp,tcp,udp!

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodoc/demuxers: add some concat demuxer script examples
Tobias Rapp [Tue, 26 Jan 2016 08:02:51 +0000 (09:02 +0100)]
doc/demuxers: add some concat demuxer script examples

Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
8 years agoavfilter/vf_nnedi: fix ISO C90 warnings
Paul B Mahol [Wed, 3 Feb 2016 08:38:11 +0000 (09:38 +0100)]
avfilter/vf_nnedi: fix ISO C90 warnings

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agocinepakenc: Stop using AVPicture
Timothy Gu [Tue, 2 Feb 2016 02:44:55 +0000 (18:44 -0800)]
cinepakenc: Stop using AVPicture

8 years agoxv: Remove AVPicture usage
Timothy Gu [Tue, 2 Feb 2016 01:26:10 +0000 (17:26 -0800)]
xv: Remove AVPicture usage

8 years agosdl: Remove AVPicture usage
Timothy Gu [Tue, 2 Feb 2016 01:25:38 +0000 (17:25 -0800)]
sdl: Remove AVPicture usage

8 years agocfhd: fix off-by-one error in level check
Andreas Cadhalpun [Tue, 2 Feb 2016 23:55:18 +0000 (00:55 +0100)]
cfhd: fix off-by-one error in level check

This fixes out-of-bounds writes causing segmentation faults.

Found-by: Piotr Bandurski <ami_stuff@o2.pl>
Reviewed-by: Kieran Kunhya <kierank@obe.tv>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years agodecklink: support all valid numbers of audio channels
Matthias Hunstock [Sun, 20 Dec 2015 11:57:32 +0000 (11:57 +0000)]
decklink: support all valid numbers of audio channels

As it is already written in the documentation, BMD DeckLink cards
are capable of capturing 2, 8 or 16 audio channels (for SDI Inputs).
Currently the value is hardcoded to 2. Introduces new option.

Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Matthias Hunstock <atze@fem.tu-ilmenau.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agodca: add emms_c after usage of AV_COPY128
Hendrik Leppkes [Tue, 2 Feb 2016 22:27:30 +0000 (23:27 +0100)]
dca: add emms_c after usage of AV_COPY128

Similar to AV_ZERO128, AV_COPY128 can use MMX instructions in x86

8 years agodca: add emms_c after AV_ZERO128 macros
Hendrik Leppkes [Tue, 2 Feb 2016 19:03:11 +0000 (20:03 +0100)]
dca: add emms_c after AV_ZERO128 macros

AV_ZERO64/128 can use MMX on x86.

Reviewed-By: James Almer <jamrial@gmail.com>
8 years agodca: add new fate tests based on the dcadec-samples test suite
Hendrik Leppkes [Mon, 1 Feb 2016 23:46:01 +0000 (00:46 +0100)]
dca: add new fate tests based on the dcadec-samples test suite

8 years agodca: split decoder fate tests into dca.mak
Hendrik Leppkes [Mon, 1 Feb 2016 20:17:53 +0000 (21:17 +0100)]
dca: split decoder fate tests into dca.mak

8 years agoavformat: add windows.h to SChannel SSP TLS code
Kevin Mitchell [Wed, 25 Nov 2015 03:25:12 +0000 (19:25 -0800)]
avformat: add windows.h to SChannel SSP TLS code

This fixes building on cygwin
Fixes ticket #5036

8 years agoavformat/tls_securetransport: Add missing include
Michael Niedermayer [Tue, 2 Feb 2016 14:57:32 +0000 (15:57 +0100)]
avformat/tls_securetransport: Add missing include

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodiracdsp_mmx: Fix some more indentations
Timothy Gu [Tue, 2 Feb 2016 04:47:56 +0000 (20:47 -0800)]
diracdsp_mmx: Fix some more indentations

8 years agodiracdsp_mmx: Fix indentation
Timothy Gu [Tue, 2 Feb 2016 04:40:55 +0000 (20:40 -0800)]
diracdsp_mmx: Fix indentation

8 years agoUpdate demuxers and protocols for protocol whitelist support
Michael Niedermayer [Sat, 30 Jan 2016 01:17:51 +0000 (02:17 +0100)]
Update demuxers and protocols for protocol whitelist support

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat: add protocol_whitelist
Michael Niedermayer [Sat, 30 Jan 2016 01:17:50 +0000 (02:17 +0100)]
avformat: add protocol_whitelist

Note to maintainers: update tools

Note to maintainers: set a default whitelist for your protocol
If that makes no sense then consider to set "none" and thus require the user to specify a white-list
for sub-protocols to be opened

Note, testing and checking for missing changes is needed

Reviewed-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agox86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format
Timothy Gu [Sun, 31 Jan 2016 19:42:24 +0000 (11:42 -0800)]
x86: vc1dsp: Convert vc1_inv_trans_*_dc to NASM format

8 years agoffprobe: Deprecate stream timecode field and add frame side data timecode field
Derek Buitenhuis [Sun, 31 Jan 2016 14:33:06 +0000 (14:33 +0000)]
ffprobe: Deprecate stream timecode field and add frame side data timecode field

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agompeg12dec: Export GOP timecodes as side data
Derek Buitenhuis [Sun, 31 Jan 2016 14:32:39 +0000 (14:32 +0000)]
mpeg12dec: Export GOP timecodes as side data

The codec context field was rightly deprecated, and the data
may change per-frame.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavutil: Add GOP timecode frame side data
Derek Buitenhuis [Sun, 31 Jan 2016 13:10:38 +0000 (13:10 +0000)]
avutil: Add GOP timecode frame side data

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoRevert "do not write f2 if not interlaced"
Sebastian Dröge [Fri, 29 Jan 2016 16:45:05 +0000 (17:45 +0100)]
Revert "do not write f2 if not interlaced"

This reverts commit 8ed82d8174a666f80ab8834e3617cbe91ae740a9.

SMPTE S377-1-2009c defines in F.4.1 that the Video Line Map should
always be an array with two 32 bit integers as elements. This is
repeated in G.2.12 with actual examples for progressive content,
where the second value would always be 0.

Additionally, the IRT MXF analyser also lists this as the only
error in the MXF output from ffmpeg: https://mxf-analyser-cloud.irt.de

Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agofate: re-enable dca-xll test
James Almer [Mon, 1 Feb 2016 03:26:34 +0000 (00:26 -0300)]
fate: re-enable dca-xll test

And check for bitexact output instead

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/dca_core: rename get_vlc function
James Almer [Mon, 1 Feb 2016 03:23:13 +0000 (00:23 -0300)]
avcodec/dca_core: rename get_vlc function

Fixes compilation with TRACE enabled

Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoRevert "avformat/hls: Require the file extension to be m3u / m3u8 for probing to...
Michael Niedermayer [Sun, 31 Jan 2016 23:05:33 +0000 (00:05 +0100)]
Revert "avformat/hls: Require the file extension to be m3u / m3u8 for probing to succeed"

This can cause problems with urls that have arguments after the filename

This reverts commit b0c57206d583517a5ea35dd7f365f8260d9106f2.

Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/cfhd: Make sure we have an end of header tag before allocating a frame.
Kieran Kunhya [Sun, 31 Jan 2016 23:59:52 +0000 (23:59 +0000)]
avcodec/cfhd: Make sure we have an end of header tag before allocating a frame.

Fixes tickets #5208 and #5209

8 years agodoc/ffmpeg: explain properly how -fs works
Umair Khan [Sun, 31 Jan 2016 19:47:58 +0000 (01:17 +0530)]
doc/ffmpeg: explain properly how -fs works

Fix trac ticket #5160.

Signed-off-by: Umair Khan <omerjerk@gmail.com>
8 years agoavfilter: add nnedi filter
Paul B Mahol [Sat, 23 Jan 2016 16:15:53 +0000 (17:15 +0100)]
avfilter: add nnedi filter

Port of nnedi3 vapoursynth filter.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavdevice/lavfi: replace deprecated avpicture_layout
Paul B Mahol [Sun, 31 Jan 2016 16:40:55 +0000 (17:40 +0100)]
avdevice/lavfi: replace deprecated avpicture_layout

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/vf_yadif: make use of ctx pointer
Paul B Mahol [Sun, 31 Jan 2016 21:23:07 +0000 (22:23 +0100)]
avfilter/vf_yadif: make use of ctx pointer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agolavf/adxdec: Add Autodetection.
Carl Eugen Hoyos [Mon, 1 Feb 2016 09:51:46 +0000 (10:51 +0100)]
lavf/adxdec: Add Autodetection.

8 years agoriffdec: Explicitly null-terminate array to work around VC++ bug
Bruce Dawson [Thu, 28 Jan 2016 21:06:07 +0000 (13:06 -0800)]
riffdec: Explicitly null-terminate array to work around VC++ bug

Due to this bug in VC++ 2015 Update 1:
https://connect.microsoft.com/VisualStudio/feedback/details/2291638

the 'key' array in ff_read_riff_info() ends up being not null
terminated which led to failures in a Chromium unit tests. Update 2
should have a fix, but until then it is important to avoid problems.

8 years agohevc: set profile based on the profile compatibility flags if needed
Hendrik Leppkes [Sat, 30 Jan 2016 16:44:34 +0000 (17:44 +0100)]
hevc: set profile based on the profile compatibility flags if needed

This fixes retrieving a valid profile for many of the FATE conformance samples,
allowing them to be properly decoded by the HWAccel after adding a profile check.

8 years agolibx265: Enable 12-bit encoding
Stephen Hutchinson [Wed, 27 Jan 2016 00:10:02 +0000 (19:10 -0500)]
libx265: Enable 12-bit encoding

The configure detection is bumped to X265_BUILD >= 68,
since API version 68 corresponds with the x265 1.8
release tarball. The warnings inside x265 about
12-bit being experimental were removed prior to API
version 72 a short time later.  At this time of
writing, X265_BUILD is at version 80.

12-bit support in the HEVC standard was approved in
October 2014 as part of HEVC Version 2 and published
in January 2015:

http://www.itu.int/ITU-T/recommendations/rec.aspx?rec=12296
http://www.itu.int/rec/T-REC-H.265-201410-S
https://hevc.hhi.fraunhofer.de/rext

Reveiwed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoChangelog: add entry on wtvdec performance improvement
Timothy Gu [Sun, 31 Jan 2016 23:52:34 +0000 (15:52 -0800)]
Changelog: add entry on wtvdec performance improvement

8 years agowtvdec: Removed unused variable
Timothy Gu [Sun, 31 Jan 2016 23:52:23 +0000 (15:52 -0800)]
wtvdec: Removed unused variable

8 years agoall: Make header guard names consistent
Timothy Gu [Fri, 29 Jan 2016 02:25:13 +0000 (18:25 -0800)]
all: Make header guard names consistent

8 years agowtv: Speed up wtv index creation
popcornmix [Fri, 29 Jan 2016 20:27:00 +0000 (20:27 +0000)]
wtv: Speed up wtv index creation

The index creation is O(N^2) with number of entries (typically thousands).
On a Pi this can take more than 60 seconds to execute for a recording of a few hours.

By replacing with an O(N) loop, this takes virtually zero time

Liked-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agovf_phase: Reduce the scope of several variables
Timothy Gu [Sat, 30 Jan 2016 18:00:19 +0000 (10:00 -0800)]
vf_phase: Reduce the scope of several variables

Reviewed-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/avf_showfreqs: properly handle pts
Paul B Mahol [Sun, 31 Jan 2016 20:38:49 +0000 (21:38 +0100)]
avfilter/avf_showfreqs: properly handle pts

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agomsvc: Fix libx264 linking
Henrik Gramner [Wed, 27 Jan 2016 21:41:43 +0000 (22:41 +0100)]
msvc: Fix libx264 linking

8 years agoavcodec/flacenc: Fix prediction_order parameter
Michael Niedermayer [Sun, 31 Jan 2016 19:04:17 +0000 (20:04 +0100)]
avcodec/flacenc: Fix prediction_order parameter

Fixes regression

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoflacenc: Restore defaults and range for {min,max}_prediction_order
Derek Buitenhuis [Sun, 31 Jan 2016 18:25:29 +0000 (18:25 +0000)]
flacenc: Restore defaults and range for {min,max}_prediction_order

This was broken in 243df1351d2d928caa084a5704ed783f0b83f072.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavcodec/dca: add new decoder based on libdcadec
foo86 [Sat, 16 Jan 2016 08:54:38 +0000 (11:54 +0300)]
avcodec/dca: add new decoder based on libdcadec

8 years agoavcodec/dca: add generic defines
foo86 [Sat, 16 Jan 2016 08:56:26 +0000 (11:56 +0300)]
avcodec/dca: add generic defines

8 years agoavcodec/synth_filter: add more filters
foo86 [Thu, 7 Jan 2016 21:49:56 +0000 (00:49 +0300)]
avcodec/synth_filter: add more filters

8 years agoavcodec/synth_filter: fix whitespace
foo86 [Thu, 7 Jan 2016 14:27:00 +0000 (17:27 +0300)]
avcodec/synth_filter: fix whitespace

8 years agoavcodec/dca: add math helpers and fixed point DCT
foo86 [Thu, 7 Jan 2016 21:48:57 +0000 (00:48 +0300)]
avcodec/dca: add math helpers and fixed point DCT

8 years agoavcodec/dca: add more tables
foo86 [Thu, 7 Jan 2016 14:15:22 +0000 (17:15 +0300)]
avcodec/dca: add more tables

8 years agoavcodec/dca: add REV1AUX sync word
foo86 [Thu, 7 Jan 2016 13:37:46 +0000 (16:37 +0300)]
avcodec/dca: add REV1AUX sync word

8 years agoavcodec/dca: remove old decoder
foo86 [Sat, 16 Jan 2016 08:07:08 +0000 (11:07 +0300)]
avcodec/dca: remove old decoder

Remove all files and functions which are not going to be reused,
and disable all functions and FATE tests temporarily which will be.

8 years agofate/ffm: Update test ref
Derek Buitenhuis [Sun, 31 Jan 2016 16:06:40 +0000 (16:06 +0000)]
fate/ffm: Update test ref

Since timecode_frame)start is a private option now, it stays at the default,
and is no longer written to the file.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '243df1351d2d928caa084a5704ed783f0b83f072'
Derek Buitenhuis [Sun, 31 Jan 2016 13:24:50 +0000 (13:24 +0000)]
Merge commit '243df1351d2d928caa084a5704ed783f0b83f072'

* commit '243df1351d2d928caa084a5704ed783f0b83f072':
  lavc: Move {min,max}_prediction_order to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd'
Derek Buitenhuis [Sun, 31 Jan 2016 13:19:50 +0000 (13:19 +0000)]
Merge commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd'

* commit '936f0d98f864f9f6bb4f9e5458b78537e146bacd':
  lavc: Move rtp_payload_size to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'd749615333084e62c9fcc480d1ae466369fdf14f'
Derek Buitenhuis [Sun, 31 Jan 2016 12:28:04 +0000 (12:28 +0000)]
Merge commit 'd749615333084e62c9fcc480d1ae466369fdf14f'

* commit 'd749615333084e62c9fcc480d1ae466369fdf14f':
  lavc: Move timecode_frame_start to codec private options

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoavcodec/fraps: remove superfluous "Fraps:" from av_log
Paul B Mahol [Sun, 31 Jan 2016 11:59:28 +0000 (12:59 +0100)]
avcodec/fraps: remove superfluous "Fraps:" from av_log

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agodoc/filters.texi: fix typo in spectrumsynth example
Paul B Mahol [Sun, 31 Jan 2016 10:21:58 +0000 (11:21 +0100)]
doc/filters.texi: fix typo in spectrumsynth example

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/rawdec: Switch to monowhite if there is no palette & bpp=1
Michael Niedermayer [Sun, 31 Jan 2016 03:10:02 +0000 (04:10 +0100)]
avcodec/rawdec: Switch to monowhite if there is no palette & bpp=1

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/format: Weight the filename extension higher if there is nearly no data...
Michael Niedermayer [Sat, 30 Jan 2016 21:01:16 +0000 (22:01 +0100)]
avformat/format: Weight the filename extension higher if there is nearly no data after an ID3 available

Fixes Ticket5205

Based-on-patch-by: Carl Eugen Hoyos
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/format: Replace nodat by enum
Michael Niedermayer [Sat, 30 Jan 2016 20:48:16 +0000 (21:48 +0100)]
avformat/format: Replace nodat by enum

This makes the code much more readable

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Add forgotten minor bump, add Changelog and add Cineform to general.texi
Kieran Kunhya [Sat, 30 Jan 2016 18:09:36 +0000 (18:09 +0000)]
avcodec: Add forgotten minor bump, add Changelog and add Cineform to general.texi

8 years agoavcodec: Cineform HD Decoder
Kieran Kunhya [Sat, 30 Jan 2016 17:39:48 +0000 (17:39 +0000)]
avcodec: Cineform HD Decoder

Decodes YUV 4:2:2 10-bit and RGB 12-bit files.
Older files with more subbands, skips, Bayer, alpha not supported.
Alpha requires addition of GBRAP12 pixel format.

8 years agolavc/exr: Move setting SAR down.
Carl Eugen Hoyos [Sat, 30 Jan 2016 12:38:16 +0000 (13:38 +0100)]
lavc/exr: Move setting SAR down.

Fixes a theoretical issue if the resolution attribute is written
behind the aspect attribute.

8 years agolavc/v210dec: Allow odd width.
Carl Eugen Hoyos [Sat, 30 Jan 2016 12:31:44 +0000 (13:31 +0100)]
lavc/v210dec: Allow odd width.

The rightmost column is not decoded correctly.

Fixes a part of ticket #5195.

8 years agoChangelog: Sanitize Common Encryption entries.
Carl Eugen Hoyos [Sat, 30 Jan 2016 12:30:29 +0000 (13:30 +0100)]
Changelog: Sanitize Common Encryption entries.

8 years agolavc/utils: fix instanciate/instantiate typo
Clément Bœsch [Sat, 30 Jan 2016 12:10:11 +0000 (13:10 +0100)]
lavc/utils: fix instanciate/instantiate typo

8 years agolavf/vqf: fix suported/supported typo
Clément Bœsch [Sat, 30 Jan 2016 12:08:37 +0000 (13:08 +0100)]
lavf/vqf: fix suported/supported typo

8 years agolibx265: Remove experimental flag when encoding 4:2:2 and 4:4:4
Stephen Hutchinson [Wed, 27 Jan 2016 00:10:01 +0000 (19:10 -0500)]
libx265: Remove experimental flag when encoding 4:2:2 and 4:4:4

4:2:2 and 4:4:4 support in the HEVC standard was approved in
October 2014 as part of HEVC Version 2 and published in
January 2015:

http://www.itu.int/ITU-T/recommendations/rec.aspx?rec=12296
http://www.itu.int/rec/T-REC-H.265-201410-S
https://hevc.hhi.fraunhofer.de/rext

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Remove libvo-aacenc support.
Kieran Kunhya [Sat, 30 Jan 2016 01:23:33 +0000 (17:23 -0800)]
avcodec: Remove libvo-aacenc support.

The internal encoder is superior to libvo-aacenc.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
8 years agoavcodec: Remove libaacplus
Timothy Gu [Sun, 24 Jan 2016 17:49:12 +0000 (09:49 -0800)]
avcodec: Remove libaacplus

TODO: bump minor

It's inferior in quality to fdk-aac and has an arguably more problematic
license.

As early as 2012, a HydrogenAudio user reported:

> It has however one huge advantage: much better quality at low bitrates than
> faac and libaacplus.

(https://hydrogenaud.io/index.php?PHPSESSID=ckiq394pdglka0kj2fin6ij8t7&topic=95989.msg804633#msg804633)

I myself have made a few spectrograms for a comparison of the two
encoders as well. The FDK output is consistently better than the
libaacplus one, in all bitrates I tested.

libaacplus license is 3GPP + LGPLv2. 3GPP copyright notice is completely
proprietory, as follows:

> No part may be reproduced except as authorized by written permission.
>
> The copyright and the foregoing restriction extend to reproduction in
> all media.
>
> © 2008, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TTA, TTC).
>
> All rights reserved.

(The latest 26410-d00 zip from 3GPP has the same notice, but the copyright
year is changed to 2015)

The copyright part of the FDK AAC license (section 2) is a copyleft
license that permits redistribution under certain conditions (and
therefore the LGPL + libfdk-aac combination is not prohibited by
configure):

> Redistribution and use in source and binary forms, with or without
> modification, are permitted without payment of copyright license fees
> provided that you satisfy the following conditions:
>
> You must retain the complete text of this software license in
> redistributions of the FDK AAC Codec or your modifications thereto in
> source code form.
>
> You must retain the complete text of this software license in the
> documentation and/or other materials provided with redistributions of
> the FDK AAC Codec or your modifications thereto in binary form.
>
> You must make available free of charge copies of the complete source
> code of the FDK AAC Codec and your modifications thereto to recipients
> of copies in binary form.
>
> The name of Fraunhofer may not be used to endorse or promote products
> derived from this library without prior written permission.
>
> You may not charge copyright license fees for anyone to use, copy or
> distribute the FDK AAC Codec software or your modifications thereto.
>
> Your modified versions of the FDK AAC Codec must carry prominent
> notices stating that you changed the software and the date of any
> change. For modified versions of the FDK AAC Codec, the term
> "Fraunhofer FDK AAC Codec Library for Android" must be replaced by the
> term "Third-Party Modified Version of the Fraunhofer FDK AAC Codec
> Library for Android."

8 years agoavcodec/proresdec_lgpl: use av_mod_uintp2
James Almer [Mon, 18 Jan 2016 21:37:55 +0000 (18:37 -0300)]
avcodec/proresdec_lgpl: use av_mod_uintp2

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/pngdec: use av_mod_uintp2
James Almer [Mon, 18 Jan 2016 21:37:36 +0000 (18:37 -0300)]
avcodec/pngdec: use av_mod_uintp2

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavcodec/amrwbdec: use av_mod_uintp2
James Almer [Mon, 18 Jan 2016 21:36:48 +0000 (18:36 -0300)]
avcodec/amrwbdec: use av_mod_uintp2

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agolavf/flvdec: Allow files where the PreviousTagSize is not set according to the spec.
Thierry Foucu [Fri, 29 Jan 2016 18:47:49 +0000 (10:47 -0800)]
lavf/flvdec: Allow files where the PreviousTagSize is not set according to the spec.

Some muxer use the FLV field PreviousTagSize to be the sum of tag
length. Without this change, the flv demuxer think the file is broken
and the re-sync will fail.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agompegtsenc: Do not fail ADTS AAC muxing if the first frame is not ADTS
Hagen Schmidt [Tue, 15 Dec 2015 07:00:48 +0000 (08:00 +0100)]
mpegtsenc: Do not fail ADTS AAC muxing if the first frame is not ADTS

Fixes ticket 279.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolibavformat/network: use defined constant in poll
Zhao Zhili [Wed, 27 Jan 2016 03:00:17 +0000 (11:00 +0800)]
libavformat/network: use defined constant in poll

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/avio: free url/avio options
Michael Niedermayer [Thu, 28 Jan 2016 22:49:06 +0000 (23:49 +0100)]
avformat/avio: free url/avio options

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolibavutil/mastering_display_metadata.h: change fields to be rationals as this is...
Neil Birkbeck [Tue, 26 Jan 2016 22:14:20 +0000 (14:14 -0800)]
libavutil/mastering_display_metadata.h: change fields to be rationals as this is how they are typically coded.

(this structure is not referenced anywhere yet)

Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/dvaudio: add missing header include
James Almer [Fri, 29 Jan 2016 16:57:15 +0000 (13:57 -0300)]
avcodec/dvaudio: add missing header include

Should fix make checkheaders

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agolavc/rawdec: Use AV_PIX_FMT_PAL8 for raw 1 bpp video in AVI
Mats Peterson [Thu, 28 Jan 2016 05:15:29 +0000 (06:15 +0100)]
lavc/rawdec: Use AV_PIX_FMT_PAL8 for raw 1 bpp video in AVI

 From
https://msdn.microsoft.com/en-us/library/windows/desktop/dd318229%28v=vs.85%29.aspx:

"If biCompression equals BI_RGB and the bitmap uses 8 bpp or less, the
bitmap has a color table immediatelly following the BITMAPINFOHEADER
structure. The color table consists of an array of RGBQUAD values. The
size of the array is given by the biClrUsed member. If biClrUsed is
zero, the array contains the maximum number of colors for the given
bitdepth; that is, 2^biBitCount colors."

Nothing about "monochrome" here. Unfortunately, pal8 to monow conversion
seems a bit flaky, but that's another story.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolibavdevice/decklink_common.h: fix broken build due to missing `/`
Michael Ira Krufky [Fri, 29 Jan 2016 11:49:46 +0000 (06:49 -0500)]
libavdevice/decklink_common.h: fix broken build due to missing `/`

Signed-off-by: Michael Ira Krufky <mkrufky@linuxtv.org>
8 years agoavcodec/huffyuvenc: Remove duplicate include
Michael Niedermayer [Fri, 29 Jan 2016 10:27:43 +0000 (11:27 +0100)]
avcodec/huffyuvenc: Remove duplicate include

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg: replace "flush Media" with "flush_media" in benchmark_all output
Stefano Sabatini [Wed, 27 Jan 2016 11:46:36 +0000 (12:46 +0100)]
ffmpeg: replace "flush Media" with "flush_media" in benchmark_all output

Simplify parsing and consistency.

8 years agoamrwbdec_mips: Add missing ff_ prefix
Timothy Gu [Fri, 29 Jan 2016 02:32:47 +0000 (18:32 -0800)]
amrwbdec_mips: Add missing ff_ prefix

8 years agoall: Add missing header guards
Timothy Gu [Fri, 29 Jan 2016 02:00:33 +0000 (18:00 -0800)]
all: Add missing header guards

8 years agoconfigure: remove libzvbi GPL dependency
Marton Balint [Thu, 14 Jan 2016 02:34:57 +0000 (03:34 +0100)]
configure: remove libzvbi GPL dependency

The COPYING.LIB file in the zvbi source tree as well as libzvbi.h references
the GNU Library General Public License version 2 since version 0.2.28.

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavd/decklink_dec: add support for teletext
Marton Balint [Tue, 12 Jan 2016 02:09:37 +0000 (03:09 +0100)]
lavd/decklink_dec: add support for teletext

It uses the libzvbi slicer, therefore teletext capture requires libzvbi.

Reviewed-by: Deti Fliegl <deti@fliegl.de>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoconfigure: use -ldl for decklink
Marton Balint [Sun, 10 Jan 2016 03:08:12 +0000 (04:08 +0100)]
configure: use -ldl for decklink

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavf: bump micro version after the new segment muxer options
Marton Balint [Fri, 29 Jan 2016 00:40:54 +0000 (01:40 +0100)]
lavf: bump micro version after the new segment muxer options

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agolavf/segment: add new option segment_clocktime_wrap_duration
Marton Balint [Mon, 18 Jan 2016 00:29:06 +0000 (01:29 +0100)]
lavf/segment: add new option segment_clocktime_wrap_duration

This option can force the segmenter to only start a new segment if a packet
reaches the muxer within the specified duration after the segmenting clock
time, which makes it more resilient to backward local time jumps, such as leap
seconds or transition to standard time from daylight savings time.

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>