]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agoffplay: use AVFrame::width and height instead of using codec or filter settings
Marton Balint [Sat, 21 Apr 2012 22:17:54 +0000 (00:17 +0200)]
ffplay: use AVFrame::width and height instead of using codec or filter settings

Codec values may not reflect the actual frame size, and it also enables us to
simplify code in the avfilter enabled and the avfilter disabled case.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoffplay: use stream sample_aspect_ratio if available in source frames
Marton Balint [Sat, 21 Apr 2012 11:06:55 +0000 (13:06 +0200)]
ffplay: use stream sample_aspect_ratio if available in source frames

When we are using filter chains we have to set the aspect ratio of the source
to the best known value, we use the av_guess_sample_aspect_ratio function to
determine that.

Fixes ticket 1228.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 years agoffplay: fix video_thread when no frame is returned in get_video_frame
Marton Balint [Sun, 22 Apr 2012 00:53:29 +0000 (02:53 +0200)]
ffplay: fix video_thread when no frame is returned in get_video_frame

Affects only ffplay build with avfilter disabled.

Signed-off-by: Marton Balint <cus@passwd.hu>
12 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>
12 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>
12 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.

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

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

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

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

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

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

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

12 years agovcr1: Fix return type of common_init to match the function pointer signature.
Diego Biurrun [Mon, 14 May 2012 10:33:04 +0000 (12:33 +0200)]
vcr1: Fix return type of common_init to match the function pointer signature.

libavcodec/vcr1.c:182: warning: initialization from incompatible pointer type

12 years agovcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.
Diego Biurrun [Fri, 13 Apr 2012 06:52:08 +0000 (08:52 +0200)]
vcr1enc: Replace obsolete get_bit_count by put_bits_count/flush_put_bits.

12 years agomotion-test: remove disabled code
Diego Biurrun [Sun, 17 Jul 2011 11:30:24 +0000 (13:30 +0200)]
motion-test: remove disabled code

12 years agogxfenc: remove disabled half-implemented MJPEG tag
Diego Biurrun [Fri, 29 Jul 2011 10:02:20 +0000 (12:02 +0200)]
gxfenc: remove disabled half-implemented MJPEG tag

12 years agox86: use more standard construct for setting ASM functions in FFT code
Vitor Sessak [Sat, 12 May 2012 06:59:00 +0000 (08:59 +0200)]
x86: use more standard construct for setting ASM functions in FFT code

Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years agoffmpeg: revert 492cc1
Michael Niedermayer [Mon, 14 May 2012 13:15:11 +0000 (15:15 +0200)]
ffmpeg: revert 492cc1

This restores correct block_align values in case of stream copy.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoogg: rewrite first timestamp reading code.
Michael Niedermayer [Mon, 14 May 2012 12:07:09 +0000 (14:07 +0200)]
ogg: rewrite first timestamp reading code.

this is simpler and closer to how timestamps are found for seeking.

Fixes Ticket1186

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoogg: in ogg_get_length() start from data_offset not 0.
Michael Niedermayer [Mon, 14 May 2012 12:03:07 +0000 (14:03 +0200)]
ogg: in ogg_get_length() start from data_offset not 0.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agofate: westwood-aud: disable decoding
Mans Rullgard [Sat, 12 May 2012 12:17:38 +0000 (13:17 +0100)]
fate: westwood-aud: disable decoding

The codec (adpcm-ima-ws) is tested elsewhere.  Using framecrc output
provides more information than a single md5 if something goes wrong.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: caf: disable decoding
Mans Rullgard [Sat, 12 May 2012 11:39:59 +0000 (12:39 +0100)]
fate: caf: disable decoding

This is intended as a demuxer test and the file contains pcm_s16be
audio which is tested elsewhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: film-cvid: drop pcm audio and rename test
Mans Rullgard [Fri, 11 May 2012 19:59:58 +0000 (20:59 +0100)]
fate: film-cvid: drop pcm audio and rename test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: d-cinema-demux: drop unnecessary flags
Mans Rullgard [Fri, 11 May 2012 17:30:44 +0000 (18:30 +0100)]
fate: d-cinema-demux: drop unnecessary flags

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: split off dpcm-interplay from interplay-mve tests
Mans Rullgard [Fri, 11 May 2012 15:48:17 +0000 (16:48 +0100)]
fate: split off dpcm-interplay from interplay-mve tests

These two files use the same audio codec so only one test for
this is needed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: rename funcom-iss to adpcm-ima-iss
Mans Rullgard [Fri, 11 May 2012 16:43:54 +0000 (17:43 +0100)]
fate: rename funcom-iss to adpcm-ima-iss

This matches the name of the codec.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: rename cryo-apc to adpcm-ima-apc
Mans Rullgard [Fri, 11 May 2012 16:38:41 +0000 (17:38 +0100)]
fate: rename cryo-apc to adpcm-ima-apc

This matches the name of the tested codec.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: rename adpcm-psx-str-v3 to adpcm-xa
Mans Rullgard [Fri, 11 May 2012 15:25:34 +0000 (16:25 +0100)]
fate: rename adpcm-psx-str-v3 to adpcm-xa

This matches the name of the codec tested.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: split off adpcm-ms-mono test from dxa-feeble
Mans Rullgard [Fri, 11 May 2012 16:08:29 +0000 (17:08 +0100)]
fate: split off adpcm-ms-mono test from dxa-feeble

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: split off adpcm-ima-ws test from vqa-cc
Mans Rullgard [Fri, 11 May 2012 14:36:57 +0000 (15:36 +0100)]
fate: split off adpcm-ima-ws test from vqa-cc

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: add adpcm-ima-smjpeg test
Mans Rullgard [Fri, 11 May 2012 14:16:43 +0000 (15:16 +0100)]
fate: add adpcm-ima-smjpeg test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: split off adpcm-ima-amv from amv test
Mans Rullgard [Fri, 11 May 2012 12:33:35 +0000 (13:33 +0100)]
fate: split off adpcm-ima-amv from amv test

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: separate bmv audio and video tests
Mans Rullgard [Fri, 11 May 2012 13:58:31 +0000 (14:58 +0100)]
fate: separate bmv audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: separate delphine-cin audio and video tests
Mans Rullgard [Fri, 11 May 2012 03:11:43 +0000 (04:11 +0100)]
fate: separate delphine-cin audio and video tests

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: truemotion1: disable audio
Mans Rullgard [Fri, 11 May 2012 16:16:58 +0000 (17:16 +0100)]
fate: truemotion1: disable audio

These tests include adpcm-ima-dk3 audio which is tested elsewhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: qtrle: disable audio in all tests
Mans Rullgard [Fri, 11 May 2012 15:30:00 +0000 (16:30 +0100)]
fate: qtrle: disable audio in all tests

These files contain mace6 audio which is tested elsewhere.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: pcm-planar: disable video
Mans Rullgard [Fri, 11 May 2012 12:49:13 +0000 (13:49 +0100)]
fate: pcm-planar: disable video

This file has eamad video which is tested elsewhere.
Also rename the test to reflect this change.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agofate: mtv: disable video decoding
Mans Rullgard [Fri, 11 May 2012 14:47:37 +0000 (15:47 +0100)]
fate: mtv: disable video decoding

This test contains raw rgb565le video.  Converting to rgb24 serves
no useful purpose here.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agodoc: misc improvements for the Windows section
Diego Biurrun [Thu, 10 May 2012 12:18:10 +0000 (14:18 +0200)]
doc: misc improvements for the Windows section

Fix some orthography, wording and grammar issues; update the SDL section
with more current instructions; simplify lib.exe example command line;
drop outdated comments about libnut.

12 years agodoc/ffprobe: fix rendering of the timecode chapter in the man page
Stefano Sabatini [Sat, 12 May 2012 20:42:06 +0000 (22:42 +0200)]
doc/ffprobe: fix rendering of the timecode chapter in the man page

12 years agoffprobe: add "nokey" option to default writer
Stefano Sabatini [Wed, 9 May 2012 23:28:07 +0000 (01:28 +0200)]
ffprobe: add "nokey" option to default writer

Help simplifying parsing in certain cases.

12 years agoffprobe: add "noprint_wrappers" option to default writer
Stefano Sabatini [Tue, 8 May 2012 23:20:21 +0000 (01:20 +0200)]
ffprobe: add "noprint_wrappers" option to default writer

The option is useful for simplifying parsing.

Also use the new option in fate, in order to fix the regression
introduced by the previous commit.

12 years agoffprobe: simplify/fix logic for the -show_format_entry option
Stefano Sabatini [Tue, 8 May 2012 22:43:58 +0000 (00:43 +0200)]
ffprobe: simplify/fix logic for the -show_format_entry option

Do not skip chapter header/footer printing, which breaks the parsing for
most writers.

12 years agoffprobe: remove unused print_format_entry() function
Stefano Sabatini [Tue, 8 May 2012 23:28:58 +0000 (01:28 +0200)]
ffprobe: remove unused print_format_entry() function

The function was introduced in 653d117c, but is not required.

12 years agompegvideo_enc: Fix chroma edge size
Michael Niedermayer [Mon, 14 May 2012 09:26:44 +0000 (11:26 +0200)]
mpegvideo_enc: Fix chroma edge size

Fixes ticket1303

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegts: fix handling of files smaller than 8kb
Michael Niedermayer [Mon, 14 May 2012 00:38:13 +0000 (02:38 +0200)]
mpegts: fix handling of files smaller than 8kb

Fixes Ticket1094

Analyzed-by: mjs973
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 13 May 2012 23:50:55 +0000 (01:50 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  doc: fix link to fate.libav.org

Conflicts:
doc/fate.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoflac_parser: speedup fifo realloc
Michael Niedermayer [Sun, 13 May 2012 23:36:40 +0000 (01:36 +0200)]
flac_parser: speedup fifo realloc

Fixes Ticket1121

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf/utils: make use of av_ts2str() to print timestamps.
Clément Bœsch [Sun, 13 May 2012 20:22:35 +0000 (22:22 +0200)]
lavf/utils: make use of av_ts2str() to print timestamps.

12 years agolibswresample-simd: Add ff_pack_6ch_float_to_int32_a_avx and ff_pack_6ch_float_to_int...
Michael Niedermayer [Sun, 13 May 2012 18:56:18 +0000 (20:56 +0200)]
libswresample-simd: Add ff_pack_6ch_float_to_int32_a_avx and ff_pack_6ch_float_to_int32_a_sse4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample-simd: add ff_pack_6ch_int32_to_float_a_avx and ff_pack_6ch_int32_to_flo...
Michael Niedermayer [Sun, 13 May 2012 18:53:30 +0000 (20:53 +0200)]
libswresample-simd: add ff_pack_6ch_int32_to_float_a_avx and ff_pack_6ch_int32_to_float_a_sse4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample: make NOP_N macro less picky on its parameters
Michael Niedermayer [Sun, 13 May 2012 18:45:32 +0000 (20:45 +0200)]
libswresample: make NOP_N macro less picky on its parameters

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample: Change FLOAT_TO_INT32_N to need 1 register less
Michael Niedermayer [Sun, 13 May 2012 18:44:08 +0000 (20:44 +0200)]
libswresample: Change FLOAT_TO_INT32_N to need 1 register less

same speed on sandy bridge

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample-simd: rename 6ch pack to what it is
Michael Niedermayer [Sun, 13 May 2012 18:31:12 +0000 (20:31 +0200)]
libswresample-simd: rename 6ch pack to what it is

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample-simd: make the converter registers parameters
Michael Niedermayer [Sun, 13 May 2012 18:30:13 +0000 (20:30 +0200)]
libswresample-simd: make the converter registers parameters

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample: cosmetics
Michael Niedermayer [Sun, 13 May 2012 17:24:34 +0000 (19:24 +0200)]
libswresample: cosmetics

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample: unaligned AVX/SSE4 float and int32 6ch pack
Michael Niedermayer [Sun, 13 May 2012 17:20:47 +0000 (19:20 +0200)]
libswresample: unaligned AVX/SSE4 float and int32 6ch pack

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolibswresample: Implement MMX, SSE4 and AVX 6ch float and int32 packing function.
Justin Ruggles [Sun, 13 May 2012 17:09:01 +0000 (19:09 +0200)]
libswresample: Implement MMX, SSE4 and AVX 6ch float and int32 packing function.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agowmvenc: check if width is multiple of 2
Piotr Bandurski [Sun, 13 May 2012 01:31:52 +0000 (03:31 +0200)]
wmvenc: check if width is multiple of 2

The width of wmv1/2 video must be multiple of 2 or win32 codec will fail to decode it (WMP displays black screen).

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf/mp3enc: support MPEG-2 and MPEG-2.5 sample rates when writing Xing header.
Clément Bœsch [Wed, 9 May 2012 20:39:40 +0000 (22:39 +0200)]
lavf/mp3enc: support MPEG-2 and MPEG-2.5 sample rates when writing Xing header.

12 years agoSet bits_per_raw_sample when decoding libopenjpeg images.
Carl Eugen Hoyos [Sun, 13 May 2012 14:45:31 +0000 (16:45 +0200)]
Set bits_per_raw_sample when decoding libopenjpeg images.

Reviewed-by: Michael Bradshaw
12 years agompeg1enc: dont use size extension.
Michael Niedermayer [Sun, 13 May 2012 09:15:36 +0000 (11:15 +0200)]
mpeg1enc: dont use size extension.

the spec doesnt mention this extension for mpeg1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg2dec: support slice_vertical_position_extension
Michael Niedermayer [Sun, 13 May 2012 09:13:03 +0000 (11:13 +0200)]
mpeg2dec: support slice_vertical_position_extension

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg2enc: check input dimensions
Michael Niedermayer [Sun, 13 May 2012 09:12:20 +0000 (11:12 +0200)]
mpeg2enc: check input dimensions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg1enc: check input dimensions
Michael Niedermayer [Sun, 13 May 2012 09:11:56 +0000 (11:11 +0200)]
mpeg1enc: check input dimensions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh263enc: test that dimensions are a multiple of 4
Michael Niedermayer [Sun, 13 May 2012 07:59:12 +0000 (09:59 +0200)]
h263enc: test that dimensions are a multiple of 4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: fix link to fate.libav.org
Diego Elio Pettenò [Sat, 12 May 2012 23:22:06 +0000 (16:22 -0700)]
doc: fix link to fate.libav.org

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 12 May 2012 22:13:49 +0000 (00:13 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  lavfi: autoinsert resample filter when necessary.
  lavfi: add lavr-based audio resampling filter.
  x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.

Conflicts:
configure
doc/filters.texi
libavcodec/x86/vc1dsp_mmx.c
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/avfiltergraph.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavfilter: fix regression since addition of extended_data to audio
Michael Niedermayer [Sat, 12 May 2012 21:46:43 +0000 (23:46 +0200)]
avfilter: fix regression since addition of extended_data to audio

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoffmpeg: preserve bits_per_coded sample on stream copy.
Michael Niedermayer [Sat, 12 May 2012 19:09:32 +0000 (21:09 +0200)]
ffmpeg: preserve bits_per_coded sample on stream copy.

Fixes Ticket1124

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc/examples: add libswresample in the libraries.
Clément Bœsch [Wed, 9 May 2012 21:45:16 +0000 (23:45 +0200)]
doc/examples: add libswresample in the libraries.

It is required for audio filtering.

12 years agodoc/examples: use buffersrc.h instead of deprecated asrc_abuffer.h.
Clément Bœsch [Wed, 9 May 2012 21:47:08 +0000 (23:47 +0200)]
doc/examples: use buffersrc.h instead of deprecated asrc_abuffer.h.

12 years agodoc/examples: add programs to .gitignore.
Clément Bœsch [Wed, 9 May 2012 21:59:40 +0000 (23:59 +0200)]
doc/examples: add programs to .gitignore.

12 years agoh263enc: check w/h for validity
Michael Niedermayer [Sat, 12 May 2012 16:47:42 +0000 (18:47 +0200)]
h263enc: check w/h for validity

Fixes Ticket1063

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi: autoinsert resample filter when necessary.
Anton Khirnov [Fri, 4 May 2012 13:35:12 +0000 (15:35 +0200)]
lavfi: autoinsert resample filter when necessary.

12 years agolavfi: add lavr-based audio resampling filter.
Anton Khirnov [Fri, 4 May 2012 13:09:17 +0000 (15:09 +0200)]
lavfi: add lavr-based audio resampling filter.

12 years agodoc/examples: fix typo.
Clément Bœsch [Sat, 12 May 2012 16:08:26 +0000 (18:08 +0200)]
doc/examples: fix typo.

12 years agodoc/examples: add -O2 in CFLAGS.
Clément Bœsch [Wed, 9 May 2012 21:08:17 +0000 (23:08 +0200)]
doc/examples: add -O2 in CFLAGS.

12 years agodoc/examples: add missing math.h include in decoding/encoding example.
Clément Bœsch [Sat, 12 May 2012 15:24:08 +0000 (17:24 +0200)]
doc/examples: add missing math.h include in decoding/encoding example.

The header is required for the sin() function.

12 years agodoc/examples: link decoding_encoding and muxing with math lib.
Clément Bœsch [Wed, 9 May 2012 21:06:43 +0000 (23:06 +0200)]
doc/examples: link decoding_encoding and muxing with math lib.

These two examples use the sin() function.

12 years agodoc/examples: rename LDFLAGS to LDLIBS.
Clément Bœsch [Wed, 9 May 2012 21:05:12 +0000 (23:05 +0200)]
doc/examples: rename LDFLAGS to LDLIBS.

12 years agolavfi: remove audio.h include from avfilter.h.
Clément Bœsch [Sat, 12 May 2012 15:58:14 +0000 (17:58 +0200)]
lavfi: remove audio.h include from avfilter.h.

avfilter.h is a public header and the unexported audio.h header contains
only internal prototypes.

12 years agox86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.
Michael Kostylev [Fri, 11 May 2012 10:26:44 +0000 (12:26 +0200)]
x86: vc1: drop MMX loop filter implementation, which uses MMX2 instructions.

12 years agoFix flashsv2 encoder error message.
Carl Eugen Hoyos [Sat, 12 May 2012 11:11:56 +0000 (13:11 +0200)]
Fix flashsv2 encoder error message.

12 years agoflashsv2enc: fix division by zero
Michael Niedermayer [Sat, 12 May 2012 10:03:47 +0000 (12:03 +0200)]
flashsv2enc: fix division by zero

Fixes other half of Ticket1105

Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoflashsvenc: fix image sizes below 192x192
Michael Niedermayer [Sat, 12 May 2012 10:03:23 +0000 (12:03 +0200)]
flashsvenc: fix image sizes below 192x192

Fixes half of Ticket1105

Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agotiffenc: fix out of array read
Michael Niedermayer [Sat, 12 May 2012 08:57:15 +0000 (10:57 +0200)]
tiffenc: fix out of array read

Fixes ticket1112

Found-by: ami_stuff
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosnow: fix 32x32 encoding
Michael Niedermayer [Sat, 12 May 2012 01:35:19 +0000 (03:35 +0200)]
snow: fix 32x32 encoding

Fixes ticket1083

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 11 May 2012 18:43:41 +0000 (20:43 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  fate: employ better names and add a convenient shorthand for vp6 tests
  arm/neon: dsputil: use correct size specifiers on vld1/vst1
  arm: dsputil: prettify some conditional instructions in put_pixels macros
  vqavideo: change x/y loop counters to the usual pattern
  avconv: use lrint() for rounding double timestamps

Conflicts:
tests/ref/fate/vc1-ism

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg12: fix logic that prevents extradata from being parsed twice.
Michael Niedermayer [Fri, 11 May 2012 16:37:41 +0000 (18:37 +0200)]
mpeg12: fix logic that prevents extradata from being parsed twice.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompeg12: print an error when there was a frame in extradata.
Michael Niedermayer [Fri, 11 May 2012 16:37:03 +0000 (18:37 +0200)]
mpeg12: print an error when there was a frame in extradata.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoAllow decoding of j2k images with bpp<8 and 8<bpp<16 with libopenjpeg.
Carl Eugen Hoyos [Fri, 11 May 2012 15:50:28 +0000 (17:50 +0200)]
Allow decoding of j2k images with bpp<8 and 8<bpp<16 with libopenjpeg.

Fixes one of several problems described in ticket #1279.

12 years agolavf: extend the avi raw hack to mov
Michael Niedermayer [Fri, 11 May 2012 14:53:22 +0000 (16:53 +0200)]
lavf: extend the avi raw hack to mov

Fixes ticket1194

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: print a matching tag in case of code tag validation failure
Michael Niedermayer [Fri, 11 May 2012 14:52:47 +0000 (16:52 +0200)]
lavf: print a matching tag in case of code tag validation failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfutils: ff_load_image: Initialize context
Michael Niedermayer [Fri, 11 May 2012 13:04:38 +0000 (15:04 +0200)]
lavfutils: ff_load_image: Initialize context

should fix  ticket1264

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegtsenc: fix 10l typo, wrong stream
Michael Niedermayer [Fri, 11 May 2012 12:04:33 +0000 (14:04 +0200)]
mpegtsenc: fix 10l typo, wrong stream

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