ffmpeg.git
8 years agobuild: remove non-existant examples rule.
Clément Bœsch [Sat, 12 May 2012 15:33:16 +0000 (17:33 +0200)]
build: remove non-existant examples rule.

8 years agodoc/examples: use system headers in decoding_encoding and muxing.
Clément Bœsch [Sat, 12 May 2012 15:26:01 +0000 (17:26 +0200)]
doc/examples: use system headers in decoding_encoding and muxing.

All the other examples already use the system installed headers.

8 years agodoc/examples: remove explicit rules.
Clément Bœsch [Thu, 10 May 2012 17:09:34 +0000 (19:09 +0200)]
doc/examples: remove explicit rules.

These rules are already in gmake builtins.

8 years agodoc/examples: add libavr to libraries to avoid link failures.
Clément Bœsch [Sat, 19 May 2012 10:28:09 +0000 (12:28 +0200)]
doc/examples: add libavr to libraries to avoid link failures.

8 years agoffmpeg: misc cosmetics.
Clément Bœsch [Sat, 19 May 2012 10:05:02 +0000 (12:05 +0200)]
ffmpeg: misc cosmetics.

Reduce diff against avconv, and change some doxycomments into normal
comments (no point in doxifying ffmpeg internal fields).

8 years agoffmpeg: adapt to the buffersrc API changes.
Nicolas George [Fri, 18 May 2012 11:59:48 +0000 (13:59 +0200)]
ffmpeg: adapt to the buffersrc API changes.

8 years agolavfi: unify src_buffer and buffersrc.
Nicolas George [Fri, 18 May 2012 11:56:22 +0000 (13:56 +0200)]
lavfi: unify src_buffer and buffersrc.

Most of the code is moved to buffersrc.c
to help Git see the similarities.

src_buffer.c still contains the obsolete compatibility functions.

The format change detection code was removed as it has been
implemented directly in ffmpeg.
It can easily be brought back from the history.

8 years agolavfi: remove stray reference to planar/packed.
Nicolas George [Fri, 18 May 2012 11:29:43 +0000 (13:29 +0200)]
lavfi: remove stray reference to planar/packed.

8 years agoavfilter: move some fields in AVFilterLink.
Nicolas George [Fri, 18 May 2012 10:44:11 +0000 (12:44 +0200)]
avfilter: move some fields in AVFilterLink.

It restores ABI compatibility with libav.

The fields that move were very recent or morally private.

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 18 May 2012 22:38:21 +0000 (00:38 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc: Replace some @file tags by more suitable markup.
  fate: Set FUZZ factor of vorbis-13 test to 2.
  fate: Set FUZZ factor of (e)ac3-encode test to 3.
  fate: remove unused code from regressions-funcs.sh
  rtmp: Don't assume path points to a string of nonzero length
  avconv: fix behavior with -ss as an output option.

Conflicts:
doc/platform.texi
doc/protocols.texi
ffmpeg.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: fix warning & bug for keep_pix_fmt
Michael Niedermayer [Fri, 18 May 2012 22:15:03 +0000 (00:15 +0200)]
ffmpeg: fix warning & bug for keep_pix_fmt

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: remove unused variable i.
Clément Bœsch [Fri, 18 May 2012 21:40:53 +0000 (23:40 +0200)]
ffmpeg: remove unused variable i.

8 years agoffmpeg: do not deprecate -vol and -map_channel.
Clément Bœsch [Thu, 17 May 2012 18:57:22 +0000 (20:57 +0200)]
ffmpeg: do not deprecate -vol and -map_channel.

These helpers are handy, just notice the user it is done using lavfi.

8 years agoffmpeg: resurrect -map_channel.
Clément Bœsch [Thu, 17 May 2012 17:31:35 +0000 (19:31 +0200)]
ffmpeg: resurrect -map_channel.

8 years agopan: use ff_parse_channel_layout() instead of av_get_channel_layout().
Clément Bœsch [Thu, 17 May 2012 17:32:17 +0000 (19:32 +0200)]
pan: use ff_parse_channel_layout() instead of av_get_channel_layout().

This allow specifying hexadecimal channel layout, and also handle the
error printing internally.

8 years agolavu/error: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 07:57:33 +0000 (09:57 +0200)]
lavu/error: fix make checkheaders.

The errors need to be defined before including functions depending on
them. See av_size_mult() for instance. stddef.h is included for the
prototype of av_sterror (use of size_t).

8 years agobuild: add codec_names.h to SKIPHEADERS to fix make checkheaders.
Clément Bœsch [Sun, 13 May 2012 19:10:54 +0000 (21:10 +0200)]
build: add codec_names.h to SKIPHEADERS to fix make checkheaders.

8 years agolavc/vda: fix make checkheaders.
Clément Bœsch [Sun, 13 May 2012 19:19:55 +0000 (21:19 +0200)]
lavc/vda: fix make checkheaders.

8 years agolavc/os2threads: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 07:10:24 +0000 (09:10 +0200)]
lavc/os2threads: fix make checkheaders.

8 years agolavc/libutvideo: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 07:06:54 +0000 (09:06 +0200)]
lavc/libutvideo: fix make checkheaders.

8 years agolavc/libutvideo: protect header.
Clément Bœsch [Wed, 9 May 2012 07:06:06 +0000 (09:06 +0200)]
lavc/libutvideo: protect header.

8 years agolavc/jacosub: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 07:04:04 +0000 (09:04 +0200)]
lavc/jacosub: fix make checkheaders.

8 years agolavc/dcaenc: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 06:33:06 +0000 (08:33 +0200)]
lavc/dcaenc: fix make checkheaders.

8 years agolavc/g723.1: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 06:32:31 +0000 (08:32 +0200)]
lavc/g723.1: fix make checkheaders.

8 years agolavc/g723: protect header.
Clément Bœsch [Wed, 9 May 2012 06:31:54 +0000 (08:31 +0200)]
lavc/g723: protect header.

8 years agolavc/g729postfilter: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 06:27:51 +0000 (08:27 +0200)]
lavc/g729postfilter: fix make checkheaders.

8 years agolavf/swf: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 06:25:49 +0000 (08:25 +0200)]
lavf/swf: fix make checkheaders.

8 years agolavfi: rename all_channel_layouts.h to all_channel_layouts.inc.
Clément Bœsch [Wed, 9 May 2012 06:22:06 +0000 (08:22 +0200)]
lavfi: rename all_channel_layouts.h to all_channel_layouts.inc.

all_channel_layouts.h is not a real header file and breaks make checkheaders.

8 years agolavfi/transform: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 06:15:27 +0000 (08:15 +0200)]
lavfi/transform: fix make checkheaders.

8 years agolavd/dshow: fix make checkheaders.
Clément Bœsch [Wed, 9 May 2012 06:14:44 +0000 (08:14 +0200)]
lavd/dshow: fix make checkheaders.

8 years agolavd/dshow: protect header.
Clément Bœsch [Wed, 9 May 2012 06:11:16 +0000 (08:11 +0200)]
lavd/dshow: protect header.

8 years agoaf_aresample: Consider the swresample delay during calculating timestamps.
Michael Niedermayer [Fri, 18 May 2012 21:03:27 +0000 (23:03 +0200)]
af_aresample: Consider the swresample delay during calculating timestamps.

The difference from this should be pretty small.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswr: add swr_get_delay() to find the exact delay the swresampler introduces.
Michael Niedermayer [Fri, 18 May 2012 21:02:10 +0000 (23:02 +0200)]
swr: add swr_get_delay() to find the exact delay the swresampler introduces.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaf_aresample: fix rounding that led to sample accumulation in the buffers.
Michael Niedermayer [Fri, 18 May 2012 18:11:44 +0000 (20:11 +0200)]
af_aresample: fix rounding that led to sample accumulation in the buffers.

This fixes a regression that apparently was missed when switching to the
in af resampler

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodoc: Replace some @file tags by more suitable markup.
Diego Biurrun [Wed, 16 May 2012 17:24:39 +0000 (19:24 +0200)]
doc: Replace some @file tags by more suitable markup.

8 years agofate: Set FUZZ factor of vorbis-13 test to 2.
Diego Biurrun [Tue, 15 May 2012 13:00:15 +0000 (15:00 +0200)]
fate: Set FUZZ factor of vorbis-13 test to 2.

This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.

8 years agofate: Set FUZZ factor of (e)ac3-encode test to 3.
Diego Biurrun [Tue, 15 May 2012 08:57:51 +0000 (10:57 +0200)]
fate: Set FUZZ factor of (e)ac3-encode test to 3.

This is necessary to account for different rounding done in the 3DNow!
Assembly optimizations.

8 years agofate: ffprobe tests require SAMPLES.
Nicolas George [Mon, 14 May 2012 18:24:52 +0000 (20:24 +0200)]
fate: ffprobe tests require SAMPLES.

8 years agofate: remove unused code from regressions-funcs.sh
Mans Rullgard [Fri, 18 May 2012 10:43:07 +0000 (11:43 +0100)]
fate: remove unused code from regressions-funcs.sh

The only uses of the do_avconv_nomd5() function were removed in
85cf49f.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Fri, 18 May 2012 02:45:14 +0000 (04:45 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: put aspect ratio info to the VideoPicture struct
  ffplay: use AVFrame::width and height instead of using codec or filter settings
  ffplay: use stream sample_aspect_ratio if available in source frames
  ffplay: fix video_thread when no frame is returned in get_video_frame

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaf_aresample: 10l fix, wrong timebase for next_pts.
Michael Niedermayer [Fri, 18 May 2012 01:51:37 +0000 (03:51 +0200)]
af_aresample: 10l fix, wrong timebase for next_pts.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi/aevalsrc: reindent after the previous commit
Stefano Sabatini [Thu, 17 May 2012 22:59:42 +0000 (00:59 +0200)]
lavfi/aevalsrc: reindent after the previous commit

8 years agolavfi/aevalsrc: add option channel_layout
Stefano Sabatini [Thu, 17 May 2012 11:01:50 +0000 (13:01 +0200)]
lavfi/aevalsrc: add option channel_layout

Allow to explicitly specify the channel layout to select.

8 years agolavfi/aevalsrc: remove limitation on the number of channels
Stefano Sabatini [Wed, 16 May 2012 17:35:56 +0000 (19:35 +0200)]
lavfi/aevalsrc: remove limitation on the number of channels

8 years agolavu/parseutils: fix specification for av_parse_time()
Stefano Sabatini [Thu, 17 May 2012 11:28:12 +0000 (13:28 +0200)]
lavu/parseutils: fix specification for av_parse_time()

8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 17 May 2012 21:45:00 +0000 (23:45 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  pcmenc: set correct bitrate value
  avprobe: don't print format entry name when only one was requested

Conflicts:
ffprobe.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaresample: add code to flush the internal swr buffer.
Michael Niedermayer [Thu, 17 May 2012 20:39:02 +0000 (22:39 +0200)]
aresample: add code to flush the internal swr buffer.

Inspired-by code from af_resample.c written by Anton Khirnov

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaresample: check return code of swr_convert()
Michael Niedermayer [Thu, 17 May 2012 20:38:34 +0000 (22:38 +0200)]
aresample: check return code of swr_convert()

Issue found by comparing af_resample.c and af_aresample.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agortmp: Don't assume path points to a string of nonzero length
Martin Storsjö [Wed, 16 May 2012 08:45:47 +0000 (11:45 +0300)]
rtmp: Don't assume path points to a string of nonzero length

If using the new -rtmp_app and -rtmp_playpath parameters,
one can in many cases set the main url to just rtmp://server/.
If the trailing slash is omitted, path is a string of zero length,
and using path+1 will end up reading uninitialized data.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoavconv: fix behavior with -ss as an output option.
Anton Khirnov [Thu, 17 May 2012 10:42:03 +0000 (12:42 +0200)]
avconv: fix behavior with -ss as an output option.

Don't return from poll_filters() immediately, there may be other frames
and/or other streams to handle.

Fixes a memleak.

8 years agoffmpeg: automatically insert volume filter when -vol is used.
Clément Bœsch [Thu, 17 May 2012 15:27:20 +0000 (17:27 +0200)]
ffmpeg: automatically insert volume filter when -vol is used.

Deprecate -vol.

Inspired by asyncts auto-insert patch from Anton Khirnov.

8 years agoffmpeg: use av_buffersrc_add_frame() for audio too
Michael Niedermayer [Thu, 17 May 2012 15:15:47 +0000 (17:15 +0200)]
ffmpeg: use av_buffersrc_add_frame() for audio too

fixes a memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge branch 'audio-filters' of https://github.com/ubitux/FFmpeg
Michael Niedermayer [Thu, 17 May 2012 14:51:59 +0000 (16:51 +0200)]
Merge branch 'audio-filters' of https://github.com/ubitux/FFmpeg

* 'audio-filters' of https://github.com/ubitux/FFmpeg:
  lavfi/pan: add supported sample rates to avoid a crash.
  ffmpeg: do not warn when expecting EOF from lavfi.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoav_aresample: Allow changing sample format and channel layout as well
Michael Niedermayer [Thu, 17 May 2012 14:12:54 +0000 (16:12 +0200)]
av_aresample: Allow changing sample format and channel layout as well

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswresample: set the default parameters to "none"
Michael Niedermayer [Thu, 17 May 2012 14:41:39 +0000 (16:41 +0200)]
swresample: set the default parameters to "none"

this way it can easily be detected when parameters have not been set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi/pan: add supported sample rates to avoid a crash.
Clément Bœsch [Thu, 17 May 2012 14:31:52 +0000 (16:31 +0200)]
lavfi/pan: add supported sample rates to avoid a crash.

8 years agoffmpeg: do not warn when expecting EOF from lavfi.
Clément Bœsch [Thu, 17 May 2012 14:28:19 +0000 (16:28 +0200)]
ffmpeg: do not warn when expecting EOF from lavfi.

8 years agoffmpeg: fix ;;
Michael Niedermayer [Thu, 17 May 2012 14:12:26 +0000 (16:12 +0200)]
ffmpeg: fix ;;

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavfiltergraph: use aresample not aconvert in the alternative merge code.
Michael Niedermayer [Thu, 17 May 2012 11:11:13 +0000 (13:11 +0200)]
avfiltergraph: use aresample not aconvert in the alternative merge code.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaf_aresample: support all swresample parameters.
Michael Niedermayer [Thu, 17 May 2012 11:10:14 +0000 (13:10 +0200)]
af_aresample: support all swresample parameters.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaf_aresample: fix typo in query formats
Michael Niedermayer [Thu, 17 May 2012 11:09:39 +0000 (13:09 +0200)]
af_aresample: fix typo in query formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosrc_buffer: propagate errors from copy_buffer_ref()
Michael Niedermayer [Thu, 17 May 2012 02:46:27 +0000 (04:46 +0200)]
src_buffer: propagate errors from copy_buffer_ref()

Fixes a null ptr deref

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: move audio timestamp roundup code.
Michael Niedermayer [Thu, 17 May 2012 02:07:16 +0000 (04:07 +0200)]
ffmpeg: move audio timestamp roundup code.

This fixes a regression which lead to non monotone timestamps
at the end of a file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopcmenc: set correct bitrate value
Mans Rullgard [Tue, 15 May 2012 23:01:34 +0000 (00:01 +0100)]
pcmenc: set correct bitrate value

This fixes a bogus bitrate value in the header of WAV files with
alaw/ulaw audio.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoffmpeg: add support for audio filters.
Anton Khirnov [Sat, 5 May 2012 16:22:46 +0000 (18:22 +0200)]
ffmpeg: add support for audio filters.

Some of the FATE changes are due to off-by-one different rounding being used
(lrintf vs av_rescale_q).
Some fate changes are due to 1 audio frame less being encoded (the new variant seems
matching what qatar does and according to ffprobe its closer to the requested duration)
the mapchan feature sadly is lost in this commit because it depends on resampling
being done in ffmpeg.c which is now moved completely into the av filter layer
-async is broken after this commit, this will be fixed in subsequent commits
the new filter reconfiguration system is flawed and will drop a frame on each
parameter change which is why the nelly moser checksums need updating.

Conflicts:

ffmpeg.c
tests/ref/fate/smjpeg

8 years agolibavfilter: src_buffer: add time_base for audio
Michael Niedermayer [Thu, 17 May 2012 00:40:27 +0000 (02:40 +0200)]
libavfilter: src_buffer: add time_base for audio

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavfilter: src_buffer: fix planar audio
Michael Niedermayer [Thu, 17 May 2012 00:39:45 +0000 (02:39 +0200)]
libavfilter: src_buffer: fix planar audio

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavfilter: src_buffer, use only aresample, not aconvert.
Michael Niedermayer [Thu, 17 May 2012 00:38:14 +0000 (02:38 +0200)]
libavfilter: src_buffer, use only aresample, not aconvert.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosrc_buffer: fix query_formats_audio()
Michael Niedermayer [Thu, 17 May 2012 00:40:57 +0000 (02:40 +0200)]
src_buffer: fix query_formats_audio()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavfilter: add ff_parse_time_base()
Michael Niedermayer [Thu, 17 May 2012 00:37:13 +0000 (02:37 +0200)]
libavfilter: add ff_parse_time_base()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: allow switching to qatars buffersrc API
Michael Niedermayer [Wed, 16 May 2012 22:10:47 +0000 (00:10 +0200)]
ffmpeg: allow switching to qatars buffersrc API

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobuffersrc: export forgotten function
Michael Niedermayer [Wed, 16 May 2012 21:13:44 +0000 (23:13 +0200)]
buffersrc: export forgotten function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 16 May 2012 20:29:04 +0000 (22:29 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: Work around non-standard wc implementations at more places
  fate: work around non-standard wc implementations
  x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.
  ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16
  fate: use standard diff options
  tta: Fix comment about channel number; TTA supports >2 channels.
  avfilter: Move ff_get_ref_perms_string() to where it is used.
  build: Add 'check' target to run all compile and test targets.
  indeo3: validate new frame size before resetting decoder
  indeo3: when freeing buffers, set pointers referencing them to NULL as well
  indeo3: initialise pixel planes on allocation
  indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder
  fate: rename psx-str-v3-mdec to mdec-v3
  fate: convert psx-str to a demuxer test
  lavf: add mdec to is_intra_only() list

Conflicts:
doc/developer.texi
libavcodec/indeo3.c
libavfilter/video.c
libavformat/utils.c
tests/fate/demux.mak
tests/fate/video.mak
tests/lavf-regression.sh
tests/ref/vsynth1/cljr
tests/ref/vsynth1/ffvhuff
tests/ref/vsynth2/cljr
tests/ref/vsynth2/ffvhuff

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaasc: support "Autodesk 24 bit RLE compressor" (FourCC: aas4)
Piotr Bandurski [Wed, 16 May 2012 09:51:26 +0000 (11:51 +0200)]
aasc: support "Autodesk 24 bit RLE compressor" (FourCC: aas4)

fixes ticket #1310

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavprobe: don't print format entry name when only one was requested
Anton Khirnov [Mon, 7 May 2012 20:01:15 +0000 (22:01 +0200)]
avprobe: don't print format entry name when only one was requested

This is easier to parse with automated tools.

8 years agolavfi/aevalsrc: correct the supported sample format
Stefano Sabatini [Wed, 16 May 2012 14:17:41 +0000 (16:17 +0200)]
lavfi/aevalsrc: correct the supported sample format

The source supports *planar* double, fix regression introduced by me in
4d4098da.

8 years agolavfi/aevalsrc: fix sample rate negotiation, after the last merge
Stefano Sabatini [Wed, 16 May 2012 13:28:43 +0000 (15:28 +0200)]
lavfi/aevalsrc: fix sample rate negotiation, after the last merge

Fix crash.

8 years agofate: Work around non-standard wc implementations at more places
Martin Storsjö [Wed, 16 May 2012 09:42:43 +0000 (12:42 +0300)]
fate: Work around non-standard wc implementations at more places

This applies the same fix as in ed7409fe9d for lavf-regressions.sh.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoffprobe: remove unused variable i in probe_file()
Stefano Sabatini [Wed, 16 May 2012 11:20:21 +0000 (13:20 +0200)]
ffprobe: remove unused variable i in probe_file()

Fix warning:
ffprobe.c: In function ‘probe_file’:
ffprobe.c:1576:14: warning: unused variable ‘i’ [-Wunused-variable]

8 years agolavfi: drop planar/packed negotiation support
Stefano Sabatini [Sat, 12 May 2012 15:38:47 +0000 (17:38 +0200)]
lavfi: drop planar/packed negotiation support

The planar/packed switch and the packing_formats list is no longer
required, since the planar/packed information is now stored in the sample
format enum.

This is technically a major API break, possibly it should be not too
painful as we marked the audio filtering API as unstable.

8 years agoSupport more Avid Meridien / AVUI samples.
Carl Eugen Hoyos [Wed, 16 May 2012 06:29:56 +0000 (08:29 +0200)]
Support more Avid Meridien / AVUI samples.

Fixes ticket #1288.

8 years agofate: work around non-standard wc implementations
Mans Rullgard [Tue, 15 May 2012 21:02:42 +0000 (22:02 +0100)]
fate: work around non-standard wc implementations

On some systems, the wc command prints spaces before the first
number causing mismatches with the test references.  Using the
output of wc as arguments to echo removes any extra whitespace.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoavfiltergraph: switch to swresample by default
Michael Niedermayer [Wed, 16 May 2012 01:54:37 +0000 (03:54 +0200)]
avfiltergraph: switch to swresample by default

all known bugs in the interface code have been fixed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi: fix pts rescaling in the resampler
Michael Niedermayer [Wed, 16 May 2012 01:54:04 +0000 (03:54 +0200)]
lavfi: fix pts rescaling in the resampler

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi: fix resample with differing formats
Michael Niedermayer [Wed, 16 May 2012 01:53:29 +0000 (03:53 +0200)]
lavfi: fix resample with differing formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoAdd AVFMT_SEEK_TO_PTS to nut demuxer flags
Michael Bradshaw [Tue, 15 May 2012 23:32:33 +0000 (17:32 -0600)]
Add AVFMT_SEEK_TO_PTS to nut demuxer flags

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMention AVFMT_SEEK_TO_PTS in AVInputFormat flags docs
Michael Bradshaw [Tue, 15 May 2012 23:26:36 +0000 (17:26 -0600)]
Mention AVFMT_SEEK_TO_PTS in AVInputFormat flags docs

Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodv_profile: fix decoding of SoftLabDVCPRO codec (PAL mode)
Piotr Bandurski [Tue, 15 May 2012 18:39:08 +0000 (20:39 +0200)]
dv_profile: fix decoding of SoftLabDVCPRO codec (PAL mode)

fixes ticket #1307

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 16 May 2012 00:27:31 +0000 (02:27 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (26 commits)
  fate: use diff -b in oneline comparison
  Add missing version bumps and APIchanges/Changelog entries.
  lavfi: move buffer management function to a separate file.
  lavfi: move formats-related functions from default.c to formats.c
  lavfi: move video-related functions to a separate file.
  fate: make smjpeg a demux test
  fate: separate sierra-vmd audio and video tests
  fate: separate smacker audio and video tests
  libmp3lame: set supported channel layouts.
  avconv: automatically insert asyncts when -async is used.
  avconv: add support for audio filters.
  lavfi: add asyncts filter.
  lavfi: add aformat filter
  lavfi: add an audio buffer sink.
  lavfi: add an audio buffer source.
  buffersrc: add av_buffersrc_write_frame().
  buffersrc: fix invalid read in uninit if the fifo hasn't been allocated
  lavfi: rename vsrc_buffer.c to buffersrc.c
  avfiltergraph: reindent
  lavfi: add channel layout/sample rate negotiation.
  ...

Conflicts:
Changelog
doc/APIchanges
doc/filters.texi
ffmpeg.c
ffprobe.c
libavcodec/libmp3lame.c
libavfilter/Makefile
libavfilter/af_aformat.c
libavfilter/allfilters.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/avfiltergraph.c
libavfilter/buffersrc.c
libavfilter/defaults.c
libavfilter/formats.c
libavfilter/src_buffer.c
libavfilter/version.h
libavfilter/vf_yadif.c
libavfilter/vsrc_buffer.c
libavfilter/vsrc_buffer.h
libavutil/avutil.h
tests/fate/audio.mak
tests/fate/demux.mak
tests/fate/video.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodoc/filter_design: fix a few other typo.
Clément Bœsch [Tue, 15 May 2012 22:39:07 +0000 (00:39 +0200)]
doc/filter_design: fix a few other typo.

8 years agodoc/filtering_design: fix typo negociation -> negotiation
Stefano Sabatini [Tue, 15 May 2012 22:31:31 +0000 (00:31 +0200)]
doc/filtering_design: fix typo negociation -> negotiation

8 years agox86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.
Michael Kostylev [Thu, 10 May 2012 21:44:04 +0000 (23:44 +0200)]
x86: rv40: Mark rv40_weight functions as MMX2; they use MMX2 instructions.

8 years agoac3dsp: simplify x86 versions of ac3_max_msb_abs_int16
Justin Ruggles [Mon, 14 May 2012 19:56:39 +0000 (15:56 -0400)]
ac3dsp: simplify x86 versions of ac3_max_msb_abs_int16

Simplifies the code by using cpuflags and a new macro.
Also fixes the invalid use of the MMX2 pshufw operation in the MMX-only
function.

8 years agofate: use standard diff options
Mans Rullgard [Mon, 14 May 2012 21:31:08 +0000 (22:31 +0100)]
fate: use standard diff options

diff -w is not a standard option.  This fixes the reference files
to match what the tests actually output and switches to using the
standard diff -b which is sufficient to handle different line ending
styles.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoAdd SLDV FourCC for dvvideo.
Piotr Bandurski [Tue, 15 May 2012 18:22:49 +0000 (20:22 +0200)]
Add SLDV FourCC for dvvideo.

8 years agotta: Fix comment about channel number; TTA supports >2 channels.
Aneesh Dogra [Tue, 15 May 2012 16:32:02 +0000 (22:02 +0530)]
tta: Fix comment about channel number; TTA supports >2 channels.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoavfilter: Move ff_get_ref_perms_string() to where it is used.
Diego Biurrun [Tue, 15 May 2012 13:56:04 +0000 (15:56 +0200)]
avfilter: Move ff_get_ref_perms_string() to where it is used.

This fixes a compilation failure with -DDEBUG.

8 years agobuild: Add 'check' target to run all compile and test targets.
Diego Biurrun [Sun, 26 Jun 2011 11:52:40 +0000 (13:52 +0200)]
build: Add 'check' target to run all compile and test targets.

8 years agoindeo3: validate new frame size before resetting decoder
Kostya Shishkov [Mon, 14 May 2012 17:46:54 +0000 (19:46 +0200)]
indeo3: validate new frame size before resetting decoder

8 years agoindeo3: when freeing buffers, set pointers referencing them to NULL as well
Kostya Shishkov [Mon, 14 May 2012 17:45:41 +0000 (19:45 +0200)]
indeo3: when freeing buffers, set pointers referencing them to NULL as well