FFmpeg git repo
Go to file
Martin Storsjö 715129cdc4 avconv: Set audio filter time base to the sample rate
If the output frame size is smaller than the input sample rate,
and the input stream time base corresponds exactly to the input
frame size (getting input packet timestamps like 0, 1, 2, 3, 4 etc),
the output timestamps from the filter will be like
0, 1, 2, 3, 4, 4, 5 ..., leadning to non-monotone timestamps later.

A concrete example is input mp3 data having frame sizes of 1152
samples, transcoded to aac with 1024 sample frames.

By setting the audio filter time base to the sample rate, we will
get sensible timestamps for all output packets, regardless of
the ratio between the input and output frame sizes.

Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-05 09:57:04 +03:00
doc eval: Add the isinf() function and tests for it 2012-07-04 15:10:56 +03:00
libavcodec vp8: Add ifdef guards around the sse2 loopfilter in the sse2slow branch too 2012-07-05 09:39:01 +03:00
libavdevice Clarify Doxygen comment for FF_API_* #defines. 2012-07-04 15:10:10 +02:00
libavfilter lavfi: reclassify showfiltfmts as a TESTPROG 2012-07-04 17:48:25 +01:00
libavformat mov: use forward declaration of a function instead of a table. 2012-07-04 07:45:30 -07:00
libavresample Clarify Doxygen comment for FF_API_* #defines. 2012-07-04 15:10:10 +02:00
libavutil Clarify Doxygen comment for FF_API_* #defines. 2012-07-04 15:10:10 +02:00
libswscale swscale: yuv2planeX 8bit >=sse2 functions need aligned stack on x86-32. 2012-07-04 08:25:57 -07:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests lavfi: reclassify showfiltfmts as a TESTPROG 2012-07-04 17:48:25 +01:00
tools lavfi: reclassify showfiltfmts as a TESTPROG 2012-07-04 17:48:25 +01:00
.gitignore lavfi: reclassify showfiltfmts as a TESTPROG 2012-07-04 17:48:25 +01:00
arch.mak build: Consistently handle conditional compilation for all optimization OBJS. 2012-04-12 09:00:49 +02:00
avconv.c avconv: Set audio filter time base to the sample rate 2012-07-05 09:57:04 +03:00
avplay.c avplay: Add an option for not limiting the input buffer size 2012-07-04 11:11:08 +03:00
avprobe.c avprobe: Identify codec probe failures rather than calling them unsupported codecs. 2012-06-05 09:51:51 -07:00
avserver.c Remove unnecessary inclusions of [sys/]time.h 2012-06-20 11:46:46 +01:00
Changelog MS ATC Screen (aka MSS3) decoder 2012-07-02 07:14:44 +02:00
cmdutils_common_opts.h
cmdutils.c cmdutils: Pass the actual chosen encoder to filter_codec_opts 2012-06-30 15:44:10 +03:00
cmdutils.h attributes: add av_noreturn 2012-07-03 17:26:51 +02:00
common.mak build: Drop leftover .exp pattern from LIBSUFFIXES list. 2012-05-05 16:32:56 +02:00
configure configure: simplify get_version() 2012-07-04 15:10:08 +02:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1 cosmetics: Delete empty lines at end of file. 2012-02-09 12:26:45 +01:00
COPYING.LGPLv3
CREDITS
Doxyfile Fix a bunch of platform name and other typos. 2012-01-11 13:48:30 +01:00
INSTALL
library.mak build: Only clean the architecture subdirectory we build for. 2012-03-26 13:29:03 +02:00
LICENSE Remove libpostproc. 2012-02-23 19:36:16 +01:00
Makefile build: Add 'check' target to run all compile and test targets. 2012-05-15 19:10:46 +02:00
README
RELEASE Prepare for 0.8 Release 2012-01-21 14:54:31 +01:00
version.sh

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.