summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
Commit message (Collapse)AuthorAge
* mpegenc/mpegtsenc: add muxrate private options.Anton Khirnov2011-10-17
| | | | Deprecate AVFormatContext.mux_rate.
* lavf: use designated initialisers for all (de)muxers.Anton Khirnov2011-07-17
| | | | It's more readable and less prone to breakage.
* Do not include mathematics.h in avutil.hMans Rullgard2011-07-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.Diego Biurrun2011-06-10
|
* Remove stray extra arguments from av_dlog() invocations.Diego Biurrun2011-06-02
|
* Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun2011-04-29
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* avio: rename put_flush_packet -> avio_flushAnton Khirnov2011-03-16
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: avio: avio_ prefixes for put_* functionsAnton Khirnov2011-02-21
| | | | | | | | | | | | In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* avio: rename ByteIOContext to AVIOContext.Anton Khirnov2011-02-20
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.Diego Elio Pettenò2011-01-26
| | | | | This also lists the objects from those two libraries as internal (by adding the ff_ prefix) so that they can then be hidden via linker scripts.
* Avoid negative SCR in mpeg ps muxer.Michael Niedermayer2010-10-16
| | | | | | Fixes a scr issue reported with dvdauthor ([FFmpeg-user] FFMPEG encoded MPEG-2 video causes error in DVDAuthor) Originally committed as revision 25512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a space between the else and { in mpegenc.c in the line i added.Michael Niedermayer2010-10-08
| | | | Originally committed as revision 25414 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warn if muxing mpeg ps is attempted without a VBV buffer size.Michael Niedermayer2010-10-07
| | | | Originally committed as revision 25385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Init SCR in mpeg muxer based on first DTS.Michael Niedermayer2010-10-07
| | | | | | This fixes issues if the first DTS is far away from 0. Originally committed as revision 25383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* put_bits can only reliably write up to 31 bit bits, above it relies onReimar Döffinger2009-10-01
| | | | | | | | undefined shift behaviour. Document this, fix the assert and add a put_bits32 to handle writing 32 bits and use that where necessary. Originally committed as revision 20124 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set restrictions on packet_size, as per ISO-11172 / H-222 specificationsRonald S. Bultje2009-06-17
| | | | | | | | | (max packet size should fit in 13 bits as a kB value, so 1<<23, plus the header which is 10 bytes), and as per mpegenc.c internal assumptions (min packet size is 20 bytes). See "[PATCH] make packet_size in AVFormatContext unsigned" thread. Originally committed as revision 19215 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fail if stream fifo could not be allocatedBaptiste Coudurier2009-05-22
| | | | Originally committed as revision 18897 to svn://svn.ffmpeg.org/ffmpeg/trunk
* correctly check for audio streams in mpeg ps muxer, fix multiple audio tracksBaptiste Coudurier2009-05-21
| | | | Originally committed as revision 18891 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename pbBufPtr() to put_bits_ptr().Stefano Sabatini2009-04-13
| | | | | | | The new name is more readable and consistent with the FFmpeg naming style. Originally committed as revision 18497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split bitstream.h, put the bitstream writer stuff in the new fileStefano Sabatini2009-04-12
| | | | | | put_bits.h. Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reorder arguments for av_fifo_generic_read to be more logical andReimar Döffinger2009-03-09
| | | | | | consistent with av_fifo_generic_write. Originally committed as revision 17914 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate AVFifoBuffer through the fifo API to reduce future API/ABI issues.Michael Niedermayer2009-03-08
| | | | | | | Yes this breaks ABI/API but ive already broken it and will bump avutil major soon. Originally committed as revision 17869 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* vertical alignMichael Niedermayer2008-08-26
| | | | Originally committed as revision 14972 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace invocations of av_fifo_realloc(), which is going to beStefano Sabatini2008-08-19
| | | | | | deprecated, with corresponding invocations of av_fifo_realloc2(). Originally committed as revision 14848 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: make all references to AC-3 capitalized and hyphenatedJustin Ruggles2008-08-03
| | | | Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.Stefano Sabatini2008-06-03
| | | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste.it along with some spelling/consistency fixes for the long names by me Originally committed as revision 13649 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_fifo_generic_write, old func is deprecatedBaptiste Coudurier2008-05-28
| | | | Originally committed as revision 13511 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that one can store X bytes in a fifo of size X.Michael Niedermayer2008-05-25
| | | | | | Fixed issue417. Originally committed as revision 13405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_fifo*_read() ignore the available amount of data.Michael Niedermayer2008-05-25
| | | | | | | | | | | | This is more efficient as in practice the check is redundant most of the time. Callers which do not know if enough data is available have to check it with av_fifo_size(). Doing the check in *read() means the caller has no choice to skip the check when its known to be redundant. Also the return value was never documented in a public header so changing it should not break the API. Besides this fixes the case where read() failed on a 100% full fifo. Originally committed as revision 13404 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full path for #includes from another directory.Diego Biurrun2008-05-09
| | | | Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
* init to 0, fix warning: mpegenc.c:1022: warning: 'avail_space' may be used ↵Baptiste Coudurier2008-01-31
| | | | | | uninitialized in this function Originally committed as revision 11683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add parenthesis, fix warning: mpegenc.c:303: warning: suggest parentheses ↵Baptiste Coudurier2008-01-31
| | | | | | around && within || Originally committed as revision 11682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use dynamically allocated ByteIOContext in AVFormatContextBjörn Axelsson2007-11-21
| | | | | | | patch by: Björn Axelsson, bjorn d axelsson a intinor d se thread: [PATCH] Remove static ByteIOContexts, 06 nov 2007 Originally committed as revision 11071 to svn://svn.ffmpeg.org/ffmpeg/trunk
* loosen dependencies over allformats.hAurelien Jacobs2007-09-16
| | | | Originally committed as revision 10513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert 10409Michael Niedermayer2007-09-05
| | | | | | | there is no need for put_timestamp to be exported it is not used outside the PES code Originally committed as revision 10410 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export put_timestamp()Michael Niedermayer2007-09-05
| | | | | | this will be needed for spliting the PES muxer code out Originally committed as revision 10409 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove likely wrong reseting of align_iframeMichael Niedermayer2007-07-15
| | | | | | | same md5 with a short -t dvd encoding fixes streamcopy of dvd Originally committed as revision 9687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Avoid using undefined symbols.Aurelien Jacobs2007-07-14
| | | | | | | | | This fixes the following option set: --disable-encoders --disable-decoders --disable-parsers --disable-bsfs --disable-muxers --disable-demuxers --disable-protocols --enable-muxer=mpeg1system Originally committed as revision 9650 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use allformats.hBaptiste Coudurier2007-06-21
| | | | Originally committed as revision 9384 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove now useless ifdefBaptiste Coudurier2007-06-21
| | | | Originally committed as revision 9383 to svn://svn.ffmpeg.org/ffmpeg/trunk
* split mpeg ps and variants muxer and demuxer, I'll clean more in a few ↵Baptiste Coudurier2007-06-21
minutes, lpcm freq tab is left static const in mpeg.h for now until we have more code in common Originally committed as revision 9382 to svn://svn.ffmpeg.org/ffmpeg/trunk