OSDN Git Service

android-x86/external-ffmpeg.git
12 years agodvbsub: remove unused variable
Paul B Mahol [Thu, 22 Mar 2012 03:36:26 +0000 (03:36 +0000)]
dvbsub: remove unused variable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobbox: remove superfluous initializations
Paul B Mahol [Thu, 22 Mar 2012 03:36:28 +0000 (03:36 +0000)]
bbox: remove superfluous initializations

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoflicvideo: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:31 +0000 (03:36 +0000)]
flicvideo: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolatm_parser: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:29 +0000 (03:36 +0000)]
latm_parser: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosunrastenc: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:27 +0000 (03:36 +0000)]
sunrastenc: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomjpegbdec: remove dead store
Paul B Mahol [Thu, 22 Mar 2012 03:36:30 +0000 (03:36 +0000)]
mjpegbdec: remove dead store

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovqavideo: remove some superfluous " VQA video: "
Paul B Mahol [Thu, 22 Mar 2012 03:44:13 +0000 (03:44 +0000)]
vqavideo: remove some superfluous " VQA video: "

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoelectronicarts vp6: set duration of video stream
Paul B Mahol [Wed, 21 Mar 2012 23:17:05 +0000 (23:17 +0000)]
electronicarts vp6: set duration of video stream

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc/examples/decoding_encoding: make the buffer bigger.
Michael Niedermayer [Thu, 22 Mar 2012 03:47:03 +0000 (04:47 +0100)]
doc/examples/decoding_encoding: make the buffer bigger.

This should be converted to the new API

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Thu, 22 Mar 2012 04:24:50 +0000 (05:24 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: use frame count based queueing for audio queue
  ffplay: reset audio_pkt_temp when opening audio

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 21 Mar 2012 22:47:44 +0000 (23:47 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (26 commits)
  adxenc: use AVCodec.encode2()
  adxenc: Use the AVFrame in ADXContext for coded_frame
  indeo4: fix out-of-bounds function call.
  configure: Restructure help output.
  configure: Internal-only components should not be command-line selectable.
  vorbisenc: use AVCodec.encode2()
  libvorbis: use AVCodec.encode2()
  libopencore-amrnbenc: use AVCodec.encode2()
  ra144enc: use AVCodec.encode2()
  nellymoserenc: use AVCodec.encode2()
  roqaudioenc: use AVCodec.encode2()
  libspeex: use AVCodec.encode2()
  libvo_amrwbenc: use AVCodec.encode2()
  libvo_aacenc: use AVCodec.encode2()
  wmaenc: use AVCodec.encode2()
  mpegaudioenc: use AVCodec.encode2()
  libmp3lame: use AVCodec.encode2()
  libgsmenc: use AVCodec.encode2()
  libfaac: use AVCodec.encode2()
  g726enc: use AVCodec.encode2()
  ...

Conflicts:
configure
libavcodec/Makefile
libavcodec/ac3enc.c
libavcodec/adxenc.c
libavcodec/libgsm.c
libavcodec/libvorbis.c
libavcodec/vorbisenc.c
libavcodec/wmaenc.c
tests/ref/acodec/g722
tests/ref/lavf/asf
tests/ref/lavf/ffm
tests/ref/lavf/mkv
tests/ref/lavf/mpg
tests/ref/lavf/rm
tests/ref/lavf/ts
tests/ref/seek/lavf_asf
tests/ref/seek/lavf_ffm
tests/ref/seek/lavf_mkv
tests/ref/seek/lavf_mpg
tests/ref/seek/lavf_rm
tests/ref/seek/lavf_ts

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoh264_mp4toannexb_bsf: use i instead of misusing unit_type.
Michael Niedermayer [Wed, 21 Mar 2012 21:33:28 +0000 (22:33 +0100)]
h264_mp4toannexb_bsf: use i instead of misusing unit_type.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoFix type and codetype fields in the MMF header for some phones.
Vidar Madsen [Wed, 21 Mar 2012 21:11:25 +0000 (22:11 +0100)]
Fix type and codetype fields in the MMF header for some phones.

12 years agoFix libspeex decoding.
Carl Eugen Hoyos [Wed, 21 Mar 2012 20:43:19 +0000 (21:43 +0100)]
Fix libspeex decoding.

This parly reverts 85469f.
Fixes ticket #1091.

12 years agoh264_mp4toannexb_bsf: support 24bit lengths
gs_gail [Wed, 21 Mar 2012 20:35:37 +0000 (21:35 +0100)]
h264_mp4toannexb_bsf: support 24bit lengths

12 years agoPrint a warning when using wild guesses as time stamps.
Reimar Döffinger [Sun, 22 Jan 2012 13:12:22 +0000 (14:12 +0100)]
Print a warning when using wild guesses as time stamps.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoReplace SSE2 instruction by SSE equivalent.
Reimar Döffinger [Wed, 21 Mar 2012 19:12:51 +0000 (20:12 +0100)]
Replace SSE2 instruction by SSE equivalent.

This is even potentially faster in this use-case.
Should fix AAC SBR decoding on machines with SSE but not
SSE2, fixing track issue #1041.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
12 years agoadxenc: use AVCodec.encode2()
Justin Ruggles [Wed, 21 Mar 2012 17:58:09 +0000 (13:58 -0400)]
adxenc: use AVCodec.encode2()

12 years agoadxenc: Use the AVFrame in ADXContext for coded_frame
Justin Ruggles [Wed, 21 Mar 2012 17:30:37 +0000 (13:30 -0400)]
adxenc: Use the AVFrame in ADXContext for coded_frame

12 years agopixdesc: put components always in the same order.
Nicolas George [Sun, 18 Mar 2012 08:57:02 +0000 (09:57 +0100)]
pixdesc: put components always in the same order.

12 years agoindeo4: fix out-of-bounds function call.
Ronald S. Bultje [Wed, 21 Mar 2012 17:39:10 +0000 (10:39 -0700)]
indeo4: fix out-of-bounds function call.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
12 years agoconfigure: Restructure help output.
Diego Biurrun [Thu, 8 Mar 2012 23:24:48 +0000 (00:24 +0100)]
configure: Restructure help output.

Break some of the longer sections into smaller sensible pieces;
make some option descriptions and option ordering more consistent.

12 years agoconfigure: Internal-only components should not be command-line selectable.
Diego Biurrun [Thu, 8 Mar 2012 22:53:57 +0000 (23:53 +0100)]
configure: Internal-only components should not be command-line selectable.

12 years agowestwood_vqa: set video stream duration
Paul B Mahol [Wed, 21 Mar 2012 00:04:50 +0000 (00:04 +0000)]
westwood_vqa: set video stream duration

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agowestwood_vqa: fix SND0 chunk handling
Paul B Mahol [Wed, 21 Mar 2012 00:04:49 +0000 (00:04 +0000)]
westwood_vqa: fix SND0 chunk handling

Version from vqa header does not dictate which sound chunks may
appear in file.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoaiffdec: Fix SIGFPE on pcm_f32be
Tomas Härdin [Wed, 21 Mar 2012 12:05:34 +0000 (13:05 +0100)]
aiffdec: Fix SIGFPE on pcm_f32be

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agovorbisenc: use AVCodec.encode2()
Justin Ruggles [Wed, 29 Feb 2012 08:16:24 +0000 (03:16 -0500)]
vorbisenc: use AVCodec.encode2()

12 years agolibvorbis: use AVCodec.encode2()
Justin Ruggles [Wed, 29 Feb 2012 06:02:54 +0000 (01:02 -0500)]
libvorbis: use AVCodec.encode2()

12 years agolibopencore-amrnbenc: use AVCodec.encode2()
Justin Ruggles [Tue, 28 Feb 2012 07:51:29 +0000 (02:51 -0500)]
libopencore-amrnbenc: use AVCodec.encode2()

12 years agora144enc: use AVCodec.encode2()
Justin Ruggles [Tue, 28 Feb 2012 06:48:31 +0000 (01:48 -0500)]
ra144enc: use AVCodec.encode2()

12 years agonellymoserenc: use AVCodec.encode2()
Justin Ruggles [Tue, 28 Feb 2012 05:08:11 +0000 (00:08 -0500)]
nellymoserenc: use AVCodec.encode2()

12 years agoroqaudioenc: use AVCodec.encode2()
Justin Ruggles [Tue, 28 Feb 2012 01:53:09 +0000 (20:53 -0500)]
roqaudioenc: use AVCodec.encode2()

The first frame pts must be saved until we have 8 frames since RoQ audio
requires 8 frames in the first packet.

12 years agolibspeex: use AVCodec.encode2()
Justin Ruggles [Tue, 28 Feb 2012 01:01:42 +0000 (20:01 -0500)]
libspeex: use AVCodec.encode2()

12 years agolibvo_amrwbenc: use AVCodec.encode2()
Justin Ruggles [Thu, 23 Feb 2012 22:22:42 +0000 (17:22 -0500)]
libvo_amrwbenc: use AVCodec.encode2()

12 years agolibvo_aacenc: use AVCodec.encode2()
Justin Ruggles [Thu, 23 Feb 2012 06:14:15 +0000 (01:14 -0500)]
libvo_aacenc: use AVCodec.encode2()

12 years agowmaenc: use AVCodec.encode2()
Justin Ruggles [Mon, 20 Feb 2012 17:29:14 +0000 (12:29 -0500)]
wmaenc: use AVCodec.encode2()

12 years agolavfi: add tile video filter.
Nicolas George [Thu, 23 Feb 2012 13:32:27 +0000 (14:32 +0100)]
lavfi: add tile video filter.

12 years agovsrc_color: port to new drawutils API.
Nicolas George [Sat, 17 Mar 2012 17:55:46 +0000 (18:55 +0100)]
vsrc_color: port to new drawutils API.

12 years agovf_pad: port to new drawutils API.
Nicolas George [Mon, 12 Mar 2012 18:39:59 +0000 (19:39 +0100)]
vf_pad: port to new drawutils API.

12 years agodrawutils: new API.
Nicolas George [Thu, 23 Feb 2012 10:07:01 +0000 (11:07 +0100)]
drawutils: new API.

This new API stores useful data in a dedicated structure
and has clearly delimited init functions.

Hopefully, uses of the old API can be replaced quickly.

12 years agoswscale: Merge a hunk from qatar that seems to have been forgotten or lost.
Michael Niedermayer [Wed, 21 Mar 2012 14:14:42 +0000 (15:14 +0100)]
swscale: Merge a hunk from qatar that seems to have been forgotten or lost.

Author of the code from qatar is Ronald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavfi/ass: add dar option
Stefano Sabatini [Mon, 19 Mar 2012 18:28:56 +0000 (19:28 +0100)]
lavfi/ass: add dar option

Allow to specify the display aspect ratio adopted for rendering
subtitles.

12 years agolavfi/ass: use a default DAR value of 1.0
Stefano Sabatini [Wed, 21 Mar 2012 13:54:08 +0000 (14:54 +0100)]
lavfi/ass: use a default DAR value of 1.0

Previously it was using the same value of the input video DAR, which is
inconsistent with most implementations.

Fix trac ticket #1098.

12 years agolavfi/aspect: check for a negative code from av_parse_ratio()
Stefano Sabatini [Wed, 21 Mar 2012 13:39:24 +0000 (14:39 +0100)]
lavfi/aspect: check for a negative code from av_parse_ratio()

Check on < 0 rather than on != 0, this is more correct as a positive
error code from av_parse_ratio() value doesn't mean an error.

12 years agographdump: use av_bprintf API.
Nicolas George [Wed, 1 Feb 2012 20:33:39 +0000 (21:33 +0100)]
graphdump: use av_bprintf API.

12 years agolavu: add av_bprintf and related.
Nicolas George [Wed, 1 Feb 2012 19:37:50 +0000 (20:37 +0100)]
lavu: add av_bprintf and related.

12 years agobink: no need to increase width twice
Paul B Mahol [Wed, 21 Mar 2012 01:41:50 +0000 (01:41 +0000)]
bink: no need to increase width twice

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agozerocodec: factorize loop
Michael Niedermayer [Wed, 21 Mar 2012 02:29:30 +0000 (03:29 +0100)]
zerocodec: factorize loop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agottadec: refactor ttafilter_process()
Paul B Mahol [Wed, 21 Mar 2012 00:31:25 +0000 (00:31 +0000)]
ttadec: refactor ttafilter_process()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agotgq: use bytestream2_get_bytes_left()
Paul B Mahol [Wed, 21 Mar 2012 00:10:22 +0000 (00:10 +0000)]
tgq: use bytestream2_get_bytes_left()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoxxan: use bytestream2_size()
Paul B Mahol [Wed, 21 Mar 2012 00:10:21 +0000 (00:10 +0000)]
xxan: use bytestream2_size()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoxxan: remove write-only variable
Paul B Mahol [Wed, 21 Mar 2012 00:10:20 +0000 (00:10 +0000)]
xxan: remove write-only variable

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosmc: use bytestream2_size()
Paul B Mahol [Wed, 21 Mar 2012 00:10:19 +0000 (00:10 +0000)]
smc: use bytestream2_size()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agobytestream: add functions for accessing size of buffer
Paul B Mahol [Wed, 21 Mar 2012 00:10:18 +0000 (00:10 +0000)]
bytestream: add functions for accessing size of buffer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agocdxl: swap CHUNKY and BYTE_PLANAR
Paul B Mahol [Tue, 20 Mar 2012 23:59:26 +0000 (23:59 +0000)]
cdxl: swap CHUNKY and BYTE_PLANAR

This is how it is defined in Amiga Developer CD from year 1992 and
is consistent with files created with ADPro.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agosgienc: fix packet size.
Michael Niedermayer [Wed, 21 Mar 2012 01:54:49 +0000 (02:54 +0100)]
sgienc: fix packet size.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 20 Mar 2012 23:15:18 +0000 (00:15 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master: (27 commits)
  avconv: free packet in write_frame() when discarding due to frame number limit
  FATE: use +/- flag option syntax for vp8 emu-edge tests
  lavf: make av_interleave_packet_per_dts() private.
  lavf: deprecate av_read_packet().
  oggdec: output correct timestamps for Vorbis
  avconv: pass input stream timestamps to audio encoders
  lavc: shrink encoded audio packet size after encoding.
  xa: set correct bit rate
  xa: do not set bit_rate, block_align, or bits_per_coded_sample
  xa: fix end-of-file handling
  xa: fix timestamp calculation
  bink: fix typo in FFALIGN() argument
  bink: align plane width to 8 when calculating bundle sizes
  doc: pass -Idoc texi2html and texi2pod
  doc: texi2pod: add -I flag
  movenc: Add a min_frag_duration option
  rtsp: Set the default delay to 0.1 s for the RTSP/SDP/RTP demuxers
  libavformat: Set the default for the max_delay option to -1
  Generate manpages for AV{Format,Codec}Context AVOptions.
  doc/avconv: remove entries for AVOptions.
  ...

Conflicts:
doc/Makefile
doc/ffmpeg.texi
doc/muxers.texi
ffmpeg.c
libavcodec/Makefile
libavcodec/options.c
libavcodec/vp8.c
libavformat/options.c
tests/fate/demux.mak
tests/ref/fate/truemotion1-15
tests/ref/fate/truemotion1-24

Merged-by: Michael Niedermayer <michaelni@gmx.at>
12 years agompegaudioenc: use AVCodec.encode2()
Justin Ruggles [Sun, 19 Feb 2012 22:12:48 +0000 (17:12 -0500)]
mpegaudioenc: use AVCodec.encode2()

Update FATE references due to encoder delay.

12 years agolibmp3lame: use AVCodec.encode2()
Justin Ruggles [Sun, 19 Feb 2012 18:16:34 +0000 (13:16 -0500)]
libmp3lame: use AVCodec.encode2()

12 years agolibgsmenc: use AVCodec.encode2()
Justin Ruggles [Thu, 16 Feb 2012 00:20:30 +0000 (19:20 -0500)]
libgsmenc: use AVCodec.encode2()

12 years agolibfaac: use AVCodec.encode2()
Justin Ruggles [Tue, 7 Feb 2012 19:28:50 +0000 (14:28 -0500)]
libfaac: use AVCodec.encode2()

Encoder output is delayed by several frames, so we keep a queue of input
frame timing info to match up with corresponding output packets.

12 years agog726enc: use AVCodec.encode2()
Justin Ruggles [Sat, 4 Feb 2012 16:36:59 +0000 (11:36 -0500)]
g726enc: use AVCodec.encode2()

12 years agog722enc: use AVCodec.encode2()
Justin Ruggles [Sat, 4 Feb 2012 16:26:33 +0000 (11:26 -0500)]
g722enc: use AVCodec.encode2()

FATE reference updated due timestamp rounding because of resampling from
44100 Hz to 16000 Hz in avconv.

12 years agoflacenc: use AVCodec.encode2()
Justin Ruggles [Fri, 3 Feb 2012 23:43:39 +0000 (18:43 -0500)]
flacenc: use AVCodec.encode2()

12 years agoadpcmenc: update to AVCodec.encode2()
Justin Ruggles [Tue, 31 Jan 2012 20:54:45 +0000 (15:54 -0500)]
adpcmenc: update to AVCodec.encode2()

12 years agoac3enc: update to AVCodec.encode2()
Justin Ruggles [Mon, 30 Jan 2012 00:01:10 +0000 (19:01 -0500)]
ac3enc: update to AVCodec.encode2()

Update FATE references due to encoder delay.

12 years agoaacenc: use AVCodec.encode2()
Justin Ruggles [Sat, 28 Jan 2012 17:28:01 +0000 (12:28 -0500)]
aacenc: use AVCodec.encode2()

12 years agofate/zerocodec: fix permissions
Michael Niedermayer [Tue, 20 Mar 2012 20:21:14 +0000 (21:21 +0100)]
fate/zerocodec: fix permissions

Reported-by: Deamon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoavcodec: add code for a frame queue for use by audio encoders with delay
Justin Ruggles [Thu, 23 Feb 2012 02:52:34 +0000 (21:52 -0500)]
avcodec: add code for a frame queue for use by audio encoders with delay

This simplifies matching of timestamps between input frames and output
packets.

12 years agoavconv: free packet in write_frame() when discarding due to frame number limit
Justin Ruggles [Tue, 20 Mar 2012 19:36:28 +0000 (15:36 -0400)]
avconv: free packet in write_frame() when discarding due to frame number limit

Fixes a memleak when using the -frames option with audio.

12 years agoFATE: use +/- flag option syntax for vp8 emu-edge tests
Justin Ruggles [Tue, 20 Mar 2012 19:10:39 +0000 (15:10 -0400)]
FATE: use +/- flag option syntax for vp8 emu-edge tests

12 years agopngenc: Fix incorrect mask used for interlaced mode.
Michael Niedermayer [Tue, 20 Mar 2012 19:39:32 +0000 (20:39 +0100)]
pngenc: Fix incorrect mask used for interlaced mode.

Fixes Ticket1109

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavf: make av_interleave_packet_per_dts() private.
Anton Khirnov [Thu, 15 Mar 2012 12:37:43 +0000 (13:37 +0100)]
lavf: make av_interleave_packet_per_dts() private.

There is no reason for it to be public, it's only meant to be used
internally.

12 years agolavf: deprecate av_read_packet().
Anton Khirnov [Sun, 4 Mar 2012 20:41:59 +0000 (21:41 +0100)]
lavf: deprecate av_read_packet().

The caller can achieve the same effect (i.e. getting raw unparsed/mangled
packets) with av_read_frame() and AVFMT_FLAG_NOPARSE |
AVFMT_FLAG_NOFILLIN

12 years agooggdec: output correct timestamps for Vorbis
Justin Ruggles [Fri, 24 Feb 2012 02:40:14 +0000 (21:40 -0500)]
oggdec: output correct timestamps for Vorbis

Takes encoder delay into account by comparing first the coded page
duration with the calculated page duration. Handles last packet duration
if needed, also by comparing coded duration with calculated duration.
Also does better handling of timestamp generation for packets in the
first page for streamed ogg files where the start time is not
necessarily zero.

12 years agoavconv: pass input stream timestamps to audio encoders
Justin Ruggles [Thu, 1 Mar 2012 18:02:49 +0000 (13:02 -0500)]
avconv: pass input stream timestamps to audio encoders

5 FATE test references updated due to using demuxer-generated timestamps that
are either not sample-accurate or are slightly off in the input file.

12 years agolavc: shrink encoded audio packet size after encoding.
Justin Ruggles [Tue, 20 Mar 2012 17:21:52 +0000 (13:21 -0400)]
lavc: shrink encoded audio packet size after encoding.

12 years agoxa: set correct bit rate
Justin Ruggles [Tue, 20 Mar 2012 16:13:15 +0000 (12:13 -0400)]
xa: set correct bit rate

Also fixes stream duration calculation.

12 years agoxa: do not set bit_rate, block_align, or bits_per_coded_sample
Justin Ruggles [Tue, 20 Mar 2012 16:00:00 +0000 (12:00 -0400)]
xa: do not set bit_rate, block_align, or bits_per_coded_sample

The values in the header refer to decoded data, not compressed data.

12 years agoxa: fix end-of-file handling
Justin Ruggles [Tue, 20 Mar 2012 15:53:56 +0000 (11:53 -0400)]
xa: fix end-of-file handling

Do not output an extra packet when out_size is reached.
Also return AVERROR_EOF instead of AVERROR(EIO).

12 years agoxa: fix timestamp calculation
Justin Ruggles [Tue, 20 Mar 2012 15:20:54 +0000 (11:20 -0400)]
xa: fix timestamp calculation

The packet duration is always 28 samples.

12 years agobink: fix typo in FFALIGN() argument
Kostya Shishkov [Tue, 20 Mar 2012 17:43:00 +0000 (18:43 +0100)]
bink: fix typo in FFALIGN() argument

12 years agobink: align plane width to 8 when calculating bundle sizes
Kostya Shishkov [Tue, 20 Mar 2012 06:53:41 +0000 (07:53 +0100)]
bink: align plane width to 8 when calculating bundle sizes

This fixes decoding of Bink files with non-multiple-of-16 width.

12 years agopngdec: print error message for truncated pngs even if we output them
Michael Niedermayer [Tue, 20 Mar 2012 13:13:01 +0000 (14:13 +0100)]
pngdec: print error message for truncated pngs even if we output them

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agopngenc: allocate packets that have some chance of being large enough.
Michael Niedermayer [Tue, 20 Mar 2012 13:12:16 +0000 (14:12 +0100)]
pngenc: allocate packets that have some chance of being large enough.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agomxfdec: Only parse next partition pack if parsing forward
Tomas Härdin [Tue, 20 Mar 2012 10:03:48 +0000 (11:03 +0100)]
mxfdec: Only parse next partition pack if parsing forward

This fixes ticket #1099.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agopngdec: dont discard incomplete images.
Michael Niedermayer [Tue, 20 Mar 2012 12:27:37 +0000 (13:27 +0100)]
pngdec: dont discard incomplete images.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agopngdec: Print error messages for the various failure pathes.
Michael Niedermayer [Tue, 20 Mar 2012 12:22:40 +0000 (13:22 +0100)]
pngdec: Print error messages for the various failure pathes.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agodoc: pass -Idoc texi2html and texi2pod
Mans Rullgard [Tue, 20 Mar 2012 10:54:02 +0000 (10:54 +0000)]
doc: pass -Idoc texi2html and texi2pod

This fixes doc generation in build tree separate from source.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agodoc: texi2pod: add -I flag
Mans Rullgard [Tue, 20 Mar 2012 10:53:06 +0000 (10:53 +0000)]
doc: texi2pod: add -I flag

This allows specifying additional directories to search for
@include files.

Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years agomovenc: Add a min_frag_duration option
Martin Storsjö [Mon, 19 Mar 2012 17:31:15 +0000 (19:31 +0200)]
movenc: Add a min_frag_duration option

The other fragmentation options (frag_duration, frag_size and
frag_keyframe) are combined with OR, cutting fragments at the
first of the conditions being fulfilled.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agortsp: Set the default delay to 0.1 s for the RTSP/SDP/RTP demuxers
Martin Storsjö [Mon, 19 Mar 2012 18:40:23 +0000 (20:40 +0200)]
rtsp: Set the default delay to 0.1 s for the RTSP/SDP/RTP demuxers

This enables reordering of UDP packets by default, unless the caller
explicitly sets -max_delay 0.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agolibavformat: Set the default for the max_delay option to -1
Martin Storsjö [Mon, 19 Mar 2012 18:37:10 +0000 (20:37 +0200)]
libavformat: Set the default for the max_delay option to -1

Make the muxers/demuxers that use the field handle the default
-1 in the same way as 0.

This allows distinguishing an intentionally set 0 from the default
value where the user hasn't set it.

Signed-off-by: Martin Storsjö <martin@martin.st>
12 years agoflv: clarify use of video info/cmd frame.
Clément Bœsch [Mon, 19 Mar 2012 13:49:04 +0000 (14:49 +0100)]
flv: clarify use of video info/cmd frame.

Also add generated key frame in the enum, and doxycomment the existing
ones. Descriptions are directly taken from the public specifications.

12 years agoGenerate manpages for AV{Format,Codec}Context AVOptions.
Anton Khirnov [Wed, 14 Mar 2012 19:08:50 +0000 (20:08 +0100)]
Generate manpages for AV{Format,Codec}Context AVOptions.

12 years agodoc/avconv: remove entries for AVOptions.
Anton Khirnov [Thu, 15 Mar 2012 07:17:05 +0000 (08:17 +0100)]
doc/avconv: remove entries for AVOptions.

Documentation for those will be generated automatically.

12 years agoMove AVFormatContext/AVCodecContext option tables to separate files.
Anton Khirnov [Wed, 14 Mar 2012 12:18:20 +0000 (13:18 +0100)]
Move AVFormatContext/AVCodecContext option tables to separate files.

This will allow us to automatically generate manpages for them.

12 years agolavf: use AVStream.discard to disable queueing attached pictures.
Anton Khirnov [Sun, 18 Mar 2012 16:35:49 +0000 (17:35 +0100)]
lavf: use AVStream.discard to disable queueing attached pictures.

12 years agolavf: requeue attached pictures after seeking.
Anton Khirnov [Sun, 18 Mar 2012 16:34:14 +0000 (17:34 +0100)]
lavf: requeue attached pictures after seeking.

This allows the caller to get them without special code even after
seeking before receiving any data.

12 years agoid3v2: set the keyframe flag on attached pictures.
Anton Khirnov [Sun, 18 Mar 2012 16:29:52 +0000 (17:29 +0100)]
id3v2: set the keyframe flag on attached pictures.