No description
Find a file
Rafaël Carré 65c3593792 apedec: do not buffer decoded samples over AVPackets
Only consume an AVPacket when all the samples have been read.

When the rate of samples output is limited (by the default value
of max_samples), consuming the first packet immediately will cause
timing problems:

- The first packet with PTS 0 will output 4608 samples and be
consumed entirely
- The second packet with PTS 64 will output the remaining samples
(typically, a lot, that's why max_samples exist) until the decoded
samples of the first packet have been exhausted, at which point the
samples of the second packet will be decoded and output when
av_decode_frame is called with the next packet).

That means there's a PTS jump since the first packet is 'decoded'
immediately, which can be seen with avplay or mplayer: the timing
jumps immediately to 6.2s (which is the size of a packet).

Sample: http://streams.videolan.org/issues/6348/Goldwave-MAClib.ape

Bug-Debian: http://bugs.debian.org/744901
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
(cherry picked from commit 91d4cfb812)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
2014-05-31 20:07:52 -04:00
doc doc: Point to the correct, actually maintained gas-preprocessor repo 2014-03-16 20:56:04 +02:00
libavcodec apedec: do not buffer decoded samples over AVPackets 2014-05-31 20:07:52 -04:00
libavdevice v4l2: use C99 struct initializer 2012-01-10 05:04:22 +01:00
libavfilter avfilter: Add missing emms_c when needed 2014-05-31 20:05:19 -04:00
libavformat isom: lpcm in mov default to big endian 2014-05-31 20:07:52 -04:00
libavutil samplefmt: avoid integer overflow in av_samples_get_buffer_size() 2014-02-28 23:07:40 -05:00
libpostproc Place some START_TIMER invocations in separate blocks. 2012-01-04 15:05:49 +01:00
libswscale swscale: make filterPos 32bit. 2012-03-08 22:07:55 +01:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests mxfdec: set audio timebase to 1/samplerate 2014-01-07 09:43:58 +01:00
tools aviocat: Remove useless includes 2012-01-21 12:04:02 +02:00
.gitignore Ignore generated aviocat tool. 2013-01-03 15:20:12 +01:00
avconv.c lavc: set the default rc_initial_buffer_occupancy 2013-10-16 22:54:30 +02:00
avplay.c avplay: fix -threads option 2012-02-26 10:03:16 +01:00
avprobe.c avprobe, cmdutils: K&R formatting cosmetics 2012-01-18 21:07:25 +01:00
avserver.c Revert "avserver: fix build after the next bump." 2012-01-21 08:40:47 +01:00
Changelog Update Changelog for 0.8.11 2014-03-13 20:59:00 -04:00
cmdutils.c cmdutils: update copyright year to 2014. 2014-05-31 20:05:18 -04:00
cmdutils.h Read preset files with suffix .avpreset 2012-04-29 22:07:01 +02:00
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
common.mak build: fix 'clean' target 2013-01-03 15:30:45 +01:00
configure configure: use utilities from /usr/xpg4/bin if it exists 2014-05-31 20:05:18 -04:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Doxyfile Fix a bunch of platform name and other typos. 2012-01-11 13:48:30 +01:00
ffmpeg.c cosmetics: Rename ffsink to avsink. 2012-01-19 00:19:43 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: fix 'clean' target 2013-01-03 15:30:45 +01:00
LICENSE cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
Makefile build: fix 'clean' target 2013-01-03 15:30:45 +01:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 0.8.11 Release 2014-02-06 23:26:33 -05:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.