ffmpeg.git
8 years agoffplay: reset AVFrame to defaults before decoding each new frame.
Michael Niedermayer [Fri, 8 Jun 2012 12:41:24 +0000 (14:41 +0200)]
ffplay: reset AVFrame to defaults before decoding each new frame.

This fixes: ffplay -f lavfi -i cellauto
This was a regression since factorizing the filter code with ffmpeg.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: check return code of avcodec_decode_video2()
Michael Niedermayer [Fri, 8 Jun 2012 12:41:23 +0000 (14:41 +0200)]
ffplay: check return code of avcodec_decode_video2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agorv10: change assert() to av_assert()
Michael Niedermayer [Fri, 8 Jun 2012 16:24:47 +0000 (18:24 +0200)]
rv10: change assert() to av_assert()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg.c: fix erroneous "Output file is empty" message.
Mike Scheutzow [Fri, 8 Jun 2012 14:24:09 +0000 (10:24 -0400)]
ffmpeg.c: fix erroneous "Output file is empty" message.

This message is printed whenever the RAWVIDEO codec is used, whether the
output file contains any frames or not. Test command:
./ffmpeg -i infile.y4m outfile.y4m

Signed-off-by: Mike Scheutzow <mjs973@optonline.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "Fix building libopencore_amrnb decoder without libopencore_amrnb encoder"
Paul B Mahol [Fri, 8 Jun 2012 13:52:21 +0000 (13:52 +0000)]
Revert "Fix building libopencore_amrnb decoder without libopencore_amrnb encoder"

Reverting "Fix" because it disables amrwb decoder.

This reverts commit e11020a1459de122834055be93a70566ce064bcc.

8 years agoAdd iac build dependency.
Carl Eugen Hoyos [Fri, 8 Jun 2012 13:21:49 +0000 (15:21 +0200)]
Add iac build dependency.

Found and analysed by trac user Jamal.

Fixes the remaining part of ticket #1428.

8 years agoFix dirac decoder build dependencies.
Carl Eugen Hoyos [Fri, 8 Jun 2012 13:07:09 +0000 (15:07 +0200)]
Fix dirac decoder build dependencies.

Found, analysed and tested by trac user Jamal.

Fixes part of ticket #1428.

8 years agoFix latm muxer Makefile dependencies.
Carl Eugen Hoyos [Fri, 8 Jun 2012 13:03:52 +0000 (15:03 +0200)]
Fix latm muxer Makefile dependencies.

Found, analysed and tested by trac user Jamal.

Fixes part of ticket #1428.

8 years agoFix jacosub muxer Makefile dependencies.
Carl Eugen Hoyos [Fri, 8 Jun 2012 13:02:46 +0000 (15:02 +0200)]
Fix jacosub muxer Makefile dependencies.

Found, analysed and tested by trac user Jamal.

Fixes part of ticket #1428.

8 years agoFix amv encoder dependencies.
Carl Eugen Hoyos [Fri, 8 Jun 2012 12:57:20 +0000 (14:57 +0200)]
Fix amv encoder dependencies.

Found, analysed and tested by trac user Jamal.

Fixes part of ticket #1428.

8 years agoFix building libopencore_amrnb decoder without libopencore_amrnb encoder
Paul B Mahol [Fri, 8 Jun 2012 12:58:35 +0000 (12:58 +0000)]
Fix building libopencore_amrnb decoder without libopencore_amrnb encoder

Fixes #1210.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agopixdesc: BGRA64 is rgb pixel format
Paul B Mahol [Wed, 6 Jun 2012 13:56:46 +0000 (13:56 +0000)]
pixdesc: BGRA64 is rgb pixel format

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofate-bprint: try to workaround platform specific value.
Michael Niedermayer [Fri, 8 Jun 2012 10:14:36 +0000 (12:14 +0200)]
fate-bprint: try to workaround platform specific value.

this should fix some fate failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoRevert "sinewin_tablegen: use av_assert"
Michael Niedermayer [Fri, 8 Jun 2012 09:44:50 +0000 (11:44 +0200)]
Revert "sinewin_tablegen: use av_assert"

using as_assert() in the table generator would make the generators
have to be linked to libavutil.

This reverts commit c3b6efa4cb25400d7ff8853ee6ebd95c29b744a6.

8 years agompegtsenc: make pts/dts offseting optional
Michael Niedermayer [Fri, 8 Jun 2012 01:30:47 +0000 (03:30 +0200)]
mpegtsenc: make pts/dts offseting optional

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agocmdutils: include threading caps in codecs listing.
Nicolas George [Wed, 30 May 2012 19:32:32 +0000 (21:32 +0200)]
cmdutils: include threading caps in codecs listing.

Suggested by Roger Pack on ffmpeg-user.

8 years agoamerge: accept multiple inputs.
Nicolas George [Sun, 3 Jun 2012 19:32:22 +0000 (21:32 +0200)]
amerge: accept multiple inputs.

8 years agoaf_amerge: move nb_in_ch into the in structure.
Nicolas George [Thu, 31 May 2012 21:55:33 +0000 (23:55 +0200)]
af_amerge: move nb_in_ch into the in structure.

With that change, there is only one array for the inputs,
it will make easier to implement a variable number of inputs.

8 years agoaudioconvert: implement av_bprint_channel_layout().
Nicolas George [Sun, 3 Jun 2012 19:09:16 +0000 (21:09 +0200)]
audioconvert: implement av_bprint_channel_layout().

And reimplement av_get_channel_layout_string() on top of it.

8 years agofate: add bprint test.
Nicolas George [Sun, 3 Jun 2012 17:00:22 +0000 (19:00 +0200)]
fate: add bprint test.

8 years agobprint: add av_bprint_init_for_buffer().
Nicolas George [Sun, 3 Jun 2012 17:48:33 +0000 (19:48 +0200)]
bprint: add av_bprint_init_for_buffer().

8 years agoopt: add test for IMAGE_SIZE and PIXEL_FMT.
Nicolas George [Tue, 5 Jun 2012 12:40:43 +0000 (14:40 +0200)]
opt: add test for IMAGE_SIZE and PIXEL_FMT.

8 years agoopt: free test_ctx.string at the end.
Nicolas George [Tue, 5 Jun 2012 12:32:51 +0000 (14:32 +0200)]
opt: free test_ctx.string at the end.

Makes valgrind happy.

8 years agoopt: init test_ctx to 0.
Nicolas George [Tue, 5 Jun 2012 12:31:29 +0000 (14:31 +0200)]
opt: init test_ctx to 0.

Otherwise, setting string will try to free a random address.

8 years agoopt: add AV_OPT_TYPE_PIXEL_FMT.
Nicolas George [Tue, 5 Jun 2012 10:32:19 +0000 (12:32 +0200)]
opt: add AV_OPT_TYPE_PIXEL_FMT.

8 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Thu, 7 Jun 2012 19:55:30 +0000 (21:55 +0200)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix build if avfilter is disabled
  ffplay: fix frame_delay calculation in new avfilter code
  ffplay: add support for changing pixel format
  ffplay: add missing filt_in assignment after video filter reconfigure
  ffplay: fix frame aspect ratio after qatar merge
  ffplay: fix use after free
  ffplay: use dummy video driver if display is disabled

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 7 Jun 2012 19:45:52 +0000 (21:45 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegts: Remove disabled extension matching probe.
  fate: avoid freopen(NULL) in videogen/rotozoom

Conflicts:
tests/rotozoom.c
tests/videogen.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh261enc: use av_assert
Michael Niedermayer [Thu, 7 Jun 2012 19:32:32 +0000 (21:32 +0200)]
h261enc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh261dec: use av_assert
Michael Niedermayer [Thu, 7 Jun 2012 19:31:22 +0000 (21:31 +0200)]
h261dec: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswfenc: use av_assert
Michael Niedermayer [Thu, 7 Jun 2012 19:30:07 +0000 (21:30 +0200)]
swfenc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: Remove disabled extension matching probe.
Alex Converse [Tue, 5 Jun 2012 18:16:06 +0000 (11:16 -0700)]
mpegts: Remove disabled extension matching probe.

8 years agoxmv: use av_assert
Michael Niedermayer [Thu, 7 Jun 2012 19:09:06 +0000 (21:09 +0200)]
xmv: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264_mvpred: use av_assert
Michael Niedermayer [Thu, 7 Jun 2012 19:07:17 +0000 (21:07 +0200)]
h264_mvpred: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavc/rectangle: change assert to av_assert
Michael Niedermayer [Thu, 7 Jun 2012 18:51:07 +0000 (20:51 +0200)]
lavc/rectangle: change assert to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavf: fix missing "parser not found" message
Michael Niedermayer [Thu, 7 Jun 2012 17:02:32 +0000 (19:02 +0200)]
lavf: fix missing "parser not found" message

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoyuv2rgb: remove assert() the codepath is not invalid
Michael Niedermayer [Thu, 7 Jun 2012 15:45:16 +0000 (17:45 +0200)]
yuv2rgb: remove assert() the codepath is not invalid

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosvq1enc: use av_assert
Michael Niedermayer [Thu, 7 Jun 2012 15:41:12 +0000 (17:41 +0200)]
svq1enc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: move keyboard interaction in a function.
Nicolas George [Wed, 6 Jun 2012 13:56:34 +0000 (15:56 +0200)]
ffmpeg: move keyboard interaction in a function.

It makes the transcode loop easier to read (30% less code)
and the differences with avconv easier to spot.

8 years agolavfi/audio: fix size of copied samples.
Nicolas George [Wed, 6 Jun 2012 11:25:34 +0000 (13:25 +0200)]
lavfi/audio: fix size of copied samples.

Fixes sporadic segfaults with some filters.

8 years agofate: avoid freopen(NULL) in videogen/rotozoom
Mans Rullgard [Wed, 6 Jun 2012 16:12:29 +0000 (17:12 +0100)]
fate: avoid freopen(NULL) in videogen/rotozoom

A number of systems do not implement freopen() with a NULL filename
correctly.  This changes these programs to output individual images
if opening a named output argument as a file fails, in this case
assuming it is a directory.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoffplay: fix build if avfilter is disabled
Marton Balint [Wed, 6 Jun 2012 21:16:29 +0000 (23:16 +0200)]
ffplay: fix build if avfilter is disabled

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: fix frame_delay calculation in new avfilter code
Marton Balint [Wed, 6 Jun 2012 21:06:23 +0000 (23:06 +0200)]
ffplay: fix frame_delay calculation in new avfilter code

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: add support for changing pixel format
Marton Balint [Wed, 6 Jun 2012 20:32:25 +0000 (22:32 +0200)]
ffplay: add support for changing pixel format

With the filtering code refactored, it was much easier to finally fix this.

Fixes ticket 123 and 238.

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: add missing filt_in assignment after video filter reconfigure
Marton Balint [Wed, 6 Jun 2012 20:20:23 +0000 (22:20 +0200)]
ffplay: add missing filt_in assignment after video filter reconfigure

Fixes segfaults on changing resolution.

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: fix frame aspect ratio after qatar merge
Marton Balint [Wed, 6 Jun 2012 20:09:41 +0000 (22:09 +0200)]
ffplay: fix frame aspect ratio after qatar merge

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: fix use after free
Michael Niedermayer [Wed, 6 Jun 2012 21:17:29 +0000 (23:17 +0200)]
ffplay: fix use after free

reproduceable with:
ffmpeg -i tests/lena.pnm -pix_fmt pal8 -vcodec rawvideo -s 512x512 out.avi
valgrind ffplay_g out.avi

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffplay: use dummy video driver if display is disabled
Marton Balint [Sun, 3 Jun 2012 17:36:06 +0000 (19:36 +0200)]
ffplay: use dummy video driver if display is disabled

Fixes ticket 1402.

Signed-off-by: Marton Balint <cus@passwd.hu>
8 years agoffprobe: show packet duration in frame
Stefano Sabatini [Thu, 8 Mar 2012 14:26:57 +0000 (15:26 +0100)]
ffprobe: show packet duration in frame

8 years agoffprobe: honour special value for duration
Stefano Sabatini [Tue, 5 Jun 2012 17:15:58 +0000 (19:15 +0200)]
ffprobe: honour special value for duration

A duration value is undefined when is 0, take into consideration this
fact when printing optional fields.

8 years agolavfi: remove avfilter_default_item_name() from public API
Stefano Sabatini [Tue, 5 Jun 2012 16:58:51 +0000 (18:58 +0200)]
lavfi: remove avfilter_default_item_name() from public API

The function was introduced in 4d6a8a2bdb19 and is not used anymore
outside avfilter.c.

This avoids to pollute the public API with an apparently unnecessary
function. The function was introduced a few days ago, so removing it from
the public API should do no much harm.

8 years agolavfi/ocv: fix compilation after internalization of public functions
Stefano Sabatini [Wed, 6 Jun 2012 21:14:36 +0000 (23:14 +0200)]
lavfi/ocv: fix compilation after internalization of public functions

Include missing required internal headers.

8 years agotools/graph2dot: factorize code printing non-media specific link information
Stefano Sabatini [Wed, 6 Jun 2012 21:18:46 +0000 (23:18 +0200)]
tools/graph2dot: factorize code printing non-media specific link information

8 years agotools/graph2dot: show input and output pad names in the link label
Stefano Sabatini [Tue, 5 Jun 2012 16:39:09 +0000 (18:39 +0200)]
tools/graph2dot: show input and output pad names in the link label

8 years agowmv2enc: use av_assert
Michael Niedermayer [Wed, 6 Jun 2012 19:18:47 +0000 (21:18 +0200)]
wmv2enc: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosinewin_tablegen: use av_assert
Michael Niedermayer [Wed, 6 Jun 2012 19:18:33 +0000 (21:18 +0200)]
sinewin_tablegen: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoput_bits: use av_assert
Michael Niedermayer [Wed, 6 Jun 2012 19:18:14 +0000 (21:18 +0200)]
put_bits: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agogolomb: use av_assert
Michael Niedermayer [Wed, 6 Jun 2012 18:13:17 +0000 (20:13 +0200)]
golomb: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoresample_template: use av_assert
Michael Niedermayer [Wed, 6 Jun 2012 18:08:57 +0000 (20:08 +0200)]
resample_template: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavutil/integer: use av_assert
Michael Niedermayer [Wed, 6 Jun 2012 18:01:08 +0000 (20:01 +0200)]
libavutil/integer: use av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibavutil/mathematics: use av_assert()
Michael Niedermayer [Wed, 6 Jun 2012 18:00:35 +0000 (20:00 +0200)]
libavutil/mathematics: use av_assert()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegvideo: fix out of heap array accesses
Michael Niedermayer [Wed, 6 Jun 2012 17:26:21 +0000 (19:26 +0200)]
mpegvideo: fix out of heap array accesses

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: Set duration on encoded subtitle packets.
Philip Langdale [Thu, 31 May 2012 04:08:01 +0000 (21:08 -0700)]
ffmpeg: Set duration on encoded subtitle packets.

Currently, we don't set the duration on the packet of a newly
encoded subtitle. This information may be required by the
muxer.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosearch_for_quantizers_faac: fix curband
Michael Niedermayer [Wed, 6 Jun 2012 16:35:05 +0000 (18:35 +0200)]
search_for_quantizers_faac: fix curband

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomxfenc: write optional field dominance flag in picture description
Matthieu Bouron [Sun, 27 May 2012 12:21:41 +0000 (14:21 +0200)]
mxfenc: write optional field dominance flag in picture description

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffmpeg: avoid a confusing and easy to break if().
Reimar Döffinger [Wed, 6 Jun 2012 10:39:07 +0000 (12:39 +0200)]
ffmpeg: avoid a confusing and easy to break if().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoFix maxband limit when decoding mpc8.
Carl Eugen Hoyos [Wed, 6 Jun 2012 11:09:02 +0000 (13:09 +0200)]
Fix maxband limit when decoding mpc8.

Fixes yesterday's merge of Kostya's fix for ticket #409.

8 years agoffmpeg: use isatty() before messing with the terminal state
Michael Niedermayer [Tue, 5 Jun 2012 17:58:03 +0000 (19:58 +0200)]
ffmpeg: use isatty() before messing with the terminal state

This fixes terminal messup in case of crashes (like in make fate)

Reviewed-by: François Revol <revol@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 5 Jun 2012 20:43:44 +0000 (22:43 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  vorbis: Validate that the floor 1 X values contain no duplicates.
  avprobe: Identify codec probe failures rather than calling them unsupported codecs.
  avformat: Probe codecs at score 0 on buffer exhaustion conditions.
  avformat: Factorize codec probing.
  Indeo Audio decoder
  imc: make IMDCT support stereo output
  imc: move channel-specific data into separate context
  lavfi: remove request/poll and drawing functions from public API on next bump
  lavfi: make avfilter_insert_pad and pals private on next bump.
  lavfi: make formats API private on next bump.
  avplay: use buffersrc instead of custom input filter.
  avtools: move buffer management code from avconv to cmdutils.
  avconv: don't use InputStream in the buffer management code.
  avconv: fix exiting when max frames is reached.
  mpc8: fix maximum bands handling
  aacdec: Turn PS off when switching to stereo and turn it to implicit when switching to mono.

Conflicts:
Changelog
cmdutils.h
ffmpeg.c
ffplay.c
ffprobe.c
libavcodec/avcodec.h
libavcodec/mpc8.c
libavcodec/v210dec.h
libavcodec/version.h
libavcodec/vorbisdec.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/buffersrc.c
libavfilter/formats.c
libavfilter/src_movie.c
libavfilter/vf_aspect.c
libavfilter/vf_blackframe.c
libavfilter/vf_boxblur.c
libavfilter/vf_crop.c
libavfilter/vf_cropdetect.c
libavfilter/vf_delogo.c
libavfilter/vf_drawbox.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
libavfilter/vf_fifo.c
libavfilter/vf_format.c
libavfilter/vf_frei0r.c
libavfilter/vf_gradfun.c
libavfilter/vf_hflip.c
libavfilter/vf_hqdn3d.c
libavfilter/vf_libopencv.c
libavfilter/vf_lut.c
libavfilter/vf_overlay.c
libavfilter/vf_pad.c
libavfilter/vf_scale.c
libavfilter/vf_select.c
libavfilter/vf_showinfo.c
libavfilter/vf_transpose.c
libavfilter/vf_unsharp.c
libavfilter/vf_yadif.c
libavfilter/vsrc_color.c
libavfilter/vsrc_testsrc.c
libavformat/utils.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavfi: remove more instances of avfilter_default_filter_name()
Stefano Sabatini [Tue, 5 Jun 2012 16:57:09 +0000 (18:57 +0200)]
lavfi: remove more instances of avfilter_default_filter_name()

They were discarded in 0f0f3bd1e0.

8 years agovorbis: Validate that the floor 1 X values contain no duplicates.
Alex Converse [Tue, 5 Jun 2012 01:27:03 +0000 (18:27 -0700)]
vorbis: Validate that the floor 1 X values contain no duplicates.

Duplicate values in this vector are explicitly banned by the Vorbis I spec
and cause divide-by-zero crashes later on.

8 years agoavprobe: Identify codec probe failures rather than calling them unsupported codecs.
Alex Converse [Tue, 5 Jun 2012 00:35:51 +0000 (17:35 -0700)]
avprobe: Identify codec probe failures rather than calling them unsupported codecs.

8 years agoavformat: Probe codecs at score 0 on buffer exhaustion conditions.
Alex Converse [Mon, 4 Jun 2012 23:58:48 +0000 (16:58 -0700)]
avformat: Probe codecs at score 0 on buffer exhaustion conditions.

8 years agoavformat: Factorize codec probing.
Alex Converse [Mon, 4 Jun 2012 23:07:48 +0000 (16:07 -0700)]
avformat: Factorize codec probing.

8 years agolavc: add pkt_duration field to AVFrame
Stefano Sabatini [Thu, 8 Mar 2012 14:22:53 +0000 (15:22 +0100)]
lavc: add pkt_duration field to AVFrame

8 years agolavfi: move avfilter_copy_frame_props() definition from buffer.c to avcodec.c
Stefano Sabatini [Fri, 1 Jun 2012 09:05:44 +0000 (11:05 +0200)]
lavfi: move avfilter_copy_frame_props() definition from buffer.c to avcodec.c

The new location is more suited, as it is where the lavfi/lavc glue is
defined.

8 years agoIndeo Audio decoder
Kostya Shishkov [Sat, 2 Jun 2012 19:07:02 +0000 (21:07 +0200)]
Indeo Audio decoder

8 years agoimc: make IMDCT support stereo output
Kostya Shishkov [Sat, 2 Jun 2012 18:35:41 +0000 (20:35 +0200)]
imc: make IMDCT support stereo output

This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.

8 years agoimc: move channel-specific data into separate context
Kostya Shishkov [Sat, 2 Jun 2012 18:30:23 +0000 (20:30 +0200)]
imc: move channel-specific data into separate context

This will be useful for Indeo Audio decoder which is almost the same
but supports stereo.

8 years agoaconvert filter needs to configure samplerates
Andrew Wason [Tue, 5 Jun 2012 15:02:43 +0000 (11:02 -0400)]
aconvert filter needs to configure samplerates

I changed the *_set_common_* functions to only set unset formats, then
added a wrapper that calls them after the filters query_formats.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswr-test: support "--help"
Michael Niedermayer [Tue, 5 Jun 2012 15:12:50 +0000 (17:12 +0200)]
swr-test: support "--help"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobuildsys: fix rules for swresample-test
Michael Niedermayer [Tue, 5 Jun 2012 15:06:19 +0000 (17:06 +0200)]
buildsys: fix rules for swresample-test

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibswresample/Makefile: put each object on its own line
Michael Niedermayer [Tue, 5 Jun 2012 15:05:30 +0000 (17:05 +0200)]
libswresample/Makefile: put each object on its own line

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoswscale: RGBA64LE <-> RGBA64BE support
Paul B Mahol [Tue, 5 Jun 2012 12:14:27 +0000 (12:14 +0000)]
swscale: RGBA64LE <-> RGBA64BE support

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoavfiltergraph: call query_formats on inputs first.
Nicolas George [Sun, 3 Jun 2012 19:53:22 +0000 (21:53 +0200)]
avfiltergraph: call query_formats on inputs first.

This is a temporary workaround for amerge,
until format renegociation is implemented.

Should fix trac ticket #1400.

8 years agoavfiltergraph: check query_formats return value.
Nicolas George [Sun, 3 Jun 2012 19:48:59 +0000 (21:48 +0200)]
avfiltergraph: check query_formats return value.

8 years agoMake H264 reorder buffer size message less verbose.
Carl Eugen Hoyos [Tue, 5 Jun 2012 10:52:07 +0000 (12:52 +0200)]
Make H264 reorder buffer size message less verbose.

8 years agosnowdec: add new line to some error messages
Piotr Bandurski [Tue, 5 Jun 2012 10:15:18 +0000 (12:15 +0200)]
snowdec: add new line to some error messages

8 years agoisom: add Radius DV YUV FourCCs
Piotr Bandurski [Tue, 5 Jun 2012 10:13:39 +0000 (12:13 +0200)]
isom: add Radius DV YUV FourCCs

8 years agolavfi: move tracing utilities definition from video.c to avfilter.c
Stefano Sabatini [Fri, 1 Jun 2012 21:05:13 +0000 (23:05 +0200)]
lavfi: move tracing utilities definition from video.c to avfilter.c

These utilities are meant to be defined in avfilter.c, since they are
generic and thus contain both audio and video code.

8 years agoAdd missing CRLFs to avisynth error messages.
Carl Eugen Hoyos [Tue, 5 Jun 2012 09:13:30 +0000 (11:13 +0200)]
Add missing CRLFs to avisynth error messages.

8 years agoFix MP2 muxer Makefile dependencies.
Carl Eugen Hoyos [Tue, 5 Jun 2012 07:54:03 +0000 (09:54 +0200)]
Fix MP2 muxer Makefile dependencies.

Found, analysed and tested by trac user Jamal.

Fixes ticket #1411

8 years agolavfi: remove request/poll and drawing functions from public API on next bump
Anton Khirnov [Wed, 30 May 2012 09:20:32 +0000 (11:20 +0200)]
lavfi: remove request/poll and drawing functions from public API on next bump

They are only useful inside filters and we don't allow user filters for
now.

8 years agolavfi: make avfilter_insert_pad and pals private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:31:48 +0000 (10:31 +0200)]
lavfi: make avfilter_insert_pad and pals private on next bump.

They are only useful inside filters and we don't allow user filters for
now.

8 years agolavfi: make formats API private on next bump.
Anton Khirnov [Wed, 30 May 2012 08:12:55 +0000 (10:12 +0200)]
lavfi: make formats API private on next bump.

It is only useful inside filters and we don't allow user filters for
now.

8 years agoavplay: use buffersrc instead of custom input filter.
Anton Khirnov [Wed, 30 May 2012 06:53:08 +0000 (08:53 +0200)]
avplay: use buffersrc instead of custom input filter.

We do not allow user filters, so avtools shouldn't use them either.

It also allows to reuse buffer management code from avconv, thus
reducing duplication.

8 years agoavtools: move buffer management code from avconv to cmdutils.
Anton Khirnov [Wed, 30 May 2012 05:57:59 +0000 (07:57 +0200)]
avtools: move buffer management code from avconv to cmdutils.

It will be used by avplay.

8 years agoavconv: don't use InputStream in the buffer management code.
Anton Khirnov [Wed, 30 May 2012 05:32:43 +0000 (07:32 +0200)]
avconv: don't use InputStream in the buffer management code.

Use just the pointer to the head of the buffer pool.

This will allow sharing the code with avplay.

8 years agoavconv: fix exiting when max frames is reached.
Anton Khirnov [Mon, 4 Jun 2012 18:01:55 +0000 (20:01 +0200)]
avconv: fix exiting when max frames is reached.

frame number should never be strictly larger than max frames, so the
if() was never triggered.

8 years agolavfi/select: use exported dsputil_init function.
Clément Bœsch [Tue, 5 Jun 2012 05:27:41 +0000 (07:27 +0200)]
lavfi/select: use exported dsputil_init function.

This is the deprecated version of the function but it is exported, so it
should fix the shared FATE box.

8 years agompc8: fix maximum bands handling
Kostya Shishkov [Mon, 4 Jun 2012 06:01:34 +0000 (08:01 +0200)]
mpc8: fix maximum bands handling

In Musepack SV8 codec property tell the maximum nonzero band, but every
frame codes maximum band as a limit (i.e. strictly less than given value).
Synthesis also expects maximum nonzero band, so there's a need to convert
frame maximum band limit value.