FFmpeg git repo
Go to file
Luca Barbato d9ae1031f5 lavf: improve handling of sparse streams when muxing
Currently ff_interleave_packet_per_dts() waits until it gets a frame for
each stream before outputting packets in interleaved order.

Sparse streams (i.e. streams with much fewer packets than the other
streams, like subtitles or audio with DTX) tend to add up latency and in
specific cases end up allocating a large amount of memory.

Emit the top packet from the packet_buffer if it has a time delta
larger than a specified threshold.

Original report of the issue and initial proposed solution by
mus.svz@gmail.com.

Bug-id: 31
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-02-04 22:01:42 +01:00
compat
doc lavf: improve handling of sparse streams when muxing 2014-02-04 22:01:42 +01:00
libavcodec lagarith: reallocate rgb_planes when needed 2014-02-04 22:00:27 +01:00
libavdevice
libavfilter vf_overlay: add eof_action switch 2014-02-04 10:54:26 +01:00
libavformat lavf: improve handling of sparse streams when muxing 2014-02-04 22:01:42 +01:00
libavresample
libavutil samplefmt: avoid integer overflow in av_samples_get_buffer_size() 2014-02-04 12:32:47 -05:00
libswscale rgb2rgb_template: add MMX/SSE2/AVX-optimized deinterleaveBytes 2014-01-21 18:03:41 +01:00
presets
tests fate: add xvid test for custom matrices 2014-01-31 11:12:31 +01:00
tools
.gitignore
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog
INSTALL
LICENSE
Makefile
README
RELEASE
arch.mak
avconv.c
avconv.h
avconv_filter.c
avconv_opt.c
avconv_vdpau.c
avplay.c
avprobe.c
avserver.c
cmdutils.c
cmdutils.h
cmdutils_common_opts.h
common.mak
configure configure: clang: explicitly state dep file and rule name in DEPFLAGS 2014-01-25 21:50:21 +01:00
library.mak
version.sh

README

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.