]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoavuienc: Use field_order to determine if a stream is interlaced.
Carl Eugen Hoyos [Wed, 23 May 2012 14:36:53 +0000 (16:36 +0200)]
avuienc: Use field_order to determine if a stream is interlaced.

12 years agoFix compilation with --disable-everything --enable-demuxer=ogg (--disable-yasm).
Carl Eugen Hoyos [Wed, 23 May 2012 14:09:48 +0000 (16:09 +0200)]
Fix compilation with --disable-everything --enable-demuxer=ogg (--disable-yasm).

12 years agoFix compilation with --disable-everything --enable-demuxer=flac (--disable-yasm).
Carl Eugen Hoyos [Wed, 23 May 2012 14:04:22 +0000 (16:04 +0200)]
Fix compilation with --disable-everything --enable-demuxer=flac (--disable-yasm).

12 years agoaf_amerge: compute output timestamp.
Nicolas George [Wed, 23 May 2012 11:14:27 +0000 (13:14 +0200)]
af_amerge: compute output timestamp.

Use the timestamps from the first input.

12 years agoaf_amerge: set samples rate in query_formats.
Nicolas George [Wed, 23 May 2012 10:58:15 +0000 (12:58 +0200)]
af_amerge: set samples rate in query_formats.

12 years agoffv1: fix decoder state_transition table
Michael Niedermayer [Wed, 23 May 2012 10:04:10 +0000 (12:04 +0200)]
ffv1: fix decoder state_transition table

This fixes a regression with ffv1.1 coder=1 decoding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodwt: use av_freep()
Michael Niedermayer [Tue, 22 May 2012 21:58:46 +0000 (23:58 +0200)]
dwt: use av_freep()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 22 May 2012 21:40:58 +0000 (23:40 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dwt: check malloc calls
  ppc: Drop unused header regs.h
  af_resample: remove an extra space in the log output
  Convert vector_fmul range of functions to YASM and add AVX versions
  lavfi: add an audio split filter
  lavfi: rename vf_split.c to split.c

Conflicts:
doc/filters.texi
libavcodec/ppc/regs.h
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/f_split.c
libavfilter/split.c
libavfilter/version.h
libavfilter/vf_split.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswr: check return value of swr_inject_silence/drop_output.
Michael Niedermayer [Tue, 22 May 2012 16:54:38 +0000 (18:54 +0200)]
swr: check return value of swr_inject_silence/drop_output.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibvorbis: only store version string if bitexact is not set.
Michael Niedermayer [Tue, 22 May 2012 15:18:39 +0000 (17:18 +0200)]
libvorbis: only store version string if bitexact is not set.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswr: check count argument of realloc_audio()
Michael Niedermayer [Tue, 22 May 2012 15:15:07 +0000 (17:15 +0200)]
swr: check count argument of realloc_audio()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAdd Avid Meridien Uncompressed (AVUI) encoder.
Carl Eugen Hoyos [Tue, 22 May 2012 18:33:24 +0000 (20:33 +0200)]
Add Avid Meridien Uncompressed (AVUI) encoder.

12 years agomxfdec: fix frame height computation for mixed fields layout
Matthieu Bouron [Mon, 21 May 2012 11:05:01 +0000 (13:05 +0200)]
mxfdec: fix frame height computation for mixed fields layout

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_yadif: Fixed potential access violation on EOF.
Robert Nagy [Mon, 21 May 2012 22:14:48 +0000 (00:14 +0200)]
vf_yadif: Fixed potential access violation on EOF.

The correct invariant is (cur != NULL -> next != NULL). Not the other way around.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agorawdec: force timestamps from codec to be used
Michael Niedermayer [Mon, 21 May 2012 12:33:09 +0000 (14:33 +0200)]
rawdec: force timestamps from codec to be used

This fixes playback timing with at least m4v files

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg4videoparser: support using timestamps from codec.
Michael Niedermayer [Mon, 21 May 2012 12:36:21 +0000 (14:36 +0200)]
mpeg4videoparser: support using timestamps from codec.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavformat: add needs_parsing type to enable codec TS use.
Michael Niedermayer [Mon, 21 May 2012 12:32:24 +0000 (14:32 +0200)]
avformat: add needs_parsing type to enable codec TS use.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavcodec: add parser flag to indicate that codec TS are the only available and should...
Michael Niedermayer [Mon, 21 May 2012 12:31:20 +0000 (14:31 +0200)]
avcodec: add parser flag to indicate that codec TS are the only available and should be used

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoshorten: fix lossy decoding
Paul B Mahol [Tue, 22 May 2012 11:56:18 +0000 (11:56 +0000)]
shorten: fix lossy decoding

Closes #1299, #1300 and #1301.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years agodwt: check malloc calls
Jordi Ortiz [Tue, 22 May 2012 11:18:17 +0000 (13:18 +0200)]
dwt: check malloc calls

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoppc: Drop unused header regs.h
Diego Biurrun [Mon, 21 May 2012 06:47:11 +0000 (08:47 +0200)]
ppc: Drop unused header regs.h

12 years agodoc: add syntax.texi file
Stefano Sabatini [Thu, 3 May 2012 13:14:14 +0000 (15:14 +0200)]
doc: add syntax.texi file

12 years agoaf_resample: remove an extra space in the log output
Justin Ruggles [Mon, 21 May 2012 18:59:56 +0000 (14:59 -0400)]
af_resample: remove an extra space in the log output

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 21 May 2012 21:53:39 +0000 (23:53 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dwt: K&R prettyprinting cosmetics
  Remove libnut wrapper
  fate: change name of FATE samples location environment variable
  avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
  http: Factorize the code by adding http_read_header()

Conflicts:
configure
doc/APIchanges
doc/fate.texi
libavcodec/dwt.c
libavcodec/dwt.h
libavformat/Makefile
libavformat/avformat.h
libavformat/libnut.c
libavformat/matroskaenc.c
libavformat/utils.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoConvert vector_fmul range of functions to YASM and add AVX versions
Kieran Kunhya [Fri, 20 Apr 2012 19:49:30 +0000 (14:49 -0500)]
Convert vector_fmul range of functions to YASM and add AVX versions

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoflvdec: reenable extradata passing code
Michael Niedermayer [Mon, 21 May 2012 18:21:55 +0000 (20:21 +0200)]
flvdec: reenable extradata passing code

This fixes passing junk in stream.
It should not have any user vissible effect.
We are discarding the new data in the decoder as no case is known
where it is needed but it causes problems if used.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi: add an audio split filter
Justin Ruggles [Mon, 21 May 2012 18:03:42 +0000 (14:03 -0400)]
lavfi: add an audio split filter

Based on current version of the asplit filter in FFmpeg written by
Stefano Sabatini and others.

12 years agolavfi: rename vf_split.c to split.c
Justin Ruggles [Mon, 21 May 2012 18:00:47 +0000 (14:00 -0400)]
lavfi: rename vf_split.c to split.c

This is in preparation for adding an audio split filter.

12 years agoaac: fix SCE in stereo case, this is surprisingly actually needed
Michael Niedermayer [Mon, 21 May 2012 13:38:41 +0000 (15:38 +0200)]
aac: fix SCE in stereo case, this is surprisingly actually needed

Fixes Ticket513

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoaacdec: print debug note when unexpected SCE/CPE is encountered
Michael Niedermayer [Mon, 21 May 2012 15:55:11 +0000 (17:55 +0200)]
aacdec: print debug note when unexpected SCE/CPE is encountered

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibavcodec: fix side data split with 0 sized packets
Michael Niedermayer [Mon, 21 May 2012 18:16:35 +0000 (20:16 +0200)]
libavcodec: fix side data split with 0 sized packets

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibavcodec: correct consumed bytes for decoders
Michael Niedermayer [Mon, 21 May 2012 18:12:46 +0000 (20:12 +0200)]
libavcodec: correct consumed bytes for decoders

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg4videodec: print more debug info for debug_pict_info
Michael Niedermayer [Mon, 21 May 2012 12:34:35 +0000 (14:34 +0200)]
mpeg4videodec: print more debug info for debug_pict_info

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoivi_common: skip null frames for all indeo variants
Michael Niedermayer [Sun, 20 May 2012 21:01:22 +0000 (23:01 +0200)]
ivi_common: skip null frames for all indeo variants

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodwt: K&R prettyprinting cosmetics
Jordi Ortiz [Sat, 19 May 2012 11:06:50 +0000 (13:06 +0200)]
dwt: K&R prettyprinting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1
Stefano Sabatini [Sun, 20 May 2012 13:20:47 +0000 (15:20 +0200)]
ffprobe: remove ad-hoc behavior when nb_fmt_entries_to_show is 1

The special-case behavior may complicate parsing when the
-show_format_entry option is used programmatically in a script.

The option default=nk=1 achieves the same purpose, if the objective is to
skip printing the single field key.

12 years agodoc/ffprobe: document that ffprobe.xsd can be retrieved at a certain ffmpeg.org url
Stefano Sabatini [Sun, 20 May 2012 13:16:20 +0000 (15:16 +0200)]
doc/ffprobe: document that ffprobe.xsd can be retrieved at a certain ffmpeg.org url

Address trac ticket #1265.

12 years agoRemove libnut wrapper
Diego Biurrun [Sun, 20 May 2012 21:46:40 +0000 (23:46 +0200)]
Remove libnut wrapper

libnut is unmaintained and known to be buggy; native NUT code exists.

12 years agofate: change name of FATE samples location environment variable
Diego Biurrun [Sun, 20 May 2012 14:10:42 +0000 (16:10 +0200)]
fate: change name of FATE samples location environment variable

FATE_SAMPLES is now used directly by the Makefiles, which induces the test
system to run a test with the value of the environment variable as name.
Renaming the environment variable to LIBAV_SAMPLES avoids this problem.

12 years agoavformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.
James Zern [Thu, 26 May 2011 18:19:04 +0000 (20:19 +0200)]
avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps.

Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 20 May 2012 20:41:58 +0000 (22:41 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  indeo: Make ivi_calc_band_checksum() static, it is only used in one file.
  indeo: Drop unused debug function ivi_check_band().
  avcodec/utils: cast a function argument to shut up a compiler warning
  truemotion1: remove disabled code
  fix typo in comment
  fate: fix dependencies for non-SAMPLES avconv tests
  indeo: check for invalid motion vectors
  indeo: check that band output buffer exists
  indeo: clear allocated band buffers
  indeo: track tile macroblock size
  indeo: check custom Huffman tables for errors
  factor out common decoding code for Indeo 4 and Indeo 5
  mp3: fix start band index for block type 2 in 8kHz audio
  lavf: change some (de)muxer names to lowercase
  lavf: make output format matching case insensitive

Conflicts:
libavcodec/indeo4.c
libavcodec/indeo5.c
libavcodec/ivi_common.c
libavcodec/utils.c
tests/fate/video.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: fix a crash with complex filters when pix_fmt is not specified
Matthieu Bouron [Fri, 4 May 2012 13:40:34 +0000 (15:40 +0200)]
ffmpeg: fix a crash with complex filters when pix_fmt is not specified

ffmpeg -i in.mxf -filter_complex "[0:0]fieldorder=tff" out.wav will
fail with an error message instead of crashing.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: drop get_sync_ipts() and drop related special case for video
Michael Niedermayer [Sun, 20 May 2012 12:12:48 +0000 (14:12 +0200)]
ffmpeg: drop get_sync_ipts() and drop related special case for video

Idea found in a commit from Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: also use codec aspect ratio in av_guess_sample_aspect_ratio
Marton Balint [Sun, 20 May 2012 13:53:02 +0000 (15:53 +0200)]
lavf: also use codec aspect ratio in av_guess_sample_aspect_ratio

Use codec aspect ratio for frame aspect ratio if AVFrame is NULL.

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agohttp: Factorize the code by adding http_read_header()
Samuel Pitoiset [Sun, 20 May 2012 14:20:56 +0000 (16:20 +0200)]
http: Factorize the code by adding http_read_header()

This function is used for reading http reply headers.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agovsrc_mandelbrot: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:41:14 +0000 (14:41 +0200)]
vsrc_mandelbrot: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agovsrc_life: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:39:35 +0000 (14:39 +0200)]
vsrc_life: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agovsrc_cellauto: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:37:19 +0000 (14:37 +0200)]
vsrc_cellauto: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agovf_ass: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:32:03 +0000 (14:32 +0200)]
vf_ass: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agox11grab: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:18:15 +0000 (14:18 +0200)]
x11grab: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agov4l2: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:11:03 +0000 (14:11 +0200)]
v4l2: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agosdl: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 12:09:10 +0000 (14:09 +0200)]
sdl: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agobktr: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 11:57:03 +0000 (13:57 +0200)]
bktr: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agovsrc_testsrc: use AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 11:53:50 +0000 (13:53 +0200)]
vsrc_testsrc: use AV_OPT_TYPE_IMAGE_SIZE.

12 years agoopt: add AV_OPT_TYPE_IMAGE_SIZE.
Nicolas George [Sun, 20 May 2012 11:53:19 +0000 (13:53 +0200)]
opt: add AV_OPT_TYPE_IMAGE_SIZE.

12 years agoexr: fix header parsing
Jean First [Tue, 15 May 2012 14:34:58 +0000 (16:34 +0200)]
exr: fix header parsing

the header in the sample provided for ticket #1306 is not parsed correctly and thus
ffmpeg tries to decode the sample instead of abording the decoding.

I tested it with two other exr samples I have - one float, one half float - and
they still decode correctly.

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovf_scale: support dynamically changing input parameters.
Michael Niedermayer [Tue, 15 May 2012 14:01:54 +0000 (16:01 +0200)]
vf_scale: support dynamically changing input parameters.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffplay: Use input picture parameters in input_request_frame().
Michael Niedermayer [Tue, 15 May 2012 14:02:49 +0000 (16:02 +0200)]
ffplay: Use input picture parameters in input_request_frame().

Fixes Ticket122

Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoid3v2: reject APICs with size of 0
Piotr Bandurski [Sat, 19 May 2012 18:58:17 +0000 (20:58 +0200)]
id3v2: reject APICs with size of 0

fixes ticket #1324

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoflicvideo: support 256-bytes extradata
Piotr Bandurski [Sat, 19 May 2012 00:09:18 +0000 (02:09 +0200)]
flicvideo: support 256-bytes extradata

sample:

http://www.datafilehost.com/download-ab1156a9.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoaasc: support 16bpp
Piotr Bandurski [Sat, 19 May 2012 00:07:45 +0000 (02:07 +0200)]
aasc: support 16bpp

sample:

http://www.datafilehost.com/download-b881f3f6.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: move setting big_picture.pts up
Michael Niedermayer [Sun, 20 May 2012 12:11:48 +0000 (14:11 +0200)]
ffmpeg: move setting big_picture.pts up

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavu/tree: perform minor fixes to av_tree_insert() documentation
Stefano Sabatini [Fri, 18 Feb 2011 21:49:40 +0000 (22:49 +0100)]
lavu/tree: perform minor fixes to av_tree_insert() documentation

12 years agoindeo: Make ivi_calc_band_checksum() static, it is only used in one file.
Diego Biurrun [Sun, 20 May 2012 13:59:30 +0000 (15:59 +0200)]
indeo: Make ivi_calc_band_checksum() static, it is only used in one file.

12 years agoindeo: Drop unused debug function ivi_check_band().
Diego Biurrun [Sat, 19 May 2012 14:41:42 +0000 (16:41 +0200)]
indeo: Drop unused debug function ivi_check_band().

12 years agobuffersrc: cosmetic: reindent.
Nicolas George [Sun, 20 May 2012 13:41:58 +0000 (15:41 +0200)]
buffersrc: cosmetic: reindent.

12 years agoavcodec/utils: cast a function argument to shut up a compiler warning
Diego Biurrun [Wed, 11 Apr 2012 13:00:37 +0000 (15:00 +0200)]
avcodec/utils: cast a function argument to shut up a compiler warning

libavcodec/utils.c:251: note: expected ‘const uint8_t *’ but argument is of type ‘const short int *’

12 years agotruemotion1: remove disabled code
Diego Biurrun [Fri, 29 Jul 2011 10:48:45 +0000 (12:48 +0200)]
truemotion1: remove disabled code

12 years agofix typo in comment
Kostya Shishkov [Sun, 20 May 2012 11:55:33 +0000 (13:55 +0200)]
fix typo in comment

12 years agofate: fix dependencies for non-SAMPLES avconv tests
Mans Rullgard [Sat, 19 May 2012 21:56:01 +0000 (22:56 +0100)]
fate: fix dependencies for non-SAMPLES avconv tests

The encode/decode tests should all depend on avconv.  Since
avconv requires libavfilter, there is no need to enable those
tests selectively.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agocmdutils: allow to specify a stream by its ID.
Nicolas George [Sun, 20 May 2012 10:30:16 +0000 (12:30 +0200)]
cmdutils: allow to specify a stream by its ID.

The stream can be specified as "#129" or "#0x81".
It is especially useful for VOBs dumped from a DVD,
where the language-id mapping is available externally
and the probing can find the streams in a random order.

12 years agoffmpeg: change AVFMT_RAWPICTURE pts to reduce diff to qatar
Michael Niedermayer [Sun, 20 May 2012 10:29:33 +0000 (12:29 +0200)]
ffmpeg: change AVFMT_RAWPICTURE pts to reduce diff to qatar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: random cosmectics to reduce diff to qatar
Michael Niedermayer [Sun, 20 May 2012 10:24:49 +0000 (12:24 +0200)]
ffmpeg: random cosmectics to reduce diff to qatar

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: cosmetics to reduce difference to qatar by 101 lines
Michael Niedermayer [Sun, 20 May 2012 10:06:56 +0000 (12:06 +0200)]
ffmpeg: cosmetics to reduce difference to qatar by 101 lines

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: cosmetics to reduce difference to qatar by about 90 lines
Michael Niedermayer [Sun, 20 May 2012 10:04:09 +0000 (12:04 +0200)]
ffmpeg: cosmetics to reduce difference to qatar by about 90 lines

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: move ost->frame_rate setting code before the filtergraph stuff
Michael Niedermayer [Sun, 20 May 2012 09:55:25 +0000 (11:55 +0200)]
ffmpeg: move ost->frame_rate setting code before the filtergraph stuff

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: drop pkt_pts
Michael Niedermayer [Sun, 20 May 2012 09:27:57 +0000 (11:27 +0200)]
ffmpeg: drop pkt_pts

Reduces diff to qatar by 9 lines
Should not change anything

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: set the video filters timebase to the demuxers.
Michael Niedermayer [Sun, 20 May 2012 08:57:23 +0000 (10:57 +0200)]
ffmpeg: set the video filters timebase to the demuxers.

Inspired-by a change from Anton Khirnov
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: reintroducing check_recording_time()
Michael Niedermayer [Sun, 20 May 2012 08:28:41 +0000 (10:28 +0200)]
ffmpeg: reintroducing check_recording_time()

This reduces the difference to qatar by 27 lines
No functional change, the code should be unused

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: fix uninitialized variable warning
Michael Niedermayer [Sun, 20 May 2012 09:30:51 +0000 (11:30 +0200)]
ffmpeg: fix uninitialized variable warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoindeo: check for invalid motion vectors
Kostya Shishkov [Sat, 19 May 2012 14:07:42 +0000 (16:07 +0200)]
indeo: check for invalid motion vectors

12 years agoindeo: check that band output buffer exists
Kostya Shishkov [Sat, 19 May 2012 11:45:00 +0000 (13:45 +0200)]
indeo: check that band output buffer exists

12 years agoindeo: clear allocated band buffers
Kostya Shishkov [Sat, 19 May 2012 11:39:15 +0000 (13:39 +0200)]
indeo: clear allocated band buffers

12 years agoindeo: track tile macroblock size
Kostya Shishkov [Sat, 19 May 2012 11:08:51 +0000 (13:08 +0200)]
indeo: track tile macroblock size

12 years agoindeo: check custom Huffman tables for errors
Kostya Shishkov [Sat, 19 May 2012 10:39:49 +0000 (12:39 +0200)]
indeo: check custom Huffman tables for errors

12 years agofactor out common decoding code for Indeo 4 and Indeo 5
Kostya Shishkov [Sat, 19 May 2012 10:23:23 +0000 (12:23 +0200)]
factor out common decoding code for Indeo 4 and Indeo 5

12 years agomp3: fix start band index for block type 2 in 8kHz audio
Kostya Shishkov [Wed, 16 May 2012 16:39:40 +0000 (18:39 +0200)]
mp3: fix start band index for block type 2 in 8kHz audio

In hybrid frames long window part ends at 36 samples for most of the cases
but at 72 for 8kHz case. For some reason decoder assumed it's 48 or even 36
samples, which caused wrong bitstream decoding for such blocks.

l3_25207.mpg from conformance suite demonstrates it the best.

12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 19 May 2012 22:25:36 +0000 (00:25 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: fix dependencies on SAMPLES being set
  fate: remove unnecessary libavfilter dependency

Conflicts:
ffmpeg.c
tests/Makefile
tests/fate/aac.mak
tests/fate/audio.mak
tests/fate/demux.mak
tests/fate/ea.mak
tests/fate/image.mak
tests/fate/lossless-audio.mak
tests/fate/lossless-video.mak
tests/fate/microsoft.mak
tests/fate/mpc.mak
tests/fate/probe.mak
tests/fate/qt.mak
tests/fate/real.mak
tests/fate/screen.mak
tests/fate/video.mak
tests/fate/voice.mak
tests/fate/vqf.mak
tests/ref/fate/idroq-video-encode
tests/ref/fate/vc1-ism

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswr: skip soft compensation when its disabled.
Michael Niedermayer [Sat, 19 May 2012 20:42:32 +0000 (22:42 +0200)]
swr: skip soft compensation when its disabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegaudidec: 10l forgot buf_size
Michael Niedermayer [Sat, 19 May 2012 20:22:45 +0000 (22:22 +0200)]
mpegaudidec: 10l forgot buf_size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegaudiodec: skip initial zeros.
Michael Niedermayer [Sat, 19 May 2012 20:15:21 +0000 (22:15 +0200)]
mpegaudiodec: skip initial zeros.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: change some (de)muxer names to lowercase
Mans Rullgard [Sat, 19 May 2012 16:13:17 +0000 (17:13 +0100)]
lavf: change some (de)muxer names to lowercase

This is consistent with other format names.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agolavf: make output format matching case insensitive
Mans Rullgard [Sat, 19 May 2012 17:44:16 +0000 (18:44 +0100)]
lavf: make output format matching case insensitive

This is consistent with how input formats are matched.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agoMerge commit '755cd4197d53946208e042f095b930dca18d9430'
Michael Niedermayer [Sat, 19 May 2012 18:31:24 +0000 (20:31 +0200)]
Merge commit '755cd4197d53946208e042f095b930dca18d9430'

* commit '755cd4197d53946208e042f095b930dca18d9430':
  mov: enable parsing for VC-1.
  lavfi: Add fps filter.
  lavfi: initialize pts to AV_NOPTS_VALUE when creating new buffer refs.
  avconv: add support for audio in complex filtergraphs.

Conflicts:
ffmpeg.c
libavfilter/version.h
libavformat/mov.c
tests/ref/fate/vc1-ism

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoUse a variable instead of a repeated calculation when decoding AVUI.
Carl Eugen Hoyos [Sat, 19 May 2012 18:05:21 +0000 (20:05 +0200)]
Use a variable instead of a repeated calculation when decoding AVUI.

12 years agoavuidec.c: Fix indentation.
Carl Eugen Hoyos [Sat, 19 May 2012 17:28:27 +0000 (19:28 +0200)]
avuidec.c: Fix indentation.

12 years agoSimplify AVUI decoding, one skip value is enough.
Carl Eugen Hoyos [Sat, 19 May 2012 17:27:14 +0000 (19:27 +0200)]
Simplify AVUI decoding, one skip value is enough.

12 years agoFix interlaced AVUI decoding.
Carl Eugen Hoyos [Sat, 19 May 2012 17:20:22 +0000 (19:20 +0200)]
Fix interlaced AVUI decoding.

12 years agoffmpeg: inject a aresample filter for -async
Michael Niedermayer [Sat, 19 May 2012 16:50:10 +0000 (18:50 +0200)]
ffmpeg: inject a aresample filter for -async

Based on similar code from anton

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoaf_aresample: use new swr API to pass and compensate PTS
Michael Niedermayer [Sat, 19 May 2012 16:48:53 +0000 (18:48 +0200)]
af_aresample: use new swr API to pass and compensate PTS

This code is not only much more powerfull its also simpler

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