summaryrefslogtreecommitdiff
path: root/libavformat/mpegenc.c
Commit message (Collapse)AuthorAge
* mpegenc: limit the maximum muxrateAnton Khirnov2014-08-27
| | | | | | It is written to the file as a 22-bit value. CC: libav-stable@libav.org
* mpeg: Write H264 streams at offset 2Luca Barbato2014-08-26
| | | | It hints that the content is H264 according to HD-DVD.
* mpeg: Suppress a compiler warning on callback typeLuca Barbato2014-08-09
|
* mpeg: K&R formatting cosmeticsLuca Barbato2014-08-08
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|
* avformat: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-05
|
* avformat: Convert some commented-out printf/av_log instances to av_dlogDiego Biurrun2012-10-01
|
* avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-04
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-07
|
* Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-30
|
* avformat: Drop pointless "format" from container long namesDiego Biurrun2012-07-30
|
* mpegenc: remove disabled codeDiego Biurrun2012-07-21
|
* mpegmux: add stuffing to avoid incomplete PCM framesJanne Grunau2012-05-06
| | | | Fixes https://bugzilla.libav.org/show_bug.cgi?id=244
* libavformat: Set the default for the max_delay option to -1Martin Storsjö2012-03-20
| | | | | | | | | | Make the muxers/demuxers that use the field handle the default -1 in the same way as 0. This allows distinguishing an intentionally set 0 from the default value where the user hasn't set it. Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: remove disabled FF_API_PRELOAD cruftAnton Khirnov2012-01-27
|
* lavf: remove disabled FF_API_MUXRATE cruftAnton Khirnov2012-01-27
|
* mpegenc: simplify muxrate calculationJanne Grunau2012-01-02
| | | | | | | The fate-h264-bsf-mp4toannexb failures were caused by an integer overflow of the unneeded multiplication. Inspired by patch by: Michael Niedermayer <michaelni@gmx.at>
* lavf: make av_set_pts_info private.Anton Khirnov2011-11-30
| | | | It's supposed to be called only from (de)muxers.
* mpegenc: add preload private option.Anton Khirnov2011-10-25
| | | | Deprecate AVFormatContext.preload.
* 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