]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoxvma: remove unused variable
Paul B Mahol [Tue, 31 Jul 2012 23:29:37 +0000 (23:29 +0000)]
xvma: remove unused variable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoh264_mc_template: switch to av_assert
Michael Niedermayer [Wed, 1 Aug 2012 02:19:46 +0000 (04:19 +0200)]
h264_mc_template: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agog722enc: switch to av_assert
Michael Niedermayer [Wed, 1 Aug 2012 02:19:27 +0000 (04:19 +0200)]
g722enc: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: avoid bogus error with "test.flac -c copy -f null -"
Michael Niedermayer [Tue, 31 Jul 2012 23:47:51 +0000 (01:47 +0200)]
ffmpeg: avoid bogus error with "test.flac -c copy -f null -"

Reported-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 31 Jul 2012 20:41:00 +0000 (22:41 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpc8: return more meaningful error codes.
  mpc: return more meaningful error codes.
  wv,mpc8: don't return apetag data in packets.
  rtmp: do not warn about receiving metadata packets
  x86: h264dsp: Adjust YASM #ifdefs
  x86: yadif: Mark mmxext optimizations as such
  h264: convert loop filter strength dsp function to yasm.
  Improve descriptiveness of a number of codec and container long names

Conflicts:
libavcodec/flvdec.c
libavcodec/libopenjpegdec.c
libavformat/apetag.c
libavformat/mp3dec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompc8: return more meaningful error codes.
Anton Khirnov [Mon, 30 Jul 2012 05:29:34 +0000 (07:29 +0200)]
mpc8: return more meaningful error codes.

11 years agompc: return more meaningful error codes.
Anton Khirnov [Sun, 29 Jul 2012 20:19:35 +0000 (22:19 +0200)]
mpc: return more meaningful error codes.

11 years agowv,mpc8: don't return apetag data in packets.
Anton Khirnov [Mon, 30 Jul 2012 05:28:35 +0000 (07:28 +0200)]
wv,mpc8: don't return apetag data in packets.

11 years agoloco: fix return value.
Nicolas George [Sat, 28 Jul 2012 22:14:27 +0000 (00:14 +0200)]
loco: fix return value.

The return value was the number of bytes left,
it is supposed to be the number of bytes used.

11 years agoloco: take decode overflow into account.
Nicolas George [Sat, 28 Jul 2012 22:12:27 +0000 (00:12 +0200)]
loco: take decode overflow into account.

Commit 2bf0982 introduced an overflow check in loco_decode_plane,
but the error code is never taken into account, leading to
completely idiotic return values.

11 years agosp5xdec: sanitize return value.
Nicolas George [Sat, 28 Jul 2012 21:52:50 +0000 (23:52 +0200)]
sp5xdec: sanitize return value.

i is the decoded size of a recoded packet, which is larger
than the original packet. Assume that if decoding succeeded,
all the packet was used.

11 years ago8svx: unify mono and stereo code paths.
Nicolas George [Sun, 29 Jul 2012 10:46:48 +0000 (12:46 +0200)]
8svx: unify mono and stereo code paths.

11 years ago8svx: remove useless rounding code.
Nicolas George [Sun, 29 Jul 2012 10:45:31 +0000 (12:45 +0200)]
8svx: remove useless rounding code.

samples_size and samples_idx are supposed to be multiple of
channels at all time. If they are, the division is exact;
if they are not, something is very wrong in the code.

11 years ago8svx: use a more direct condition.
Nicolas George [Sun, 29 Jul 2012 10:33:35 +0000 (12:33 +0200)]
8svx: use a more direct condition.

esc->table was inited based on codec->id: re-testing codec->id
is code duplication and can lead to inconsistencies.

11 years agomovtextdec: fix return value for too small packets.
Nicolas George [Sun, 29 Jul 2012 12:56:59 +0000 (14:56 +0200)]
movtextdec: fix return value for too small packets.

11 years agommvideo: count preamble size in return value.
Nicolas George [Sat, 28 Jul 2012 17:36:21 +0000 (19:36 +0200)]
mmvideo: count preamble size in return value.

MM_PREAMBLE_SIZE is subtracted from buf_size almost immediately.
The original size is still in avpkt->size.

11 years agovc1dec: count ENDOFSEQ code in return value.
Nicolas George [Sat, 28 Jul 2012 17:24:39 +0000 (19:24 +0200)]
vc1dec: count ENDOFSEQ code in return value.

11 years agoffprobe: fix validity error with tags and data.
Nicolas George [Tue, 31 Jul 2012 09:53:30 +0000 (11:53 +0200)]
ffprobe: fix validity error with tags and data.

Add "data" and "extradata" attributes to the schema.
Add "tag" element in "streams".
Print extradata before tags to avoid closing the element.

Fix trac ticket #1588.

11 years agortmp: do not warn about receiving metadata packets
Samuel Pitoiset [Thu, 26 Jul 2012 19:10:09 +0000 (21:10 +0200)]
rtmp: do not warn about receiving metadata packets

They are managed in get_packet()

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agox86: h264dsp: Adjust YASM #ifdefs
Diego Biurrun [Tue, 31 Jul 2012 10:32:29 +0000 (12:32 +0200)]
x86: h264dsp: Adjust YASM #ifdefs

This fixes compilation with YASM disabled.

11 years agox86: yadif: Mark mmxext optimizations as such
Diego Biurrun [Tue, 31 Jul 2012 10:17:02 +0000 (12:17 +0200)]
x86: yadif: Mark mmxext optimizations as such

The yadif mmx optimizations contain the pmaxsw and pmaxub mmxext
instructions, causing sigills on CPUs that do not support mmxext.

11 years agolavfi/movie: force channel layout if not set by the decoder
Stefano Sabatini [Mon, 30 Jul 2012 17:46:36 +0000 (19:46 +0200)]
lavfi/movie: force channel layout if not set by the decoder

This ensures that the output buffers will have the channel layout set,
which is required by filters.

Also consistent with ffmpeg.c behavior.

11 years agoffprobe: show audio frame channels and channel_layout
Stefano Sabatini [Mon, 30 Jul 2012 13:53:14 +0000 (15:53 +0200)]
ffprobe: show audio frame channels and channel_layout

11 years agolavc: add channels field to AVFrame
Stefano Sabatini [Mon, 30 Jul 2012 13:24:30 +0000 (15:24 +0200)]
lavc: add channels field to AVFrame

This is required otherwise it is not always possible to guess the number
of channels from the layout, for example if the channel layout is
unknown.

11 years agolavfi/asettb: do not create a new reference in filter_samples()
Stefano Sabatini [Mon, 30 Jul 2012 12:58:22 +0000 (14:58 +0200)]
lavfi/asettb: do not create a new reference in filter_samples()

There is no need to duplicate the input reference, since a filter should
not pass along a reference which is later modified. If this happens the
filter passing the reference should be fixed.

Also improve consistency with start_frame() of settb, allowing a pending
factorization.

11 years agolavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values
Stefano Sabatini [Mon, 30 Jul 2012 17:45:17 +0000 (19:45 +0200)]
lavu/bprint: readd documentation for 0 and 1 av_bprint_init() special values

The documentation was erroneously removed in 7cf9aadd.

11 years agoh264: convert loop filter strength dsp function to yasm.
Ronald S. Bultje [Sat, 28 Jul 2012 17:11:00 +0000 (10:11 -0700)]
h264: convert loop filter strength dsp function to yasm.

This completes the conversion of h264dsp to yasm; note that h264 also
uses some dsputil functions, most notably qpel. Performance-wise, the
yasm-version is ~10 cycles faster (182->172) on x86-64, and ~8 cycles
faster (201->193) on x86-32.

11 years agompegdemux: Fix probing of unrecognized_mpeg_video.mpg
Michael Niedermayer [Tue, 31 Jul 2012 01:59:29 +0000 (03:59 +0200)]
mpegdemux: Fix probing of unrecognized_mpeg_video.mpg

Fixes Ticket1586

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovc1dec: fix handling of max_coded dimensions
Michael Niedermayer [Tue, 31 Jul 2012 01:00:35 +0000 (03:00 +0200)]
vc1dec: fix handling of max_coded dimensions

Fixes Ticket1502

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompeg4videoenc: ensure SAR is within the supported range
Michael Niedermayer [Mon, 30 Jul 2012 23:57:18 +0000 (01:57 +0200)]
mpeg4videoenc: ensure SAR is within the supported range

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 30 Jul 2012 21:04:28 +0000 (23:04 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avformat: Drop pointless "format" from container long names
  swscale: bury one more piece of inline asm under HAVE_INLINE_ASM.
  wv: K&R formatting cosmetics
  configure: Add missing descriptions to help output
  h264_ps: declare array of colorspace strings on its own line.
  fate: amix: specify f32 sample format for comparison
  tiny_psnr: support 32-bit float samples
  eamad/eatgq/eatqi: call special EA IDCT directly
  eamad: remove use of MpegEncContext
  mpegvideo: remove unnecessary inclusions of faandct.h
  af_asyncts: avoid overflow in out_size with large delta values
  af_asyncts: add first_pts option

Conflicts:
configure
libavcodec/eamad.c
libavcodec/h264_ps.c
libavformat/crcenc.c
libavformat/ffmdec.c
libavformat/ffmenc.c
libavformat/framecrcenc.c
libavformat/md5enc.c
libavformat/nutdec.c
libavformat/rawenc.c
libavformat/yuv4mpeg.c
tests/tiny_psnr.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoImprove descriptiveness of a number of codec and container long names
Diego Biurrun [Tue, 24 Jul 2012 01:23:48 +0000 (03:23 +0200)]
Improve descriptiveness of a number of codec and container long names

11 years agolavfi: use correct PTS for link age.
Nicolas George [Mon, 30 Jul 2012 14:47:41 +0000 (16:47 +0200)]
lavfi: use correct PTS for link age.

When start_frame has returned, the buffer reference's PTS
may have been modified by another filter.

11 years agobuildsys: fix c++ compilation
Michael Niedermayer [Mon, 30 Jul 2012 15:44:56 +0000 (17:44 +0200)]
buildsys: fix c++ compilation

Based on code by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: fix forgotten hunk for framerate order change in ffmpeg.c
Michael Niedermayer [Mon, 30 Jul 2012 15:49:49 +0000 (17:49 +0200)]
fate: fix forgotten hunk for framerate order change in ffmpeg.c

broken by: cbb2c95e47cd83cb65b2ce77cbb0296e85fa506b
i had fixed that commit but pushed from an old branch

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyadif: update frame rate
Michael Niedermayer [Mon, 30 Jul 2012 03:08:19 +0000 (05:08 +0200)]
yadif: update frame rate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: init simple filter graph before trying to extract framerate from its output.
Michael Niedermayer [Mon, 30 Jul 2012 03:15:10 +0000 (05:15 +0200)]
ffmpeg: init simple filter graph before trying to extract framerate from its output.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter: fix minor typo
Michael Niedermayer [Mon, 30 Jul 2012 03:01:45 +0000 (05:01 +0200)]
avfilter: fix minor typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavformat: Drop pointless "format" from container long names
Diego Biurrun [Tue, 24 Jul 2012 21:51:41 +0000 (23:51 +0200)]
avformat: Drop pointless "format" from container long names

11 years agoaudioconvert: add av_get_standard_channel_layout().
Nicolas George [Mon, 30 Jul 2012 08:26:40 +0000 (10:26 +0200)]
audioconvert: add av_get_standard_channel_layout().

Also bump minor version and add APIchanges entry.

11 years agoaudioconvert: add av_get_channel_description().
Nicolas George [Sun, 29 Jul 2012 22:33:38 +0000 (00:33 +0200)]
audioconvert: add av_get_channel_description().

11 years agoaudioconvert: include the description of channels in the library.
Nicolas George [Sun, 29 Jul 2012 19:53:19 +0000 (21:53 +0200)]
audioconvert: include the description of channels in the library.

11 years agoflacdec: fix memleaks
Paul B Mahol [Sun, 29 Jul 2012 14:03:37 +0000 (14:03 +0000)]
flacdec: fix memleaks

While here refactor code.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosamplefmt: Fix warning about discarded qualifier
jamal [Fri, 27 Jul 2012 16:11:02 +0000 (13:11 -0300)]
samplefmt: Fix warning about discarded qualifier

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agooptions: Fix warning about incompatible pointer type
jamal [Fri, 27 Jul 2012 16:11:01 +0000 (13:11 -0300)]
options: Fix warning about incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale: bury one more piece of inline asm under HAVE_INLINE_ASM.
Ronald S. Bultje [Thu, 26 Jul 2012 02:27:03 +0000 (19:27 -0700)]
swscale: bury one more piece of inline asm under HAVE_INLINE_ASM.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 29 Jul 2012 22:56:33 +0000 (00:56 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  flvdec: remove spurious use of stream id
  lavf: deprecate r_frame_rate.
  lavf: round estimated average fps to a "standard" fps.

Conflicts:
ffmpeg.c
ffprobe.c
libavformat/avformat.h
libavformat/electronicarts.c
libavformat/flvdec.c
libavformat/rawdec.c
libavformat/utils.c
tests/ref/fate/iv8-demux

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agowv: K&R formatting cosmetics
Anton Khirnov [Sat, 28 Jul 2012 10:42:25 +0000 (12:42 +0200)]
wv: K&R formatting cosmetics

11 years agoconfigure: Add missing descriptions to help output
Diego Biurrun [Fri, 27 Jul 2012 11:01:04 +0000 (13:01 +0200)]
configure: Add missing descriptions to help output

11 years agolavfi/avcodec: rename picref->samplesref variable in avfilter_get_audio_buffer_ref_fr...
Stefano Sabatini [Sun, 29 Jul 2012 16:56:48 +0000 (18:56 +0200)]
lavfi/avcodec: rename picref->samplesref variable in avfilter_get_audio_buffer_ref_from_frame()

The new name is more meaningful in that context.

11 years agolavfi/color: free internal context options in uninit()
Stefano Sabatini [Sun, 29 Jul 2012 15:11:35 +0000 (17:11 +0200)]
lavfi/color: free internal context options in uninit()

Keeping the set options in the context when the component is still used
can be useful for debugging purposes.

11 years agolavfi/color: cache and reuse colored picture in context
Stefano Sabatini [Sun, 29 Jul 2012 14:35:43 +0000 (16:35 +0200)]
lavfi/color: cache and reuse colored picture in context

Avoid to fill the same picture again and again with the same content.

Optimize computation, and provides an example for the use of the
AV_PERM_REUSE permission flag.

11 years agolavfi/color: reindent after the previous commit
Stefano Sabatini [Sun, 29 Jul 2012 14:26:58 +0000 (16:26 +0200)]
lavfi/color: reindent after the previous commit

11 years agolavfi/color: drop support for old deprecated syntax
Stefano Sabatini [Sun, 29 Jul 2012 14:20:14 +0000 (16:20 +0200)]
lavfi/color: drop support for old deprecated syntax

11 years agolavfi/testsrc: add comment in options
Stefano Sabatini [Sun, 29 Jul 2012 14:12:24 +0000 (16:12 +0200)]
lavfi/testsrc: add comment in options

11 years agoh264_ps: declare array of colorspace strings on its own line.
Ronald S. Bultje [Sun, 29 Jul 2012 04:45:24 +0000 (21:45 -0700)]
h264_ps: declare array of colorspace strings on its own line.

11 years agofate: amix: specify f32 sample format for comparison
Mans Rullgard [Sun, 29 Jul 2012 17:11:27 +0000 (18:11 +0100)]
fate: amix: specify f32 sample format for comparison

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agotiny_psnr: support 32-bit float samples
Mans Rullgard [Sun, 29 Jul 2012 17:10:36 +0000 (18:10 +0100)]
tiny_psnr: support 32-bit float samples

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoMerge commit 'fe1c1198e670242f3cf9e3e1eef27cff77f3ee23'
Michael Niedermayer [Sun, 29 Jul 2012 20:58:17 +0000 (22:58 +0200)]
Merge commit 'fe1c1198e670242f3cf9e3e1eef27cff77f3ee23'

* commit 'fe1c1198e670242f3cf9e3e1eef27cff77f3ee23':
  lavf: use dts difference instead of AVPacket.duration in find_stream_info()
  avf: introduce nobuffer option
  fate: make yadif tests consistent across systems
  vf_hqdn3d: support 9 and 10bit colordepth
  vf_hqdn3d: reduce intermediate precision
  vf_hqdn3d: simplify and optimize
  factor identical ff_inplace_start_frame out of two filters
  vf_hqdn3d: cosmetics
  avprobe/avconv: fix tentative declaration compile errors on MSVS.

Conflicts:
doc/APIchanges
ffmpeg.c
ffprobe.c
libavformat/avformat.h
libavformat/options_table.h
libavformat/utils.c
libavformat/version.h
tests/fate/filter.mak
tests/ref/fate/filter-yadif-mode0
tests/ref/fate/filter-yadif-mode1

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoeamad/eatgq/eatqi: call special EA IDCT directly
Mans Rullgard [Sun, 29 Jul 2012 12:09:10 +0000 (13:09 +0100)]
eamad/eatgq/eatqi: call special EA IDCT directly

These decoders use a special non-MPEG2 IDCT.  Call it directly
instead of going through dsputil.  There is never any reason
to use a regular IDCT with these decoders or to use the EA IDCT
with other codecs.

This also fixes the bizarre situation of eamad and eatqi decoding
incorrectly if eatgq is disabled.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoeamad: remove use of MpegEncContext
Mans Rullgard [Fri, 27 Jul 2012 16:00:38 +0000 (17:00 +0100)]
eamad: remove use of MpegEncContext

There is no sense in pulling in this monster struct just for
a handful of fields.  The code does not call any functions
expecting an MpegEncContext.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agompegvideo: remove unnecessary inclusions of faandct.h
Mans Rullgard [Sun, 29 Jul 2012 12:20:54 +0000 (13:20 +0100)]
mpegvideo: remove unnecessary inclusions of faandct.h

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoaacenc: new default cutoff
Michael Niedermayer [Sun, 29 Jul 2012 17:49:22 +0000 (19:49 +0200)]
aacenc: new default cutoff

Improves subjective quality

Formula and testing by: kamedo2 <fujisakihir90@yahoo.co.jp>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoaf_asyncts: avoid overflow in out_size with large delta values
Justin Ruggles [Sat, 28 Jul 2012 17:12:38 +0000 (13:12 -0400)]
af_asyncts: avoid overflow in out_size with large delta values

11 years agoaf_asyncts: add first_pts option
Justin Ruggles [Sat, 28 Jul 2012 16:57:05 +0000 (12:57 -0400)]
af_asyncts: add first_pts option

This allows for padding/trimming at the start of stream. By default, no
assumption is made about the first frame's expected pts, so no padding or
trimming is done.

11 years agoflvdec: remove spurious use of stream id
Luca Barbato [Thu, 26 Jul 2012 14:18:11 +0000 (16:18 +0200)]
flvdec: remove spurious use of stream id

We match streams by codec id now.

11 years agodoc/filters: document TB variable for vf_setpts.
Nicolas George [Thu, 26 Jul 2012 17:03:03 +0000 (19:03 +0200)]
doc/filters: document TB variable for vf_setpts.

11 years agolibx264: list possible profiles.
Nicolas George [Sat, 28 Jul 2012 16:29:28 +0000 (18:29 +0200)]
libx264: list possible profiles.

The values are listed if setting them fails.
Using "-profile help" or "-profile list" have that effect.
Similar to 3aba391.
Suggested by "rogerdpack" in trac ticket #1529.

11 years agolavf: deprecate r_frame_rate.
Anton Khirnov [Tue, 26 Jun 2012 11:10:01 +0000 (13:10 +0200)]
lavf: deprecate r_frame_rate.

According to its description, it is supposed to be the LCM of all the
frame durations. The usability of such a thing is vanishingly small,
especially since we cannot determine it with any amount of reliability.
Therefore get rid of it after the next bump.

Replace it with the average framerate where it makes sense.

FATE results for the wtv and xmv demux tests change. In the wtv case
this is caused by the file being corrupted (or possibly badly cut) and
containing invalid timestamps. This results in lavf estimating the
framerate wrong and making up wrong frame durations.
In the xmv case the file contains pts jumps, so again the estimated
framerate is far from anything sane and lavf again makes up different
frame durations.

In some other tests lavf starts making up frame durations from different
frame.

11 years agolavf: round estimated average fps to a "standard" fps.
Anton Khirnov [Fri, 27 Jul 2012 12:04:07 +0000 (14:04 +0200)]
lavf: round estimated average fps to a "standard" fps.

11 years agolavf: use dts difference instead of AVPacket.duration in find_stream_info()
Anton Khirnov [Thu, 28 Jun 2012 13:49:51 +0000 (15:49 +0200)]
lavf: use dts difference instead of AVPacket.duration in find_stream_info()

AVPacket.duration is mostly made up and thus completely useless, this is
especially true for video streams.
Therefore use dts difference for framerate estimation and
the max_analyze_duration check.

The asyncts test now needs -analyzeduration, because the default is 5
seconds and the audio stream in the sample appears at ~10 seconds.

11 years agoavf: introduce nobuffer option
Luca Barbato [Thu, 26 Jul 2012 23:35:12 +0000 (16:35 -0700)]
avf: introduce nobuffer option

Useful in cases where a significant analyzeduration is
still needed, while minimizing buffering before output.

An example is processing low-latency streams where all
media types won't necessarily come in if the
analyzeduration is small.

Additional changes by Josh Allmann <joshua.allmann@gmail.com>

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agolavf/apetag: move common stuff between writer and reader to single file
Paul B Mahol [Sun, 29 Jul 2012 02:17:57 +0000 (02:17 +0000)]
lavf/apetag: move common stuff between writer and reader to single file

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodoc/general: add missed WavPack muxing support information
Paul B Mahol [Sun, 29 Jul 2012 02:26:09 +0000 (02:26 +0000)]
doc/general: add missed WavPack muxing support information

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/smacker: remove bogus video from .long_name
Paul B Mahol [Sun, 29 Jul 2012 02:22:09 +0000 (02:22 +0000)]
lavf/smacker: remove bogus video from .long_name

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agowvenc: support for ape tags
Paul B Mahol [Fri, 27 Jul 2012 09:42:46 +0000 (09:42 +0000)]
wvenc: support for ape tags

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoAPE tag writer
Paul B Mahol [Wed, 8 Feb 2012 23:58:17 +0000 (23:58 +0000)]
APE tag writer

11 years agoWavPack muxer
Paul B Mahol [Mon, 6 Feb 2012 19:50:09 +0000 (19:50 +0000)]
WavPack muxer

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 28 Jul 2012 23:56:31 +0000 (01:56 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (35 commits)
  h264_idct_10bit: port x86 assembly to cpuflags.
  x86inc: clip num_args to 7 on x86-32.
  x86inc: sync to latest version from x264.
  fft: rename "z" to "zc" to prevent name collision.
  wv: return meaningful error codes.
  wv: return AVERROR_EOF on EOF, not EIO.
  mp3dec: forward errors for av_get_packet().
  mp3dec: remove a pointless local variable.
  mp3dec: remove commented out cruft.
  lavfi: bump minor to mark stabilizing the ABI.
  FATE: add tests for yadif.
  FATE: add a test for delogo video filter.
  FATE: add a test for amix audio filter.
  audiogen: allow specifying random seed as a commandline parameter.
  vc1dec: Override invalid macroblock quantizer
  vc1: avoid reading beyond the last line in vc1_draw_sprites()
  vc1dec: check that coded slice positions and interlacing match.
  vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value
  configure: Move parts that should not be user-selectable to CONFIG_EXTRA
  lavf: remove commented out cruft in avformat_find_stream_info()
  ...

Conflicts:
Makefile
configure
libavcodec/vc1dec.c
libavcodec/x86/h264_deblock.asm
libavcodec/x86/h264_deblock_10bit.asm
libavcodec/x86/h264dsp_mmx.c
libavfilter/version.h
libavformat/mp3dec.c
libavformat/utils.c
libavformat/wv.c
libavutil/x86/x86inc.asm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: make yadif tests consistent across systems
Mans Rullgard [Sat, 28 Jul 2012 17:15:56 +0000 (18:15 +0100)]
fate: make yadif tests consistent across systems

MMX-enabled systems by default use some dsputil functions differing
from the C versions.  Adding these flags ensures accurate ones are
used everywhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agovf_hqdn3d: support 9 and 10bit colordepth
Loren Merritt [Fri, 27 Jul 2012 01:42:05 +0000 (01:42 +0000)]
vf_hqdn3d: support 9 and 10bit colordepth

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agovf_hqdn3d: reduce intermediate precision
Loren Merritt [Thu, 26 Jul 2012 22:51:15 +0000 (22:51 +0000)]
vf_hqdn3d: reduce intermediate precision

11% faster on penryn, 7% on sandybridge, 5% on bulldozer
Negligible change to output.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agovf_hqdn3d: simplify and optimize
Loren Merritt [Thu, 26 Jul 2012 22:51:14 +0000 (22:51 +0000)]
vf_hqdn3d: simplify and optimize

14% faster on penryn, 2% on sandybridge, 9% on bulldozer

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agofactor identical ff_inplace_start_frame out of two filters
Loren Merritt [Thu, 26 Jul 2012 22:51:12 +0000 (22:51 +0000)]
factor identical ff_inplace_start_frame out of two filters

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agovf_hqdn3d: cosmetics
Loren Merritt [Thu, 26 Jul 2012 22:51:13 +0000 (22:51 +0000)]
vf_hqdn3d: cosmetics

Change code style to match the rest of libav.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agoavprobe/avconv: fix tentative declaration compile errors on MSVS.
Ronald S. Bultje [Thu, 26 Jul 2012 04:23:23 +0000 (04:23 +0000)]
avprobe/avconv: fix tentative declaration compile errors on MSVS.

11 years agofaq: suggest the concat filter.
Nicolas George [Mon, 23 Jul 2012 13:02:57 +0000 (15:02 +0200)]
faq: suggest the concat filter.

11 years agofaq: disambiguate "join".
Nicolas George [Mon, 23 Jul 2012 12:35:10 +0000 (14:35 +0200)]
faq: disambiguate "join".

11 years agoffmpeg: allow using the r_frame_rate as fundamental timebase for stream copy in avi
Michael Niedermayer [Sat, 28 Jul 2012 15:43:14 +0000 (17:43 +0200)]
ffmpeg: allow using the r_frame_rate as fundamental timebase for stream copy in avi

Fixes Ticket1434

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_idct_10bit: port x86 assembly to cpuflags.
Ronald S. Bultje [Sat, 28 Jul 2012 15:01:12 +0000 (08:01 -0700)]
h264_idct_10bit: port x86 assembly to cpuflags.

11 years agox86inc: clip num_args to 7 on x86-32.
Loren Merritt [Fri, 27 Jul 2012 16:33:41 +0000 (09:33 -0700)]
x86inc: clip num_args to 7 on x86-32.

This allows us to unconditionally set the cglobal num_args
parameter to a bigger value, thus making writing yasm code
even easier than before.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
11 years agox86inc: sync to latest version from x264.
Ronald S. Bultje [Fri, 27 Jul 2012 03:26:17 +0000 (20:26 -0700)]
x86inc: sync to latest version from x264.

11 years agofft: rename "z" to "zc" to prevent name collision.
Ronald S. Bultje [Sat, 28 Jul 2012 15:20:19 +0000 (08:20 -0700)]
fft: rename "z" to "zc" to prevent name collision.

Without this, cglobal will expand "z" to "zh" to access the high byte
in a register's word, which causes a name collision with the ZH(x) macro
further up in this file.

11 years agoffmpeg: add code to perform ts wrap correction
Michael Niedermayer [Sat, 28 Jul 2012 14:55:12 +0000 (16:55 +0200)]
ffmpeg: add code to perform ts wrap correction

Fixes ticket1385

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate: switch rsync to fate-suite.ffmpeg.org
Michael Niedermayer [Sat, 28 Jul 2012 02:26:23 +0000 (04:26 +0200)]
fate: switch rsync to fate-suite.ffmpeg.org

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavf_concat: fix silence duration.
Nicolas George [Sat, 28 Jul 2012 12:57:52 +0000 (14:57 +0200)]
avf_concat: fix silence duration.

concat_in.pts starts at 0 for each segment, so the duration
of the silence was too long, except at the first stitch.

11 years agoasrc_flite: do not crash on multiple instances.
Nicolas George [Sat, 28 Jul 2012 09:53:18 +0000 (11:53 +0200)]
asrc_flite: do not crash on multiple instances.

The voice register functions return the same voice structure
upon multiple registration. It causes us two problems:

If we delete a voice without deregistering it, it leaves
a dangling pointer inside the library.

If we delete or unregister a voice at uninit, it may still
be in use by another instance of the filter.

The second problem is solved by keeping an usage counter inside
asrc_flite. This is not thread-safe, but neither is flite itself.

11 years agowv: return meaningful error codes.
Anton Khirnov [Sat, 28 Jul 2012 10:28:05 +0000 (12:28 +0200)]
wv: return meaningful error codes.

11 years agowv: return AVERROR_EOF on EOF, not EIO.
Anton Khirnov [Sat, 28 Jul 2012 10:23:04 +0000 (12:23 +0200)]
wv: return AVERROR_EOF on EOF, not EIO.

11 years agomp3dec: forward errors for av_get_packet().
Anton Khirnov [Sat, 28 Jul 2012 10:21:21 +0000 (12:21 +0200)]
mp3dec: forward errors for av_get_packet().

Don't invent a bogus EIO error.

The code now doesn't check for ret == 0, but that check is redundant,
av_get_packet() never returns 0.