]> git.sesse.net Git - ffmpeg/log
ffmpeg
8 years agoMerge commit '10a9149de242c7bbc4e130d3d7c593b89e20f80e'
Michael Niedermayer [Mon, 20 Jul 2015 20:25:53 +0000 (22:25 +0200)]
Merge commit '10a9149de242c7bbc4e130d3d7c593b89e20f80e'

* commit '10a9149de242c7bbc4e130d3d7c593b89e20f80e':
  ffv1enc: Keep coded_frame.key_frame a write-only variable

Conflicts:
libavcodec/ffv1.h
libavcodec/ffv1enc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'efc618aff9d68d2ddc323a5c5f892ac71951f162'
Michael Niedermayer [Mon, 20 Jul 2015 20:14:29 +0000 (22:14 +0200)]
Merge commit 'efc618aff9d68d2ddc323a5c5f892ac71951f162'

* commit 'efc618aff9d68d2ddc323a5c5f892ac71951f162':
  qtrleenc: Keep coded_frame.key_frame a write-only variable

Conflicts:
libavcodec/qtrleenc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'f3b4a92241a33d444f7f6018ebc12e2e3a2d335f'
Michael Niedermayer [Mon, 20 Jul 2015 20:13:29 +0000 (22:13 +0200)]
Merge commit 'f3b4a92241a33d444f7f6018ebc12e2e3a2d335f'

* commit 'f3b4a92241a33d444f7f6018ebc12e2e3a2d335f':
  libtheoraenc: Keep coded_frame.key_frame a write-only variable

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'd6006dd9f0d4d01023359230212f1f9fa4800e5b'
Michael Niedermayer [Mon, 20 Jul 2015 20:05:27 +0000 (22:05 +0200)]
Merge commit 'd6006dd9f0d4d01023359230212f1f9fa4800e5b'

* commit 'd6006dd9f0d4d01023359230212f1f9fa4800e5b':
  libvpxenc: Do not entangle coded_frame

Conflicts:
libavcodec/libvpxenc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '7fc8d8a1b3da1666176b3d92e989ee74f3ef014e'
Michael Niedermayer [Mon, 20 Jul 2015 20:01:41 +0000 (22:01 +0200)]
Merge commit '7fc8d8a1b3da1666176b3d92e989ee74f3ef014e'

* commit '7fc8d8a1b3da1666176b3d92e989ee74f3ef014e':
  libxvid: Do not entangle coded_frame

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '56672aeaee19216d2fd8eeb9964b1f71f0af2919'
Michael Niedermayer [Mon, 20 Jul 2015 19:53:09 +0000 (21:53 +0200)]
Merge commit '56672aeaee19216d2fd8eeb9964b1f71f0af2919'

* commit '56672aeaee19216d2fd8eeb9964b1f71f0af2919':
  svq1enc: Do not entangle coded_frame

Conflicts:
libavcodec/svq1enc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '05fb4c9aaf84b59f8ab1ce8d4c0f49dd12113024'
Michael Niedermayer [Mon, 20 Jul 2015 19:44:53 +0000 (21:44 +0200)]
Merge commit '05fb4c9aaf84b59f8ab1ce8d4c0f49dd12113024'

* commit '05fb4c9aaf84b59f8ab1ce8d4c0f49dd12113024':
  proresenc: Do not entangle coded_frame

Conflicts:
libavcodec/proresenc_kostya.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '91767360d86ac786571593ab11c7291010ab3829'
Michael Niedermayer [Mon, 20 Jul 2015 19:40:34 +0000 (21:40 +0200)]
Merge commit '91767360d86ac786571593ab11c7291010ab3829'

* commit '91767360d86ac786571593ab11c7291010ab3829':
  a64multienc: Do not entangle coded_frame

Conflicts:
libavcodec/a64multienc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e'
Michael Niedermayer [Mon, 20 Jul 2015 19:31:42 +0000 (21:31 +0200)]
Merge commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e'

* commit '95e2317ed85502dd8d96bcd9b12084dbfb8f9e8e':
  roqvideoenc: Drop unneeded initialization

Conflicts:
libavcodec/roqvideoenc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4'
Michael Niedermayer [Mon, 20 Jul 2015 19:20:46 +0000 (21:20 +0200)]
Merge commit '1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4'

* commit '1f171de8cae9d0c527c5f0bae2a597dbd65fd3a4':
  mpegvideo_enc: Drop unnneded initialization

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolibavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call
Ivan Uskov [Mon, 20 Jul 2015 13:48:29 +0000 (09:48 -0400)]
libavcodec/qsvdec.c: missed MFXVideoDECODE_Close() call

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoconfigure: check for erf() and copysign()
James Almer [Mon, 20 Jul 2015 07:04:46 +0000 (04:04 -0300)]
configure: check for erf() and copysign()

They are not available on some compilers.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agox86/vf_ssim: add ff_ssim_4x4_line_xop
James Almer [Mon, 20 Jul 2015 03:50:52 +0000 (00:50 -0300)]
x86/vf_ssim: add ff_ssim_4x4_line_xop

~20% faster than ssse3. Also enabled for x86_32

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agox86/vf_ssim: fix some instruction comments
James Almer [Mon, 20 Jul 2015 03:50:10 +0000 (00:50 -0300)]
x86/vf_ssim: fix some instruction comments

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoAdding myself as maintainer for qsv*
Ivan Uskov [Fri, 17 Jul 2015 08:38:57 +0000 (04:38 -0400)]
Adding myself as maintainer for qsv*

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavutil/arm/intmath: return int for uint8 / uint16 clip
Michael Niedermayer [Mon, 20 Jul 2015 15:16:20 +0000 (17:16 +0200)]
avutil/arm/intmath: return int for uint8 / uint16 clip

The C functions return uint8/16_t but that is effectively int not unsigned int
Fixes fate-filter-tblend

We do not return uint8/16_t as that would require the compiler to truncate the
values, slowing it down.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Implementation of AAC_fixed_decoder (SBR-module)
Djordje Pesut [Mon, 20 Jul 2015 11:36:17 +0000 (13:36 +0200)]
avcodec: Implementation of AAC_fixed_decoder (SBR-module)

Add fixed poind code.

Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Table creation for AAC_fixed_decoder (SBR-module)
Jovan Zelincevic [Mon, 20 Jul 2015 11:36:16 +0000 (13:36 +0200)]
avcodec: Table creation for AAC_fixed_decoder (SBR-module)

Create tables for fixed point code.

Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: Template creation for AAC decoder (SBR-module)
Djordje Pesut [Mon, 20 Jul 2015 11:36:15 +0000 (13:36 +0200)]
avcodec: Template creation for AAC decoder (SBR-module)

Move the existing code to a new template file.

Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agomovtextdec.c: Correct the highlight tags
Niklesh [Fri, 17 Jul 2015 10:33:09 +0000 (16:03 +0530)]
movtextdec.c: Correct the highlight tags

Signed-off-by: Niklesh <niklesh.lalwani@iitb.ac.in>
8 years agoavcodec/apngdec: Fix typos in decoder causing incorrect results
Donny Yang [Sun, 19 Jul 2015 20:20:56 +0000 (20:20 +0000)]
avcodec/apngdec: Fix typos in decoder causing incorrect results

Signed-off-by: Donny Yang <work@kota.moe>
8 years agoffv1enc: Keep coded_frame.key_frame a write-only variable
Vittorio Giovara [Wed, 15 Jul 2015 17:41:17 +0000 (18:41 +0100)]
ffv1enc: Keep coded_frame.key_frame a write-only variable

8 years agoqtrleenc: Keep coded_frame.key_frame a write-only variable
Vittorio Giovara [Wed, 15 Jul 2015 17:41:16 +0000 (18:41 +0100)]
qtrleenc: Keep coded_frame.key_frame a write-only variable

8 years agolibtheoraenc: Keep coded_frame.key_frame a write-only variable
Vittorio Giovara [Wed, 15 Jul 2015 17:41:15 +0000 (18:41 +0100)]
libtheoraenc: Keep coded_frame.key_frame a write-only variable

8 years agolibvpxenc: Do not entangle coded_frame
Vittorio Giovara [Wed, 15 Jul 2015 17:41:14 +0000 (18:41 +0100)]
libvpxenc: Do not entangle coded_frame

Keep coded_frame.key_frame a write-only variable.

8 years agolibxvid: Do not entangle coded_frame
Vittorio Giovara [Wed, 15 Jul 2015 17:41:13 +0000 (18:41 +0100)]
libxvid: Do not entangle coded_frame

8 years agosvq1enc: Do not entangle coded_frame
Vittorio Giovara [Wed, 15 Jul 2015 17:41:12 +0000 (18:41 +0100)]
svq1enc: Do not entangle coded_frame

8 years agoproresenc: Do not entangle coded_frame
Vittorio Giovara [Wed, 15 Jul 2015 17:41:11 +0000 (18:41 +0100)]
proresenc: Do not entangle coded_frame

8 years agoa64multienc: Do not entangle coded_frame
Vittorio Giovara [Wed, 15 Jul 2015 17:41:10 +0000 (18:41 +0100)]
a64multienc: Do not entangle coded_frame

This change (and the following ones of the same kind) is mainly to
simplify wrapping this section with an #if FF_API block later on.

No functional changes are applied, the fields of the context coded_frame
fields are directly initialized, instead of keeping a reference to the
coded_frame itself.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years agoroqvideoenc: Drop unneeded initialization
Vittorio Giovara [Wed, 15 Jul 2015 17:41:09 +0000 (18:41 +0100)]
roqvideoenc: Drop unneeded initialization

Its fields are never initialized to begin with.

8 years agompegvideo_enc: Drop unnneded initialization
Vittorio Giovara [Wed, 15 Jul 2015 17:41:08 +0000 (18:41 +0100)]
mpegvideo_enc: Drop unnneded initialization

coded_frame is already initialized where needed.

8 years agoavcodec: loongson relocate constants of idctdsp and h264pred
周晓勇 [Mon, 20 Jul 2015 05:45:49 +0000 (13:45 +0800)]
avcodec: loongson relocate constants of idctdsp and h264pred

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec: loongson constants redefined with macros
周晓勇 [Mon, 20 Jul 2015 03:25:48 +0000 (11:25 +0800)]
avcodec: loongson constants redefined with macros

Signed-off-by: ZhouXiaoyong <zhouxiaoyong@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/af_amerge: increase max number of channels from 32 to 64
Paul B Mahol [Sun, 19 Jul 2015 19:36:46 +0000 (19:36 +0000)]
avfilter/af_amerge: increase max number of channels from 32 to 64

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfilter/af_astats: use UINT64_C instead of the LLU suffix
James Almer [Mon, 20 Jul 2015 03:04:38 +0000 (00:04 -0300)]
avfilter/af_astats: use UINT64_C instead of the LLU suffix

Should fix compilation with vs2012

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoMerge commit 'e93ca480c91397f82f2ea5b6a8b82ac6d0e2bfd2'
Michael Niedermayer [Mon, 20 Jul 2015 02:32:28 +0000 (04:32 +0200)]
Merge commit 'e93ca480c91397f82f2ea5b6a8b82ac6d0e2bfd2'

* commit 'e93ca480c91397f82f2ea5b6a8b82ac6d0e2bfd2':
  parseutil: Add more resolution aliases

Conflicts:
doc/ffmpeg.texi
libavutil/parseutils.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoparseutil: Add more resolution aliases
Luca Barbato [Thu, 16 Jul 2015 22:31:54 +0000 (00:31 +0200)]
parseutil: Add more resolution aliases

Add DCI 2k and 4k and uhd1 and uhd2.

8 years agoavformat/mp3dec: Rename sync() function to avoid build failure on android
Michael Niedermayer [Mon, 20 Jul 2015 00:41:44 +0000 (02:41 +0200)]
avformat/mp3dec: Rename sync() function to avoid build failure on android

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/avidec: Fix demuxing avi with broken index
Michael Niedermayer [Mon, 20 Jul 2015 00:10:40 +0000 (02:10 +0200)]
avformat/avidec: Fix demuxing avi with broken index

Fixes: genio-avi
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/ffv1enc: fix assertion failure with unset bits per raw sample
Michael Niedermayer [Mon, 20 Jul 2015 00:10:04 +0000 (02:10 +0200)]
avcodec/ffv1enc: fix assertion failure with unset bits per raw sample

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agolavc/jpeg2000: Signal lossless / bit-exact video stream.
Carl Eugen Hoyos [Sun, 19 Jul 2015 20:34:13 +0000 (22:34 +0200)]
lavc/jpeg2000: Signal lossless / bit-exact video stream.

8 years agolavf/rtpenc_jpeg: Warn if number of present quantization tables is not two.
Carl Eugen Hoyos [Sun, 19 Jul 2015 20:32:17 +0000 (22:32 +0200)]
lavf/rtpenc_jpeg: Warn if number of present quantization tables is not two.

8 years agolavc: Improve documentation for rc_max_rate and bit_rate.
Carl Eugen Hoyos [Sun, 19 Jul 2015 20:31:23 +0000 (22:31 +0200)]
lavc: Improve documentation for rc_max_rate and bit_rate.

Both may be set by user (libavformat) on decoding.

8 years agoavcodec/dds: Flip more R<->B cases
Michael Niedermayer [Sun, 19 Jul 2015 22:03:11 +0000 (00:03 +0200)]
avcodec/dds: Flip more R<->B cases

Fixes Ticket4665

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/dds: fix paletted files
Michael Niedermayer [Sun, 19 Jul 2015 20:55:16 +0000 (22:55 +0200)]
avcodec/dds: fix paletted files

Fixes Ticket4664

The changed fate tests lack red/blue shades and thus look correct
either way

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoRELEASE: update to 2.7.git
James Almer [Sun, 19 Jul 2015 20:52:10 +0000 (17:52 -0300)]
RELEASE: update to 2.7.git

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavformat/mp3dec: remove unused variable
James Almer [Sun, 19 Jul 2015 20:47:01 +0000 (17:47 -0300)]
avformat/mp3dec: remove unused variable

Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavfilter: add random video filter
Paul B Mahol [Wed, 15 Jul 2015 01:48:37 +0000 (01:48 +0000)]
avfilter: add random video filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavdevice/decklink: Add missing libraries when building with DeckLink support on Windows.
Chris Spencer [Sat, 18 Jul 2015 19:20:25 +0000 (20:20 +0100)]
avdevice/decklink: Add missing libraries when building with DeckLink support on Windows.

Signed-off-by: Chris Spencer <spencercw@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoAdd support for Audible AAX (and AAX+) files
Vesselin Bontchev [Sat, 11 Jul 2015 18:02:47 +0000 (18:02 +0000)]
Add support for Audible AAX (and AAX+) files

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/mp3dec: split position sync code out
Michael Niedermayer [Sun, 19 Jul 2015 17:31:08 +0000 (19:31 +0200)]
avformat/mp3dec: split position sync code out

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/utils: Check that channel count is valid in avcodec_open2();
Michael Niedermayer [Sun, 19 Jul 2015 16:17:18 +0000 (18:17 +0200)]
avcodec/utils: Check that channel count is valid in avcodec_open2();

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '69b92f1b99f3f210be19ee6ec06f6c0de1733031'
Michael Niedermayer [Sun, 19 Jul 2015 14:34:12 +0000 (16:34 +0200)]
Merge commit '69b92f1b99f3f210be19ee6ec06f6c0de1733031'

* commit '69b92f1b99f3f210be19ee6ec06f6c0de1733031':
  qsvenc: properly handle asynchronous encoding

Conflicts:
libavcodec/qsvenc.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'f5c4d38c78347b09478e21a661befff4b2d44643'
Michael Niedermayer [Sun, 19 Jul 2015 14:13:35 +0000 (16:13 +0200)]
Merge commit 'f5c4d38c78347b09478e21a661befff4b2d44643'

* commit 'f5c4d38c78347b09478e21a661befff4b2d44643':
  qsvdec: properly handle asynchronous decoding

Conflicts:
libavcodec/qsvdec.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '6b15874fc2c3f565732201f7907ae1112727d6ae'
Michael Niedermayer [Sun, 19 Jul 2015 13:45:15 +0000 (15:45 +0200)]
Merge commit '6b15874fc2c3f565732201f7907ae1112727d6ae'

* commit '6b15874fc2c3f565732201f7907ae1112727d6ae':
  af_resample: do not touch the timestamps if we are not resampling

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg_filter: Check that filters have connected outputs before accessing the output...
Michael Niedermayer [Sun, 19 Jul 2015 12:56:09 +0000 (14:56 +0200)]
ffmpeg_filter: Check that filters have connected outputs before accessing the output stream

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '6d592fbd0d8e89ecade3fc93b36ea200213dc01c'
Michael Niedermayer [Sun, 19 Jul 2015 12:24:19 +0000 (14:24 +0200)]
Merge commit '6d592fbd0d8e89ecade3fc93b36ea200213dc01c'

* commit '6d592fbd0d8e89ecade3fc93b36ea200213dc01c':
  avconv: split creating and (re-)configuring complex filtergraphs

Conflicts:
ffmpeg_filter.c
ffmpeg_opt.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter: Add reverse filter
Derek Buitenhuis [Thu, 16 Jul 2015 17:43:59 +0000 (17:43 +0000)]
avfilter: Add reverse filter

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years agoMerge commit 'be101bc1e357c50fcb740bc4870b3bacc93a5727'
Michael Niedermayer [Sun, 19 Jul 2015 12:12:11 +0000 (14:12 +0200)]
Merge commit 'be101bc1e357c50fcb740bc4870b3bacc93a5727'

* commit 'be101bc1e357c50fcb740bc4870b3bacc93a5727':
  avconv: create the complex filtergraphs earlier

Conflicts:
ffmpeg_opt.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '1959351aecf09fc3e90208ff775f4849801dc13f'
Michael Niedermayer [Sun, 19 Jul 2015 12:01:06 +0000 (14:01 +0200)]
Merge commit '1959351aecf09fc3e90208ff775f4849801dc13f'

* commit '1959351aecf09fc3e90208ff775f4849801dc13f':
  avconv: move the no streams failure to open_output_file()

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'ab7b038906f3e40ed474676d8e3029902a2078f5'
Michael Niedermayer [Sun, 19 Jul 2015 11:50:33 +0000 (13:50 +0200)]
Merge commit 'ab7b038906f3e40ed474676d8e3029902a2078f5'

* commit 'ab7b038906f3e40ed474676d8e3029902a2078f5':
  avconv: factor out the output stream initialization

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'bd2ab27c488ae92c7820efe11d4f53d84e94d58e'
Michael Niedermayer [Sun, 19 Jul 2015 11:33:44 +0000 (13:33 +0200)]
Merge commit 'bd2ab27c488ae92c7820efe11d4f53d84e94d58e'

* commit 'bd2ab27c488ae92c7820efe11d4f53d84e94d58e':
  avconv: use read_file() for reading the 2pass stats

Conflicts:
cmdutils.c
cmdutils.h
ffmpeg_opt.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '6d5d9246042acb804a652e6fedfb7afe0ca85614'
Michael Niedermayer [Sun, 19 Jul 2015 10:57:32 +0000 (12:57 +0200)]
Merge commit '6d5d9246042acb804a652e6fedfb7afe0ca85614'

* commit '6d5d9246042acb804a652e6fedfb7afe0ca85614':
  avconv: move handling the 2pass logfile into avconv_opt

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '59245e0c5e10a849e67c632cccf4f677b2442e82'
Michael Niedermayer [Sun, 19 Jul 2015 10:44:07 +0000 (12:44 +0200)]
Merge commit '59245e0c5e10a849e67c632cccf4f677b2442e82'

* commit '59245e0c5e10a849e67c632cccf4f677b2442e82':
  avconv: set the encoding/decoding_needed flags earlier

Conflicts:
ffmpeg.c

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoffmpeg_opt: Fix stream copy flag for attachments
Michael Niedermayer [Sun, 19 Jul 2015 10:35:10 +0000 (12:35 +0200)]
ffmpeg_opt: Fix stream copy flag for attachments

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '56c2f37727015212a404cae0f444d8bc8704d691'
Michael Niedermayer [Sun, 19 Jul 2015 09:57:34 +0000 (11:57 +0200)]
Merge commit '56c2f37727015212a404cae0f444d8bc8704d691'

* commit '56c2f37727015212a404cae0f444d8bc8704d691':
  avconv: drop update_sample_fmt()

Conflicts:
ffmpeg.c

No change as the removed code is not in FFmpeg

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit 'e61f39849c2e2b7f492c17b42058242ed2fa4d57'
Michael Niedermayer [Sun, 19 Jul 2015 09:45:29 +0000 (11:45 +0200)]
Merge commit 'e61f39849c2e2b7f492c17b42058242ed2fa4d57'

* commit 'e61f39849c2e2b7f492c17b42058242ed2fa4d57':
  asfdec: make nb_sub to be unsigned int

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '2883ef34b59c9b427c4cfad4620c3235e5778406'
Michael Niedermayer [Sun, 19 Jul 2015 09:38:33 +0000 (11:38 +0200)]
Merge commit '2883ef34b59c9b427c4cfad4620c3235e5778406'

* commit '2883ef34b59c9b427c4cfad4620c3235e5778406':
  asfdec: read the replicated data in a separate function

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '0989d3ad1fbd7509815208b0a5792918492d2a68'
Michael Niedermayer [Sun, 19 Jul 2015 09:29:49 +0000 (11:29 +0200)]
Merge commit '0989d3ad1fbd7509815208b0a5792918492d2a68'

* commit '0989d3ad1fbd7509815208b0a5792918492d2a68':
  asfdec: convert condition for the replicated data reading to be safer

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoMerge commit '406627287e015ce381795e85e2557b12bf60ca35'
Michael Niedermayer [Sun, 19 Jul 2015 09:22:57 +0000 (11:22 +0200)]
Merge commit '406627287e015ce381795e85e2557b12bf60ca35'

* commit '406627287e015ce381795e85e2557b12bf60ca35':
  asfdec: do not read replicated data when their length is 0

Merged-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoqsvenc: properly handle asynchronous encoding
Anton Khirnov [Tue, 14 Jul 2015 16:16:26 +0000 (18:16 +0200)]
qsvenc: properly handle asynchronous encoding

Wait for async_depth frames before syncing.

8 years agoqsvdec: properly handle asynchronous decoding
Anton Khirnov [Tue, 14 Jul 2015 16:16:26 +0000 (18:16 +0200)]
qsvdec: properly handle asynchronous decoding

Wait for async_depth frames before syncing.

8 years agoaf_resample: do not touch the timestamps if we are not resampling
Anton Khirnov [Thu, 16 Jul 2015 17:26:36 +0000 (19:26 +0200)]
af_resample: do not touch the timestamps if we are not resampling

This filter currently assumes that the input audio is continuous and
does some timestamps manipulation based on this assumption.

This is unnecessary if we are only converting the channel layout or the
sample format, without resampling. In such a case, just leave the
timestamps as they are.

8 years agoavconv: split creating and (re-)configuring complex filtergraphs
Anton Khirnov [Wed, 15 Jul 2015 17:49:24 +0000 (19:49 +0200)]
avconv: split creating and (re-)configuring complex filtergraphs

The current code is less than straightforward due to the fact that
output streams can be created based on filtergraph definitions. This
change should make the code simpler and more readable. It will also be
useful in the future commits.

8 years agoavconv: create the complex filtergraphs earlier
Anton Khirnov [Wed, 15 Jul 2015 15:17:54 +0000 (17:17 +0200)]
avconv: create the complex filtergraphs earlier

Since global options are processed before all the other options now, we
do not have to try creating the complex filtergraphs several times
anymore, it is enough to do it once after the input files are opened.

8 years agoavconv: move the no streams failure to open_output_file()
Anton Khirnov [Wed, 15 Jul 2015 13:51:39 +0000 (15:51 +0200)]
avconv: move the no streams failure to open_output_file()

It is a better place for it, there is no reason to wait until
transcode_init().

8 years agoavconv: factor out the output stream initialization
Anton Khirnov [Sun, 28 Jun 2015 08:49:19 +0000 (10:49 +0200)]
avconv: factor out the output stream initialization

8 years agoavconv: use read_file() for reading the 2pass stats
Anton Khirnov [Sun, 28 Jun 2015 06:45:02 +0000 (08:45 +0200)]
avconv: use read_file() for reading the 2pass stats

Also, drop the now unused cmdutils_read_file(). There is no reason to
have two functions doing essentially the same thing.

8 years agoavconv: move handling the 2pass logfile into avconv_opt
Anton Khirnov [Sun, 28 Jun 2015 06:37:58 +0000 (08:37 +0200)]
avconv: move handling the 2pass logfile into avconv_opt

It more logically belongs there.

8 years agoavconv: set the encoding/decoding_needed flags earlier
Anton Khirnov [Sun, 28 Jun 2015 06:03:44 +0000 (08:03 +0200)]
avconv: set the encoding/decoding_needed flags earlier

This will be useful in the following commits.

8 years agoavconv: drop update_sample_fmt()
Anton Khirnov [Sun, 28 Jun 2015 05:41:22 +0000 (07:41 +0200)]
avconv: drop update_sample_fmt()

There is only one decoder left that supports this (libopus, which is not
used by default since we have a native one) and this code goes against
the avconv design, since it propagates information back from the encoder
to decoder.

8 years agoasfdec: make nb_sub to be unsigned int
Alexandra Hájková [Fri, 17 Jul 2015 12:17:07 +0000 (14:17 +0200)]
asfdec: make nb_sub to be unsigned int

number of subpayloads should be always positive

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoasfdec: read the replicated data in a separate function
Alexandra Hájková [Fri, 17 Jul 2015 12:17:06 +0000 (14:17 +0200)]
asfdec: read the replicated data in a separate function

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoasfdec: convert condition for the replicated data reading to be safer
Alexandra Hájková [Fri, 17 Jul 2015 12:17:05 +0000 (14:17 +0200)]
asfdec: convert condition for the replicated data reading to be safer

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoasfdec: do not read replicated data when their length is 0
Alexandra Hájková [Fri, 17 Jul 2015 12:17:03 +0000 (14:17 +0200)]
asfdec: do not read replicated data when their length is 0

Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years agoavcodec/hevc_parser: Treat extradata parsing differently, as it should not contain...
Michael Niedermayer [Sun, 19 Jul 2015 00:50:06 +0000 (02:50 +0200)]
avcodec/hevc_parser: Treat extradata parsing differently, as it should not contain an AU

Fixes ticket4718

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavutil/x86/bswap: force inline asm versions with ICC
James Almer [Sat, 18 Jul 2015 21:29:44 +0000 (18:29 -0300)]
avutil/x86/bswap: force inline asm versions with ICC

Recent ICC versions that define GCC as >= 4.5 (like ICC 13) apparently can't
optimize the generic C versions of av_bswap*() on their own.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavutil/intmath: check for ICC before GCC
James Almer [Sat, 18 Jul 2015 19:52:42 +0000 (16:52 -0300)]
avutil/intmath: check for ICC before GCC

Intel compiler also defines __GNUC__, so the Intel specific intrinsics were not
really being used.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years agoavfilter/vf_blend: unbreak tblend
Paul B Mahol [Sat, 18 Jul 2015 05:00:03 +0000 (05:00 +0000)]
avfilter/vf_blend: unbreak tblend

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofate: add tblend filter test
Paul B Mahol [Sat, 18 Jul 2015 02:30:59 +0000 (02:30 +0000)]
fate: add tblend filter test

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavformat/mpegtsenc: Add sdt_period, similar to pat_period
Michael Niedermayer [Sat, 18 Jul 2015 21:25:07 +0000 (23:25 +0200)]
avformat/mpegtsenc: Add sdt_period, similar to pat_period

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/mpegtsenc: Support a user specified PAT/PMT period
Michael Niedermayer [Thu, 16 Jul 2015 10:56:55 +0000 (12:56 +0200)]
avformat/mpegtsenc: Support a user specified PAT/PMT period

Can be used to fix Ticket3714

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/mpegtsenc: support storing PAT/PMT per frame
Michael Niedermayer [Wed, 15 Jul 2015 23:54:56 +0000 (01:54 +0200)]
avformat/mpegtsenc: support storing PAT/PMT per frame

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agodoc/developer: add url for sample files
Ganesh Ajjanagadde [Sat, 18 Jul 2015 12:34:02 +0000 (08:34 -0400)]
doc/developer: add url for sample files

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavfilter/vf_blend: implement 16bit support
Paul B Mahol [Wed, 15 Jul 2015 18:04:28 +0000 (18:04 +0000)]
avfilter/vf_blend: implement 16bit support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofate: add test for mergeplanes filter
Paul B Mahol [Fri, 17 Jul 2015 12:52:22 +0000 (12:52 +0000)]
fate: add test for mergeplanes filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavcodec/vp8: Check buffer size in vp8_decode_frame_header()
Michael Niedermayer [Sat, 18 Jul 2015 17:18:24 +0000 (19:18 +0200)]
avcodec/vp8: Check buffer size in vp8_decode_frame_header()

avoids null pointer dereference
Fixes: signal_sigsegv_d5de40_964_vp80-00-comprehensive-010.ivf with memlimit of 1048576
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/vp8: Fix null pointer dereference in ff_vp8_decode_free()
Michael Niedermayer [Sat, 18 Jul 2015 17:02:26 +0000 (19:02 +0200)]
avcodec/vp8: Fix null pointer dereference in ff_vp8_decode_free()

Fixes: signal_sigsegv_d5de23_967_vp80_00_comprehensive_010.ivf with memlimit 524288
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavcodec/diracdec: Check for hpel_base allocation failure
Michael Niedermayer [Sat, 18 Jul 2015 15:55:19 +0000 (17:55 +0200)]
avcodec/diracdec: Check for hpel_base allocation failure

Fixes null pointer dereference
Fixes: signal_sigsegv_b02a96_280_RL_420p_ffdirac.drc with memlimit of 67108864
Found-by: Samuel Groß, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years agoavformat/movenc: Drop redundant bit exact field from context
Michael Niedermayer [Sat, 18 Jul 2015 11:17:21 +0000 (13:17 +0200)]
avformat/movenc: Drop redundant bit exact field from context

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