ffmpeg.git
7 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.

7 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>
7 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>
7 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>
7 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>
7 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.

7 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.

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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.

7 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.

7 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>
7 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]

7 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.

7 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.

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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.

7 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

7 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.

7 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.

7 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>
7 years agoAdd SLDV FourCC for dvvideo.
Piotr Bandurski [Tue, 15 May 2012 18:22:49 +0000 (20:22 +0200)]
Add SLDV FourCC for dvvideo.

7 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>
7 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.

7 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.

7 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

7 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

7 years agoindeo3: initialise pixel planes on allocation
Kostya Shishkov [Mon, 14 May 2012 17:33:03 +0000 (19:33 +0200)]
indeo3: initialise pixel planes on allocation

This prevents decoder from reading garbage from it in case of errors later.

7 years agoindeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder
Kostya Shishkov [Mon, 14 May 2012 17:30:54 +0000 (19:30 +0200)]
indeo3: ensure that decoded cell data is in 7-bit range as presumed by decoder

7 years agolavfi: switch to _alt functions
Michael Niedermayer [Tue, 15 May 2012 16:55:17 +0000 (18:55 +0200)]
lavfi: switch to _alt functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofifo: add av_fifo_grow()
Michael Niedermayer [Mon, 14 May 2012 17:54:36 +0000 (19:54 +0200)]
fifo: add av_fifo_grow()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: rename psx-str-v3-mdec to mdec-v3
Mans Rullgard [Mon, 14 May 2012 15:44:15 +0000 (16:44 +0100)]
fate: rename psx-str-v3-mdec to mdec-v3

This name better reflects that it is v3 of mdec that is tested.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: convert psx-str to a demuxer test
Mans Rullgard [Tue, 15 May 2012 11:09:56 +0000 (12:09 +0100)]
fate: convert psx-str to a demuxer test

While these codecs are covered elsewhere, the container is different
from the other psx-str file.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolavf: add mdec to is_intra_only() list
Mans Rullgard [Tue, 15 May 2012 10:51:12 +0000 (11:51 +0100)]
lavf: add mdec to is_intra_only() list

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: use diff -b in oneline comparison
Mans Rullgard [Tue, 15 May 2012 10:52:28 +0000 (11:52 +0100)]
fate: use diff -b in oneline comparison

This is simpler and should take care of any problems with mixed
line ending styles.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agomtv: make output endian independant
Michael Niedermayer [Tue, 15 May 2012 09:12:51 +0000 (11:12 +0200)]
mtv: make output endian independant

should fix fate-mtv test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoSupport NTSC forward dvcpro videos (PAL looks incorrect).
Carl Eugen Hoyos [Tue, 15 May 2012 06:09:48 +0000 (08:09 +0200)]
Support NTSC forward dvcpro videos (PAL looks incorrect).

7 years agoRead and write APRG mov atom to allow AVUI streamcopy.
Carl Eugen Hoyos [Tue, 15 May 2012 05:41:23 +0000 (07:41 +0200)]
Read and write APRG mov atom to allow AVUI streamcopy.

7 years agoAdd missing version bumps and APIchanges/Changelog entries.
Anton Khirnov [Mon, 14 May 2012 20:02:14 +0000 (22:02 +0200)]
Add missing version bumps and APIchanges/Changelog entries.

7 years agolavfi: move buffer management function to a separate file.
Anton Khirnov [Thu, 10 May 2012 05:58:11 +0000 (07:58 +0200)]
lavfi: move buffer management function to a separate file.

7 years agolavfi: move formats-related functions from default.c to formats.c
Anton Khirnov [Thu, 10 May 2012 05:41:16 +0000 (07:41 +0200)]
lavfi: move formats-related functions from default.c to formats.c

It's more convenient to have them all in one file.

7 years agolavfi: move video-related functions to a separate file.
Anton Khirnov [Thu, 10 May 2012 05:36:10 +0000 (07:36 +0200)]
lavfi: move video-related functions to a separate file.

This is easier to follow than having them randomly scattered in
avfilter.c and defaults.c.

7 years agoffprobe: add default_writer priv_size.
Michael Niedermayer [Tue, 15 May 2012 01:53:53 +0000 (03:53 +0200)]
ffprobe: add default_writer priv_size.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoassdec: check that the alloc+init of the private data succeeded.
Michael Niedermayer [Tue, 15 May 2012 00:26:19 +0000 (02:26 +0200)]
assdec: check that the alloc+init of the private data succeeded.

Fixes a part of Ticket1208

Found-by: John Villamil and Piotr Bandurski
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaudio_frame_queue: fix null ptr dereference
Michael Niedermayer [Tue, 15 May 2012 00:15:23 +0000 (02:15 +0200)]
audio_frame_queue: fix null ptr dereference

This happened when a frame was removed before any was added.
Fixes part of Ticket1208

Found-by: John Villamil, Piotr Bandurski and Carl Eugen Hoyos
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: make smjpeg a demux test
Mans Rullgard [Fri, 11 May 2012 14:15:35 +0000 (15:15 +0100)]
fate: make smjpeg a demux test

These codecs are covered elsewhere so make this a pure demux test.
Also rename it accordingly.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoffmpeg: affect computed filtered frame pts after filling frame from buffer
Matthieu Bouron [Mon, 14 May 2012 13:10:23 +0000 (15:10 +0200)]
ffmpeg: affect computed filtered frame pts after filling frame from buffer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agolavf: add av_guess_frame_sample_aspect_ratio function
Marton Balint [Mon, 7 May 2012 18:27:08 +0000 (20:27 +0200)]
lavf: add av_guess_frame_sample_aspect_ratio function

Guesses the sample aspect ratio of a frame, based on both the stream and the
frame aspect ratio.

Since the frame aspect ratio is set by the codec but the stream aspect ratio
is set by the demuxer, these two may not be equal. This function tries to
return the value that you should use if you would like to display the frame.

Basic logic is to use the stream aspect ratio if it is set to something sane
otherwise use the frame aspect ratio. This way a container setting, which is
usually easy to modify can override the coded value in the frames.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agofate: separate sierra-vmd audio and video tests
Mans Rullgard [Fri, 11 May 2012 14:31:36 +0000 (15:31 +0100)]
fate: separate sierra-vmd audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: separate smacker audio and video tests
Mans Rullgard [Fri, 11 May 2012 14:22:55 +0000 (15:22 +0100)]
fate: separate smacker audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolibmp3lame: set supported channel layouts.
Anton Khirnov [Mon, 7 May 2012 19:40:20 +0000 (21:40 +0200)]
libmp3lame: set supported channel layouts.

7 years agoavconv: automatically insert asyncts when -async is used.
Anton Khirnov [Wed, 9 May 2012 04:39:37 +0000 (06:39 +0200)]
avconv: automatically insert asyncts when -async is used.

Deprecate -async.

7 years agoavconv: add support for audio filters.
Anton Khirnov [Sat, 5 May 2012 16:22:46 +0000 (18:22 +0200)]
avconv: add support for audio filters.

The FATE changes are all off-by-one due to different rounding being used
(lrintf vs av_rescale_q).

7 years agolavfi: add asyncts filter.
Anton Khirnov [Tue, 8 May 2012 14:33:50 +0000 (16:33 +0200)]
lavfi: add asyncts filter.

7 years agolavfi: add aformat filter
Anton Khirnov [Sun, 6 May 2012 07:00:53 +0000 (09:00 +0200)]
lavfi: add aformat filter

Based on a patch by Mina Nagy Zaki <mnzaki@gmail.com>

7 years agolavfi: add an audio buffer sink.
Anton Khirnov [Fri, 4 May 2012 17:22:38 +0000 (19:22 +0200)]
lavfi: add an audio buffer sink.

7 years agolavfi: add an audio buffer source.
Anton Khirnov [Fri, 4 May 2012 16:57:04 +0000 (18:57 +0200)]
lavfi: add an audio buffer source.

7 years agobuffersrc: add av_buffersrc_write_frame().
Anton Khirnov [Sat, 31 Dec 2011 15:40:43 +0000 (16:40 +0100)]
buffersrc: add av_buffersrc_write_frame().

It's the same as av_vsrc_buffer_add_frame(), except it doesn't take pts
or pixel_aspect parameters. Those are read from AVFrame.

Deprecate av_vsrc_buffer_add_frame().

7 years agobuffersrc: fix invalid read in uninit if the fifo hasn't been allocated
Anton Khirnov [Sun, 6 May 2012 05:14:01 +0000 (07:14 +0200)]
buffersrc: fix invalid read in uninit if the fifo hasn't been allocated

7 years agolavfi: rename vsrc_buffer.c to buffersrc.c
Anton Khirnov [Fri, 4 May 2012 13:38:56 +0000 (15:38 +0200)]
lavfi: rename vsrc_buffer.c to buffersrc.c

Most of the code will be shared for both audio and video version.

7 years agoavfiltergraph: reindent
Anton Khirnov [Mon, 7 May 2012 18:21:20 +0000 (20:21 +0200)]
avfiltergraph: reindent

7 years agolavfi: add channel layout/sample rate negotiation.
Anton Khirnov [Sun, 6 May 2012 05:00:22 +0000 (07:00 +0200)]
lavfi: add channel layout/sample rate negotiation.

7 years agolavfi: add types and functions for channel layout/samplerate negotiation
Anton Khirnov [Sun, 6 May 2012 04:59:06 +0000 (06:59 +0200)]
lavfi: add types and functions for channel layout/samplerate negotiation

7 years agoyadif: Flush filter on eof.
Robert Nagy [Mon, 14 May 2012 12:25:25 +0000 (14:25 +0200)]
yadif: Flush filter on eof.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoyadif: Improve pts accuracy.
Robert Nagy [Sat, 12 May 2012 17:40:41 +0000 (19:40 +0200)]
yadif: Improve pts accuracy.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
7 years agoffmpeg: accept + prefix to -pix_fmt option to disable automatic conversions.
Nicolas George [Fri, 27 Apr 2012 08:55:12 +0000 (10:55 +0200)]
ffmpeg: accept + prefix to -pix_fmt option to disable automatic conversions.

7 years agolavfi: add avfilter_graph_set_auto_convert().
Nicolas George [Fri, 27 Apr 2012 08:42:46 +0000 (10:42 +0200)]
lavfi: add avfilter_graph_set_auto_convert().

7 years agomtv: do not byteswap raw video in demuxer
Mans Rullgard [Mon, 14 May 2012 15:47:59 +0000 (16:47 +0100)]
mtv: do not byteswap raw video in demuxer

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 14 May 2012 18:12:47 +0000 (20:12 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (25 commits)
  vcr1: Add vcr1_ prefixes to all static functions with generic names.
  vcr1: Fix return type of common_init to match the function pointer signature.
  vcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.
  motion-test: remove disabled code
  gxfenc: remove disabled half-implemented MJPEG tag
  x86: use more standard construct for setting ASM functions in FFT code
  fate: westwood-aud: disable decoding
  fate: caf: disable decoding
  fate: film-cvid: drop pcm audio and rename test
  fate: d-cinema-demux: drop unnecessary flags
  fate: split off dpcm-interplay from interplay-mve tests
  fate: rename funcom-iss to adpcm-ima-iss
  fate: rename cryo-apc to adpcm-ima-apc
  fate: rename adpcm-psx-str-v3 to adpcm-xa
  fate: split off adpcm-ms-mono test from dxa-feeble
  fate: split off adpcm-ima-ws test from vqa-cc
  fate: add adpcm-ima-smjpeg test
  fate: split off adpcm-ima-amv from amv test
  fate: separate bmv audio and video tests
  fate: separate delphine-cin audio and video tests
  ...

Conflicts:
doc/platform.texi
libavcodec/vcr1.c
tests/fate/audio.mak
tests/fate/demux.mak
tests/fate/video.mak
tests/ref/fate/ea-mad-pcm-planar
tests/ref/fate/interplay-mve-16bit
tests/ref/fate/interplay-mve-8bit
tests/ref/fate/mtv
tests/ref/fate/qtrle-1bit
tests/ref/fate/qtrle-2bit
tests/ref/fate/truemotion1-15
tests/ref/fate/truemotion1-24
tests/ref/fate/vqa-cc

Merged-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoudp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.
Nicolas George [Tue, 8 May 2012 17:36:06 +0000 (19:36 +0200)]
udp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.

Some environments, for example Android, pretend to have pthreads
but actually have only a partial implementation.

7 years agoconfigure: check for pthread_cancel.
Nicolas George [Tue, 8 May 2012 17:02:33 +0000 (19:02 +0200)]
configure: check for pthread_cancel.

7 years agoffprobe: replace fast_asprintf() with bprint utils.
Clément Bœsch [Sun, 13 May 2012 09:38:43 +0000 (11:38 +0200)]
ffprobe: replace fast_asprintf() with bprint utils.

Also remove the unused print_fmt_opt() in the process.

7 years agolavu/bprint: add av_bprint_reset().
Clément Bœsch [Sun, 13 May 2012 09:38:19 +0000 (11:38 +0200)]
lavu/bprint: add av_bprint_reset().

7 years agolavfi: document filter design subtleties.
Nicolas George [Wed, 9 May 2012 18:27:00 +0000 (20:27 +0200)]
lavfi: document filter design subtleties.

The details on reference ownership and permissions are missing.

7 years agoavprobe: free options at the end of main()
Janne Grunau [Mon, 14 May 2012 10:39:41 +0000 (12:39 +0200)]
avprobe: free options at the end of main()

7 years agoavprobe: close opened codecs after use
Janne Grunau [Mon, 14 May 2012 10:23:10 +0000 (12:23 +0200)]
avprobe: close opened codecs after use

Fixes "memleak" on closing avprobe to make valgrind happy.

7 years agoupdate_initial_durations: use av_ts2str()
Michael Niedermayer [Mon, 14 May 2012 15:51:05 +0000 (17:51 +0200)]
update_initial_durations: use av_ts2str()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoupdate_initial_durations: add some checks to ensure things match up.
Michael Niedermayer [Mon, 14 May 2012 15:14:44 +0000 (17:14 +0200)]
update_initial_durations: add some checks to ensure things match up.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agovcr1: Add vcr1_ prefixes to all static functions with generic names.
Diego Biurrun [Mon, 14 May 2012 10:36:45 +0000 (12:36 +0200)]
vcr1: Add vcr1_ prefixes to all static functions with generic names.