FFmpeg git repo
Go to file
Martin Storsjö 296d0da8bd avplay: Add an option for not limiting the input buffer size
For reading from normal files on disk, the queue limits for
demuxed data work fine, but for reading data from realtime
streams, they mean we're not reading from the input stream
at all once the queue limit has been reached. For TCP streams,
this means that writing to the socket from the peer side blocks
(potentially leading to the peer dropping data), and for UDP
streams it means that our kernel might drop data.

For some protocols/servers, the server initially sends a
large burst with data to fill client side buffers, but once
filled, we should keep reading to avoid dropping data.

For all realtime streams, it IMO makes sense to just buffer
as much as we get (rather in buffers in avplay.c than in
OS level buffers). With this option set, the input thread
should always be blocking waiting for more input data,
never sleeping waiting for the decoder to consume data.

Signed-off-by: Martin Storsjö <martin@martin.st>
2012-07-04 11:11:08 +03:00
doc doc: Remind devs to check return values, especially for malloc() et al 2012-07-02 10:56:54 +02:00
libavcodec flacdec: factor out code setting avctx->sample_fmt 2012-07-04 03:34:34 +01:00
libavdevice Remove unnecessary inclusions of [sys/]time.h 2012-06-20 11:46:46 +01:00
libavfilter cosmetics: Consistently use C-style comments with multiple inclusion guards 2012-07-03 17:35:12 +02:00
libavformat misc typo and wording fixes 2012-07-03 17:35:11 +02:00
libavresample lavr: x86: fix ff_conv_fltp_to_flt_6ch function prototypes 2012-06-26 12:29:35 -04:00
libavutil cosmetics: Consistently use C-style comments with multiple inclusion guards 2012-07-03 17:35:12 +02:00
libswscale bfin: libswscale: add const where appropriate to fix warnings 2012-06-20 02:15:33 +01:00
presets presets: spelling error in libvpx 1080p50_60 2011-10-22 00:28:56 +02:00
tests FATE: add a test for WMA cover art. 2012-07-04 05:59:14 +02:00
tools ismindex: Verify that all bitrate variants match 2012-07-03 22:46:58 +03:00
.gitignore build: Do not delete tests/vsynth2 directory, which is no longer created. 2012-06-13 12:27:49 +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 partially rename FFmpeg to Libav 2011-03-16 21:54:39 +01:00
Changelog MS ATC Screen (aka MSS3) decoder 2012-07-02 07:14:44 +02:00
Doxyfile Fix a bunch of platform name and other typos. 2012-01-11 13:48:30 +01:00
INSTALL doc: clarify configure features 2011-04-07 02:54:12 +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 cosmetics: fix dashed line length after 070c5d0 2011-03-28 09:53:40 +02:00
RELEASE Prepare for 0.8 Release 2012-01-21 14:54:31 +01:00
arch.mak build: Consistently handle conditional compilation for all optimization OBJS. 2012-04-12 09:00:49 +02:00
avconv.c cmdutils: Pass the actual chosen encoder to filter_codec_opts 2012-06-30 15:44:10 +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
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
cmdutils_common_opts.h avtools: add -v as alias for -loglevel 2011-10-09 16:53:06 +01:00
common.mak build: Drop leftover .exp pattern from LIBSUFFIXES list. 2012-05-05 16:32:56 +02:00
configure configure: do not disable av_always_inline with --enable-small 2012-07-03 16:10:54 +01:00
library.mak build: Only clean the architecture subdirectory we build for. 2012-03-26 13:29:03 +02:00
version.sh Drop git- prefix from version labels 2011-06-19 19:41:23 +01:00

README

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

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

* Read the documentation in the doc/ directory.

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

* See the LICENSE file.