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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

7 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

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

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

7 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

7 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

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

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

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

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

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

7 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>
7 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>
7 years agoaf_aresample: allocate a larger buffer so accumulated data can be returned quicker
Michael Niedermayer [Sat, 19 May 2012 16:48:05 +0000 (18:48 +0200)]
af_aresample: allocate a larger buffer so accumulated data can be returned quicker

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoaf_aresample: use extended_data
Michael Niedermayer [Sat, 19 May 2012 16:46:25 +0000 (18:46 +0200)]
af_aresample: use extended_data

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: add swr_next_pts()
Michael Niedermayer [Sat, 19 May 2012 16:44:34 +0000 (18:44 +0200)]
swr: add swr_next_pts()

parameter descriptions partly reuse text from af_asyncts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: add swr_drop_output()
Michael Niedermayer [Sat, 19 May 2012 16:42:11 +0000 (18:42 +0200)]
swr: add swr_drop_output()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: add swr_inject_silence()
Michael Niedermayer [Sat, 19 May 2012 16:39:12 +0000 (18:39 +0200)]
swr: add swr_inject_silence()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: Fix issue with injecting more data than can be used up in the next call.
Michael Niedermayer [Sat, 19 May 2012 16:37:12 +0000 (18:37 +0200)]
swr: Fix issue with injecting more data than can be used up in the next call.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: add some asserts to resample()
Michael Niedermayer [Sat, 19 May 2012 15:47:06 +0000 (17:47 +0200)]
swr: add some asserts to resample()

These check that the internal and input buffers match in format

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: add reversefill_audiodata()
Michael Niedermayer [Sat, 19 May 2012 15:46:41 +0000 (17:46 +0200)]
swr: add reversefill_audiodata()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: fix buf_set() so it works with input == output
Michael Niedermayer [Sat, 19 May 2012 15:45:41 +0000 (17:45 +0200)]
swr: fix buf_set() so it works with input == output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: make literal 32 a named constant in realloc_audio()
Michael Niedermayer [Sat, 19 May 2012 15:45:12 +0000 (17:45 +0200)]
swr: make literal 32 a named constant in realloc_audio()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agoswr: fill_audio_data() support NULL
Michael Niedermayer [Sat, 19 May 2012 15:44:40 +0000 (17:44 +0200)]
swr: fill_audio_data() support NULL

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
7 years agof_split: fix output type.
Nicolas George [Sat, 19 May 2012 16:12:09 +0000 (18:12 +0200)]
f_split: fix output type.

The previous version checked the filter context name,
instead of checking the filter name.
The new version just uses the same type as the input.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
7 years agoavfilter: make AVFilterFormats compatible with libav.
Nicolas George [Fri, 18 May 2012 10:43:31 +0000 (12:43 +0200)]
avfilter: make AVFilterFormats compatible with libav.

The list goes back to being simple integers,
and avfilter_make_format64_list is fixed to work
with the correct structure directly.

7 years agofate: fix dependencies on SAMPLES being set
Mans Rullgard [Sat, 19 May 2012 12:19:19 +0000 (13:19 +0100)]
fate: fix dependencies on SAMPLES being set

This allows fate to run without errors with or without SAMPLES
being set.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agofate: remove unnecessary libavfilter dependency
Mans Rullgard [Fri, 18 May 2012 16:08:13 +0000 (17:08 +0100)]
fate: remove unnecessary libavfilter dependency

avconv now requires libavfilter so this dependency is redundant.

Signed-off-by: Mans Rullgard <mans@mansr.com>
7 years agolavfi: rename vf_split.c -> f_split.c
Stefano Sabatini [Fri, 18 May 2012 17:41:44 +0000 (19:41 +0200)]
lavfi: rename vf_split.c -> f_split.c

The file now contains both an audio and a video split filter.

7 years agolavfi/asplit: move asplit code to vf_split.c, and make it support N outputs
Stefano Sabatini [Fri, 18 May 2012 17:38:38 +0000 (19:38 +0200)]
lavfi/asplit: move asplit code to vf_split.c, and make it support N outputs

The move allows to share the init code already used by split.

7 years agolavf/id3v2: always strdup the value.
Clément Bœsch [Sat, 12 May 2012 20:39:30 +0000 (22:39 +0200)]
lavf/id3v2: always strdup the value.

This simplifies the code but also fix a warning: ff_id3v1_genre_str
array contains const strings so do the string dup now instead of in
av_dict_set().

7 years agolavf/id3v2: do not export empty fields.
Clément Bœsch [Sat, 12 May 2012 20:31:11 +0000 (22:31 +0200)]
lavf/id3v2: do not export empty fields.

This also avoids a memleak.

7 years agodoc/examples: make use of the parameter filters_descr parameter in init_filters().
Clément Bœsch [Fri, 18 May 2012 22:08:26 +0000 (00:08 +0200)]
doc/examples: make use of the parameter filters_descr parameter in init_filters().

7 years agodoc/examples: install them with the shared data.
Clément Bœsch [Wed, 9 May 2012 21:57:40 +0000 (23:57 +0200)]
doc/examples: install them with the shared data.

7 years agodoc/examples: fix pts heuristic in filtering_video.
Clément Bœsch [Sat, 12 May 2012 21:13:19 +0000 (23:13 +0200)]
doc/examples: fix pts heuristic in filtering_video.

Note: the condition looked wrong in the first place ("if DTS is not
defined, then set PTS to that undefined value [...]").

7 years agolavfi/buffersink: typo fix in a comment.
Clément Bœsch [Sat, 12 May 2012 20:44:59 +0000 (22:44 +0200)]
lavfi/buffersink: typo fix in a comment.

7 years agodoc/examples: properly close input in metadata.
Clément Bœsch [Sat, 12 May 2012 20:33:39 +0000 (22:33 +0200)]
doc/examples: properly close input in metadata.

Avoid some memleaks.

7 years agodoc/examples: print operation filename in decoding_encoding.
Clément Bœsch [Sat, 12 May 2012 17:56:58 +0000 (19:56 +0200)]
doc/examples: print operation filename in decoding_encoding.

7 years agodoc/examples: add debug compilation flag.
Clément Bœsch [Sat, 12 May 2012 16:06:26 +0000 (18:06 +0200)]
doc/examples: add debug compilation flag.

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

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

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

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

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

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

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

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

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