ffmpeg.git
7 years agoShow configuration and library version with AV_LOG_INFO.
Carl Eugen Hoyos [Thu, 29 Sep 2011 10:59:05 +0000 (12:59 +0200)]
Show configuration and library version with AV_LOG_INFO.

This partly reverts 1c5e9551bca12e040270e0cd3d71440f83e9f8ae,
a change of behaviour that was not discussed.

The reason for the revert is that FFmpeg cares about bugreports.

7 years agoCheck for unsupported parameters in ff_j2k_dwt_init()
Laurent Aimar [Wed, 28 Sep 2011 23:04:54 +0000 (01:04 +0200)]
Check for unsupported parameters in ff_j2k_dwt_init()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for out of bound reads in jpeg 2000 decoder.
Laurent Aimar [Wed, 28 Sep 2011 23:04:53 +0000 (01:04 +0200)]
Check for out of bound reads in jpeg 2000 decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoPrevent calling init_vlc() with invalid parameters in motionpixels decoder.
Laurent Aimar [Wed, 28 Sep 2011 23:04:52 +0000 (01:04 +0200)]
Prevent calling init_vlc() with invalid parameters in motionpixels decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoPrevent NULL dereference when the palette is missing in the xan decoder.
Laurent Aimar [Wed, 28 Sep 2011 23:04:51 +0000 (01:04 +0200)]
Prevent NULL dereference when the palette is missing in the xan decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoFixed out of bound accesses in xan_unpack() of the xan decoder.
Laurent Aimar [Wed, 28 Sep 2011 23:04:49 +0000 (01:04 +0200)]
Fixed out of bound accesses in xan_unpack() of the xan decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr_test: dont test samples that have not been written
Michael Niedermayer [Thu, 29 Sep 2011 02:52:22 +0000 (04:52 +0200)]
swr_test: dont test samples that have not been written

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 28 Sep 2011 23:03:02 +0000 (01:03 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (23 commits)
  avconv: Reformat s16 volume adjustment.
  ARM: NEON optimised vector_fmac_scalar()
  dca: use vector_fmac_scalar from dsputil
  dsputil: add vector_fmac_scalar()
  latmenc: Fix private options
  vf_unsharp: store hsub/vsub in the filter context
  vf_unsharp: adopt a more natural order of params in apply_unsharp()
  vf_unsharp: rename method "unsharpen" to "apply_unsharp"
  vf_scale: apply the same transform to the aspect during init that is applied per frame
  vf_pad: fix "vsub" variable value computation
  vf_scale: add a "sar" variable
  lavfi: fix realloc size computation in avfilter_add_format()
  vsrc_color: use internal timebase
  lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()
  graphparser: prefer void * over AVClass * for log contexts
  avfiltergraph: use meaningful error codes
  avconv: Initialize return value for codec copy path.
  fate: use 'run' helper for seek-test
  fate: remove seek-mpeg2reuse test
  Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.
  ...

Conflicts:
doc/filters.texi
libavfilter/avfilter.h
libavfilter/avfiltergraph.c
libavfilter/avfiltergraph.h
libavfilter/graphparser.c
libavfilter/vf_scale.c
libavfilter/vsrc_color.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years ago2/4 bpp png is supported.
Carl Eugen Hoyos [Wed, 28 Sep 2011 20:53:25 +0000 (22:53 +0200)]
2/4 bpp png is supported.

7 years agoh264: fix FIXME and use list_count in ff_h264_fill_mbaff_ref_list()
Michael Niedermayer [Wed, 28 Sep 2011 20:24:05 +0000 (22:24 +0200)]
h264: fix FIXME and use list_count in ff_h264_fill_mbaff_ref_list()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoh264: More correct ref_count check in decode_slice_header()
Michael Niedermayer [Wed, 28 Sep 2011 20:22:56 +0000 (22:22 +0200)]
h264: More correct ref_count check in decode_slice_header()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agosink_buffer: fix typo
Michael Niedermayer [Wed, 28 Sep 2011 18:30:30 +0000 (20:30 +0200)]
sink_buffer: fix typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavconv: Reformat s16 volume adjustment.
Alex Converse [Tue, 27 Sep 2011 17:24:28 +0000 (10:24 -0700)]
avconv: Reformat s16 volume adjustment.

7 years agoUse "JPEG 2000" as long name for j2k.
Carl Eugen Hoyos [Wed, 28 Sep 2011 16:43:49 +0000 (18:43 +0200)]
Use "JPEG 2000" as long name for j2k.

7 years agoEncoding speex via libspeex is supported.
Carl Eugen Hoyos [Wed, 28 Sep 2011 16:34:07 +0000 (18:34 +0200)]
Encoding speex via libspeex is supported.

7 years agomovenc: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
movenc: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agogxfenc: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
gxfenc: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaviobuf: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
aviobuf: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavienc: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
avienc: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavidec: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
avidec: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years ago4xm: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
4xm: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibvpxenc: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
libvpxenc: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobitstream: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
bitstream: Replace av_realloc by av_realloc_f when relevant.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: Replace av_realloc by av_realloc_f when relevant.
Nicolas George [Wed, 28 Sep 2011 15:16:11 +0000 (17:16 +0200)]
ffmpeg: Replace av_realloc by av_realloc_f when relevant.

Also mark with a visible comment "FIXME realloc failure" places where
av_realloc seems to lack a proper test for failure.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoIntroduce av_realloc_f.
Nicolas George [Sun, 20 Mar 2011 18:39:20 +0000 (19:39 +0100)]
Introduce av_realloc_f.

av_realloc_f helps avoiding memory-leaks in typical uses of realloc.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoIntroduce av_size_mult.
Nicolas George [Sun, 20 Mar 2011 18:39:20 +0000 (19:39 +0100)]
Introduce av_size_mult.

av_size_mult helps checking for overflow when computing the size of a memory
area.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibx264: remove check_default_settings()
Michael Niedermayer [Wed, 28 Sep 2011 13:11:19 +0000 (15:11 +0200)]
libx264: remove check_default_settings()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffprobe: fix trailing '=' in stream id.
Clément Bœsch [Wed, 28 Sep 2011 15:57:22 +0000 (17:57 +0200)]
ffprobe: fix trailing '=' in stream id.

7 years agolavfi: fix FF_API_* definition macros
Stefano Sabatini [Wed, 28 Sep 2011 13:41:28 +0000 (15:41 +0200)]
lavfi: fix FF_API_* definition macros

Fix ABI break occurred after their use.

Bug reported and patch provided by chinsou, fix trac issue #516,
+80cola for me.

7 years agoARM: NEON optimised vector_fmac_scalar()
Mans Rullgard [Wed, 28 Sep 2011 13:34:54 +0000 (14:34 +0100)]
ARM: NEON optimised vector_fmac_scalar()

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodca: use vector_fmac_scalar from dsputil
Mans Rullgard [Wed, 28 Sep 2011 13:34:04 +0000 (14:34 +0100)]
dca: use vector_fmac_scalar from dsputil

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodsputil: add vector_fmac_scalar()
Mans Rullgard [Wed, 28 Sep 2011 13:33:21 +0000 (14:33 +0100)]
dsputil: add vector_fmac_scalar()

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoswresample: remove unused variable.
Nicolas George [Sun, 25 Sep 2011 11:36:03 +0000 (13:36 +0200)]
swresample: remove unused variable.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibswr/rematrix: remove unused variable.
Nicolas George [Sun, 25 Sep 2011 11:35:03 +0000 (13:35 +0200)]
libswr/rematrix: remove unused variable.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolibswr/rematrix: add braces to silence a warning.
Nicolas George [Sun, 25 Sep 2011 11:24:40 +0000 (13:24 +0200)]
libswr/rematrix: add braces to silence a warning.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobintext: remove unused variable.
Nicolas George [Sun, 25 Sep 2011 11:12:05 +0000 (13:12 +0200)]
bintext: remove unused variable.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovf_boxblur: remove useless code.
Nicolas George [Sun, 25 Sep 2011 11:10:15 +0000 (13:10 +0200)]
vf_boxblur: remove useless code.

This block was probably leftovers from code refactoring.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kdec: use correct printf format.
Nicolas George [Sun, 25 Sep 2011 10:34:05 +0000 (12:34 +0200)]
j2kdec: use correct printf format.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: Fix pointer<->integer casts.
Michael Niedermayer [Wed, 28 Sep 2011 13:18:49 +0000 (15:18 +0200)]
j2kenc: Fix pointer<->integer casts.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolatmenc: Fix private options
Kieran Kunhya [Wed, 28 Sep 2011 12:46:10 +0000 (07:46 -0500)]
latmenc: Fix private options

Signed-off-by: Martin Storsjö <martin@martin.st>
7 years agovf_unsharp: store hsub/vsub in the filter context
Stefano Sabatini [Fri, 12 Aug 2011 07:30:17 +0000 (09:30 +0200)]
vf_unsharp: store hsub/vsub in the filter context

Also drop obfuscating CHROMA_WIDTH/HEIGHT macros.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovf_unsharp: adopt a more natural order of params in apply_unsharp()
Stefano Sabatini [Fri, 12 Aug 2011 07:22:31 +0000 (09:22 +0200)]
vf_unsharp: adopt a more natural order of params in apply_unsharp()

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovf_unsharp: rename method "unsharpen" to "apply_unsharp"
Stefano Sabatini [Fri, 12 Aug 2011 06:47:09 +0000 (08:47 +0200)]
vf_unsharp: rename method "unsharpen" to "apply_unsharp"

More consistent with the original libmpcodecs code, and the name
"unsharpen" was confusing.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovf_scale: apply the same transform to the aspect during init that is applied per...
Michael Niedermayer [Fri, 26 Aug 2011 23:49:55 +0000 (01:49 +0200)]
vf_scale: apply the same transform to the aspect during init that is applied per frame

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovf_pad: fix "vsub" variable value computation
Stefano Sabatini [Mon, 4 Jul 2011 09:15:14 +0000 (11:15 +0200)]
vf_pad: fix "vsub" variable value computation

It was shifting 2 rather than 1, +10l.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovf_scale: add a "sar" variable
Stefano Sabatini [Sat, 2 Jul 2011 15:27:31 +0000 (17:27 +0200)]
vf_scale: add a "sar" variable

Also create a "dar" alias for the "a" variable, for avoiding possible
confusion between dar/sar.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agolavfi: fix realloc size computation in avfilter_add_format()
Stefano Sabatini [Sun, 19 Jun 2011 20:07:18 +0000 (22:07 +0200)]
lavfi: fix realloc size computation in avfilter_add_format()

Replace sizeof((*avff)->formats)
with    sizeof(*(*avff)->formats)

as the size of the array element is given by the pointed element
rather than by its pointer.

In particular fix computation with the pending patch when
sizeof(int64_t) != sizeof(int64_t *).

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agovsrc_color: use internal timebase
Stefano Sabatini [Fri, 17 Jun 2011 23:52:40 +0000 (01:52 +0200)]
vsrc_color: use internal timebase

Avoid timescale conversion, simplify.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agolavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()
Stefano Sabatini [Sat, 11 Jun 2011 09:41:49 +0000 (11:41 +0200)]
lavfi: fix signature for avfilter_graph_parse() and avfilter_graph_config()

Require "void *" rather than "AVClass *" for the log context type.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agographparser: prefer void * over AVClass * for log contexts
Stefano Sabatini [Sat, 11 Jun 2011 12:33:09 +0000 (14:33 +0200)]
graphparser: prefer void * over AVClass * for log contexts

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavfiltergraph: use meaningful error codes
Stefano Sabatini [Sat, 11 Jun 2011 09:15:40 +0000 (11:15 +0200)]
avfiltergraph: use meaningful error codes

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoavconv: Initialize return value for codec copy path.
Alex Converse [Tue, 27 Sep 2011 22:27:18 +0000 (15:27 -0700)]
avconv: Initialize return value for codec copy path.

7 years agoh264: dont set key_frame when the frame is not a real keyframe.
Michael Niedermayer [Wed, 28 Sep 2011 01:47:39 +0000 (03:47 +0200)]
h264: dont set key_frame when the frame is not a real keyframe.
Fixes Ticket514

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: use 'run' helper for seek-test
Mans Rullgard [Wed, 28 Sep 2011 01:13:31 +0000 (02:13 +0100)]
fate: use 'run' helper for seek-test

This is simpler, and the actual seek-test command is printed with V=1.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: remove seek-mpeg2reuse test
Mans Rullgard [Wed, 28 Sep 2011 01:11:14 +0000 (02:11 +0100)]
fate: remove seek-mpeg2reuse test

The input file for this test is no longer generated.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agodoc/ffmpeg.texi: merge changes from avconv.texi since last merge
Michael Niedermayer [Wed, 28 Sep 2011 00:57:34 +0000 (02:57 +0200)]
doc/ffmpeg.texi: merge changes from avconv.texi since last merge

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffplay: fix forgotten codec_name checks
Michael Niedermayer [Wed, 28 Sep 2011 01:05:33 +0000 (03:05 +0200)]
ffplay: fix forgotten codec_name checks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffmpeg: fix wrong indention that leaked in from merge
Michael Niedermayer [Wed, 28 Sep 2011 00:11:07 +0000 (02:11 +0200)]
ffmpeg: fix wrong indention that leaked in from merge

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for out of bound reads in the flic decoder.
Laurent Aimar [Tue, 27 Sep 2011 20:05:15 +0000 (22:05 +0200)]
Check for out of bound reads in the flic decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 27 Sep 2011 23:31:38 +0000 (01:31 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avconv: use different variables for decoded and filtered frame.
  avconv: add support for copying attachments.
  matroskaenc: write attachments.
  matroskadec: export mimetype of attachments as metadata.
  avconv: factorize common code from new_*_stream()
  doc/avconv: expand documentation for some options.
  doc/avconv: document -timelimit.

Conflicts:
avconv.c
cmdutils.c
tests/codec-regression.sh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoPrevent out of bound accesses in the xan decoder.
Laurent Aimar [Tue, 27 Sep 2011 21:53:47 +0000 (23:53 +0200)]
Prevent out of bound accesses in the xan decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for invalid/corrupted bitstream in sun raster decoder.
Laurent Aimar [Tue, 27 Sep 2011 19:24:03 +0000 (21:24 +0200)]
Check for invalid/corrupted bitstream in sun raster decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoPrevent NULL dereferences when missing the reference frame in the xan decoder.
Laurent Aimar [Tue, 27 Sep 2011 21:43:57 +0000 (23:43 +0200)]
Prevent NULL dereferences when missing the reference frame in the xan decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for out of bounds reads in sun rasterfile decoder.
Laurent Aimar [Tue, 27 Sep 2011 21:43:53 +0000 (23:43 +0200)]
Check for out of bounds reads in sun rasterfile decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for corrupted extra data in wmavoice decoder.
Laurent Aimar [Tue, 27 Sep 2011 21:43:52 +0000 (23:43 +0200)]
Check for corrupted extra data in wmavoice decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for out of bound writes in the wmavoice decoder.
Laurent Aimar [Tue, 27 Sep 2011 21:43:51 +0000 (23:43 +0200)]
Check for out of bound writes in the wmavoice decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoPrevent NULL dereferences when missing the reference frame in the bink decoder.
Laurent Aimar [Tue, 27 Sep 2011 18:22:13 +0000 (20:22 +0200)]
Prevent NULL dereferences when missing the reference frame in the bink decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoFix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.
Michael Niedermayer [Thu, 28 Jul 2011 12:59:54 +0000 (14:59 +0200)]
Fix memory (re)allocation in matroskadec.c, related to MSVR-11-0080.

Whitespace of the patch cleaned up by Aurel
Some of the issues have been reported by Steve Manzuik / Microsoft Vulnerability Research (MSVR)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 956c901c68eff78288f40e3c8f41ee2fa081d4a8)

Further suggestions from Kostya <kostya.shishkov@gmail.com> have been
implemented by Reinhard Tartler <siretart@tauware.de>

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
7 years agoavconv: Fix volume adjustment for non-s16 sample formats
Alex Converse [Tue, 27 Sep 2011 17:15:07 +0000 (10:15 -0700)]
avconv: Fix volume adjustment for non-s16 sample formats

7 years agoavconv: Make samples void*.
Alex Converse [Tue, 27 Sep 2011 17:21:39 +0000 (10:21 -0700)]
avconv: Make samples void*.

Different sample formats are different sizes.

7 years agoavconv: Use the size of the decode sample format when allocating the audio samples...
Alex Converse [Tue, 27 Sep 2011 17:20:23 +0000 (10:20 -0700)]
avconv: Use the size of the decode sample format when allocating the audio samples buffer.

7 years agomxf: Add PictureEssenceCoding UL for V210
Tomas Härdin [Mon, 26 Sep 2011 09:24:11 +0000 (11:24 +0200)]
mxf: Add PictureEssenceCoding UL for V210

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffplay.texi: document -codec
Michael Niedermayer [Tue, 27 Sep 2011 20:00:20 +0000 (22:00 +0200)]
ffplay.texi: document -codec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoffplay: support -codec:avs to force a specific decoder implementation
Michael Niedermayer [Tue, 27 Sep 2011 19:56:20 +0000 (21:56 +0200)]
ffplay: support -codec:avs to force a specific decoder implementation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoregression tests: add jpeg2000
Michael Niedermayer [Tue, 27 Sep 2011 19:13:34 +0000 (21:13 +0200)]
regression tests: add jpeg2000

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: Fix use of value before its initialized.
Michael Niedermayer [Tue, 27 Sep 2011 19:27:17 +0000 (21:27 +0200)]
j2kenc: Fix use of value before its initialized.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: only list pixel formats that fully work currently.
Michael Niedermayer [Tue, 27 Sep 2011 19:04:35 +0000 (21:04 +0200)]
j2kenc: only list pixel formats that fully work currently.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: fix colors on yuv444
Michael Niedermayer [Tue, 27 Sep 2011 19:02:02 +0000 (21:02 +0200)]
j2kenc: fix colors on yuv444

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoimg2enc: show first 4 bytes if a malformed jpeg2000 codestream is detected
Michael Niedermayer [Tue, 27 Sep 2011 18:46:48 +0000 (20:46 +0200)]
img2enc: show first 4 bytes if a malformed jpeg2000 codestream is detected

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoimg2enc: Accept raw jpeg2000 codestream too,
Michael Niedermayer [Tue, 27 Sep 2011 18:45:59 +0000 (20:45 +0200)]
img2enc: Accept raw jpeg2000 codestream too,
 our decoder outputs that, jasper can as well

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoRELEASE: set to 0.8.4.git after the release from 2011-09-22
Dominique Leuenberger [Tue, 27 Sep 2011 14:56:49 +0000 (16:56 +0200)]
RELEASE: set to 0.8.4.git after the release from 2011-09-22

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: enable 4:2:0 YUV it works as "well" as the other subsampled yuv formats
Michael Niedermayer [Tue, 27 Sep 2011 17:25:43 +0000 (19:25 +0200)]
j2kenc: enable 4:2:0 YUV it works as "well" as the other subsampled yuv formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agobuild system: enable j2kenc
Michael Niedermayer [Tue, 27 Sep 2011 17:25:17 +0000 (19:25 +0200)]
build system: enable j2kenc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: fix coded_frame and prevent null pointer dereference.
Michael Niedermayer [Tue, 27 Sep 2011 17:24:31 +0000 (19:24 +0200)]
j2kenc: fix coded_frame and prevent null pointer dereference.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: Update ff_j2k_init_component() arguments
Michael Niedermayer [Tue, 27 Sep 2011 17:18:40 +0000 (19:18 +0200)]
j2kenc: Update ff_j2k_init_component() arguments

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: fix arguments for ff_j2k_getnbctxno()
Michael Niedermayer [Tue, 27 Sep 2011 17:11:08 +0000 (19:11 +0200)]
j2kenc: fix arguments for ff_j2k_getnbctxno()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: mark as experimental.
Michael Niedermayer [Tue, 27 Sep 2011 17:02:13 +0000 (19:02 +0200)]
j2kenc: mark as experimental.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: s/CODEC_TYPE_VIDEO/AVMEDIA_TYPE_VIDEO/
Michael Niedermayer [Tue, 27 Sep 2011 17:01:37 +0000 (19:01 +0200)]
j2kenc: s/CODEC_TYPE_VIDEO/AVMEDIA_TYPE_VIDEO/

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: update codec name to modern ffmpeg
Michael Niedermayer [Tue, 27 Sep 2011 17:00:55 +0000 (19:00 +0200)]
j2kenc: update codec name to modern ffmpeg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: cleanup() is not used outside thus it is static
Michael Niedermayer [Tue, 27 Sep 2011 17:00:21 +0000 (19:00 +0200)]
j2kenc: cleanup() is not used outside thus it is static

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoj2kenc: update function name.
Michael Niedermayer [Tue, 27 Sep 2011 16:59:37 +0000 (18:59 +0200)]
j2kenc: update function name.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoavconv: use different variables for decoded and filtered frame.
Anton Khirnov [Fri, 23 Sep 2011 14:17:42 +0000 (16:17 +0200)]
avconv: use different variables for decoded and filtered frame.

Makes the code less obfuscated and fixes encoding one video stream to
several outputs.

Also use avcodec_alloc_frame() instead of allocating AVFrame on stack.

Breaks me_threshold in avconv, as motion vectors aren't passed through
lavfi. They could be copied manually, but I don't think this misfeature
is useful enough to justify ugly hacks.

7 years agoavconv: add support for copying attachments.
Anton Khirnov [Tue, 27 Sep 2011 08:37:22 +0000 (10:37 +0200)]
avconv: add support for copying attachments.

7 years agomatroskaenc: write attachments.
Anton Khirnov [Sat, 30 Jul 2011 11:37:36 +0000 (13:37 +0200)]
matroskaenc: write attachments.

7 years agomatroskadec: export mimetype of attachments as metadata.
Anton Khirnov [Tue, 27 Sep 2011 08:36:53 +0000 (10:36 +0200)]
matroskadec: export mimetype of attachments as metadata.

7 years agoavconv: factorize common code from new_*_stream()
Anton Khirnov [Tue, 27 Sep 2011 05:42:29 +0000 (07:42 +0200)]
avconv: factorize common code from new_*_stream()

7 years agodoc/avconv: expand documentation for some options.
Anton Khirnov [Mon, 12 Sep 2011 19:03:52 +0000 (21:03 +0200)]
doc/avconv: expand documentation for some options.

7 years agodoc/avconv: document -timelimit.
Anton Khirnov [Mon, 12 Sep 2011 18:40:29 +0000 (20:40 +0200)]
doc/avconv: document -timelimit.

7 years agomxfdec: Consider QuantizationBits between 17 and 24 to be pcm_s24*
Tomas Härdin [Tue, 27 Sep 2011 09:14:59 +0000 (11:14 +0200)]
mxfdec: Consider QuantizationBits between 17 and 24 to be pcm_s24*

This fixes playback of BRD38772509.mxf

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoCheck for out of bound writes when building tree in bink decoder.
Laurent Aimar [Mon, 26 Sep 2011 23:02:17 +0000 (01:02 +0200)]
Check for out of bound writes when building tree in bink decoder.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>