Go to file
Ronald S. Bultje 7a160bca83 Fix index generation in the way that it was supposed to be used. See the
discussion in the ML thread "[PATCH] rmdec.c: merge old/new packet reading
code".

Over time, this code broke somewhat, e.g. seq was never actually written
into (and was thus always 1, therefore the seq condition was always true),
whereas it was supposed to be set to the sequence number of the video slice
in case the video frame is divided over multiple RM packets (slices). The
problem of this is that packets other than those containing the beginning
of a video frame would be indexed as well.
Secondly, flags&2 is supposed to be true for video keyframes and for these
audio packets containing the start of a block. For some codecs (e.g. AAC),
that is every single packet, whereas for others (e.g. cook), that is the
packet containing the first of a series of scrambled packets that are to be
descrambled together. Indexing any of the following would lead to incomplete
and thus useless frames. Problem here is that flags would be reset to 2 to
indicate that the first packet is ready to be returned, and in addition if
no data was left to be returned (which is always true for the first packet),
then we wouldn't actually write the index entry anyway.
All in all, the idea was good and it probably worked at some point, but that
is long ago. This patch should at the very least make it likely for this code
to be executed again at the right times, i.e. the way it was originally
intended to be used.

Originally committed as revision 17993 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-15 20:14:25 +00:00
doc Add an example showing how to create a video from many images. 2009-03-14 10:18:18 +00:00
ffpresets The default subq value in the x264 CLI is now 6, not 5. 2009-01-25 21:28:56 +00:00
libavcodec Add cook channel count function, part of multichannel cook 2009-03-15 19:36:45 +00:00
libavdevice Fix AVFMT_FLAG_NONBLOCK in alsa 2009-03-07 18:17:13 +00:00
libavfilter Remove old scaler. 2009-03-03 22:51:30 +00:00
libavformat Fix index generation in the way that it was supposed to be used. See the 2009-03-15 20:14:25 +00:00
libavutil Remove code that was disabled by the recent major version bump. 2009-03-15 17:20:24 +00:00
libpostproc Add av_uninit to vbA[1-8], vbB[1-8] variables to work around 2009-03-14 19:14:40 +00:00
libswscale Make the source buffer operands parametrized in the YSCALEYUV2RGB_YA macro 2009-03-14 08:11:03 +00:00
tests use utc time for timestamp and do not set it if not specified 2009-03-14 23:39:52 +00:00
tools patcheck: Replace non-POSIX echo -e with printf. 2009-03-11 19:13:15 +00:00
Changelog VQF demuxer 2009-03-07 22:42:09 +00:00
cmdutils.c Rename avctx_opts to avcodec_opts. 2009-03-03 23:32:10 +00:00
cmdutils.h Rename avctx_opts to avcodec_opts. 2009-03-03 23:32:10 +00:00
common.mak Mark all clean targets as phony. 2009-03-13 15:55:16 +00:00
configure Force ebp_available for icc. 2009-03-15 13:22:41 +00:00
COPYING.GPL Rename COPYING to COPYING.LGPL, add COPYING.GPL with the text of the GPLv2. 2007-07-12 20:27:07 +00:00
COPYING.LGPL Rename COPYING to COPYING.LGPL, add COPYING.GPL with the text of the GPLv2. 2007-07-12 20:27:07 +00:00
CREDITS it seems I never added myself in there before 2009-02-02 22:45:01 +00:00
Doxyfile HAVE_3DNOW --> HAVE_AMD3DNOW 2009-01-26 08:36:06 +00:00
ffmpeg.c add loglevel option to set libav* logging level, -v does not set it anymore 2009-03-15 07:23:18 +00:00
ffplay.c Switch ffplay to new seeking API. 2009-03-14 16:24:30 +00:00
ffserver.c Bump major version of libavutil due to FIFO fixes. 2009-03-08 14:33:30 +00:00
ffserver.h Add FFMPEG_ prefix to all multiple inclusion guards. 2007-10-17 09:37:46 +00:00
INSTALL Clarify that we require GNU make 3.81+. 2008-11-08 19:47:10 +00:00
MAINTAINERS add my gpg key fingerprint 2009-03-15 11:21:11 +00:00
Makefile Remove 'lib' and 'swscale-error' from list of phony targets. 2009-03-13 15:56:29 +00:00
output_example.c Make output_example use av_interleaved_write_frame() instead of av_write_frame(). 2009-02-18 11:46:14 +00:00
README Update information regarding LGPL libswscale. 2009-02-24 14:53:46 +00:00
subdir.mak Remove other shared lib names from linker command line for shared libs 2008-12-13 15:31:30 +00:00
version.sh Directly read the version number from a VERSION file; useful for releases. 2009-03-05 23:17:11 +00:00

FFmpeg README
-------------

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

* Read the documentation in the doc/ directory.

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

* Read the file COPYING.LGPL. FFmpeg and the associated libraries EXCEPT
  for libpostproc are licensed under the GNU Lesser General Public License.

* libpostproc is distributed under the GNU General Public License, see the
  file COPYING.GPL for details. Its compilation and use in FFmpeg is optional.

* libswscale contains some optional processor-specific optimizations that are
  distributed under the GNU General Public License.

* The files libavcodec/x86/idct_mmx.c, libavcodec/x86/h264_deblock_sse2.asm
  and libavcodec/x86/h264_idct_sse2.asm are distributed under the GNU General
  Public License. They are strictly optimizations and their use is optional.

* The file libavcodec/ac3dec.c is distributed under the GNU General Public
  License.  In order for (E-)AC-3 decoding to work you need to enable GPL
  components.

* The file libavdevice/x11grab.c is distributed under the GNU General
  Public License. X11 grabbing is optional.

* The files libavcodec/jfdctfst.c, libavcodec/jfdctint.c, libavcodec/jrevdct.c
  are taken from libjpeg, see the top of the files for licensing details.

* The file libavcodec/fdctref.c is copyrighted by the MPEG Software Simulation
  Group with all rights reserved. It is only used to create a DCT test program
  and not compiled into libavcodec.

* Some external libraries are under GPL. If you wish to use them with FFmpeg,
  you have to configure FFmpeg as GPL as well.