1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Go to file
Jindřich Makovička 20a8ee3061 af_asyncts: fix compensation and PTS monotonicity
This patch improves af_asyncts behavior on streams with bogus PTS, which
are either non-monotonic, or contain PTS jitter, and trigger the
non-monotonicity error. With this patch, af_asyncts is able to correct
these streams and avoid the error.

Firstly, it fixes resample compensation calculation by supplying proper
units to avresample_set_compensation (sample count per second instead
of sample count per some arbitrary frame size). Also, the calculation of
the compensation itself is fixed - delta is proportional to an adjustment
of the compensation, not the compensation itself. Ideally, the compensation
should converge to a value that keeps delta at zero.

To be able to deal with sources with PTS jitter even without resampling,
small PTS errors are adjusted, so the output frames do not overlap.

Finally, one more monotonicity check is added.

The FATE reference changes because now there is 8 less samples of
silence because of the pts jitter.

Signed-off-by: Jindřich Makovička <makovick@gmail.com>
2013-03-22 20:09:34 +01:00
compat Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
doc doc/developer: Clarify symbol naming prefixes section. 2013-03-21 14:17:37 +01:00
libavcodec h264: remove redundant freeing of DPB in h264_decode_end 2013-03-21 10:21:11 +01:00
libavdevice Add the bumps and APIchanges entries for reference counted buffers changes. 2013-03-08 07:41:49 +01:00
libavfilter af_asyncts: fix compensation and PTS monotonicity 2013-03-22 20:09:34 +01:00
libavformat rtmp: Pass the parameters to do_adobe_auth in the right order 2013-03-20 12:00:28 +02:00
libavresample lavr: allow setting internal_sample_fmt option by string 2013-02-23 17:07:54 -05:00
libavutil avutil/frame: add all remaining frame properties to av_frame_copy_props 2013-03-22 20:05:37 +01:00
libswscale Replace some forgotten instances of PIX_FMT_* with AV_PIX_FMT_*. 2013-03-08 07:42:09 +01:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests fate: add tests for h264 decoder reinit 2013-03-20 16:04:27 +01:00
tools ismindex: Check the return value of allocations 2013-03-13 20:41:25 +02:00
.gitignore doxygen: Build Doxygen documentation in the doc/ subdirectory 2012-10-23 20:25:30 +02:00
arch.mak arm: rename ARMVFP config symbol to VFP 2012-12-07 16:54:04 +00:00
avconv_filter.c avconv: Make sure the encoder exists before inspecting supported_list 2013-03-06 21:56:10 +02:00
avconv_opt.c avconv: mark attachment streams as immediately finished 2013-03-15 08:59:27 +01:00
avconv.c avconv: convert to new refcounted AVFrame API 2013-03-08 07:40:50 +01:00
avconv.h avconv: convert to new refcounted AVFrame API 2013-03-08 07:40:50 +01:00
avplay.c avplay: remove the -debug option. 2013-03-19 11:12:13 +01:00
avprobe.c Use the avstring.h locale-independent character type functions 2013-03-07 15:16:36 +02:00
avserver.c avserver: don't set deprecated options. 2013-03-08 07:41:07 +01:00
Changelog avconv: do not silently ignore unused codec AVOptions. 2013-03-08 14:15:51 +01:00
cmdutils_common_opts.h cmdutils: extend -h to allow printing codec details. 2012-08-19 19:22:08 +02:00
cmdutils.c avconv: print an error on applying options of the wrong type. 2013-03-08 14:12:43 +01:00
cmdutils.h avconv: print an error on applying options of the wrong type. 2013-03-08 14:12:43 +01:00
common.mak build: Ensure that output directories for header objects are created 2013-02-20 00:45:30 +01:00
configure configure: Enable hwaccels without external dependencies by default. 2013-03-21 14:19:03 +01: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 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01: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
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +02:00
library.mak build: Make library minor version visible in the Makefile 2013-02-11 20:17:15 +01:00
LICENSE LICENSE: Move (L)GPLv3 explanation block to a more suitable place 2013-02-27 19:51:10 +01:00
Makefile build: Add proper infrastructure for adding and checking host CPPFLAGS 2013-02-23 20:23:45 +01:00
README cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 10_alpha1 Release 2013-01-06 16:23:12 +01: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.