1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libavformat
James Zern ac9baa716b matroskaenc: Mux clusters better
Start them on keyframes when reasonable, and delay writing audio packets
to help ensure that there's audio samples available for the first frame in
clusters.

Patch by James Zern <jzern at google>

Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:50 +00:00
..
4xm.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
adts.h In mpegts muxer, write adts header if aac bitstream does not contain it 2010-03-09 00:18:49 +00:00
adtsenc.c In mpegts muxer, write adts header if aac bitstream does not contain it 2010-03-09 00:18:49 +00:00
aea.c Reduce the score for the aea demuxer probing function. 2010-05-23 22:01:27 +00:00
aiff.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
aiffdec.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
aiffenc.c
allformats.c On2 IVF demuxer 2010-05-27 21:23:04 +00:00
amr.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
anm.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
apc.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
ape.c Replace all remaining occurrences of AVERROR_NOMEM with 2010-04-03 14:15:00 +00:00
apetag.c Replace all remaining occurrences of AVERROR_NOMEM with 2010-04-03 14:15:00 +00:00
apetag.h
asf.c Remove superfluous space from a conversion table. 2010-03-31 09:22:31 +00:00
asf.h Move put_le16_nolen() to asf.c and give it a ff_ prefix. This way, it is easier 2010-03-24 18:40:43 +00:00
asfcrypt.c
asfcrypt.h
asfdec.c Parse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own packet. 2010-05-26 04:22:52 +00:00
asfenc.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
assdec.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
assenc.c
au.c Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type. 2010-05-31 10:47:36 +00:00
audiointerleave.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
audiointerleave.h
avc.c
avc.h
avformat.h metadata: mention how to remove tags. 2010-06-04 13:52:45 +00:00
avi.c
avi.h
avidec.c Disable non interleaved avi code when there is no index available. 2010-05-20 18:34:44 +00:00
avienc.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
avio.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
avio.h Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
aviobuf.c Do not initialize res in url_fseek(), in the case !s->seek directly 2010-04-21 21:19:25 +00:00
avisynth.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
avlanguage.c
avlanguage.h
avs.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
bethsoftvid.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
bfi.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
bink.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
c93.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
caf.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
caf.h Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
cafdec.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
cdg.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
concat.c Fix concat seeking SEEK_END case. 2010-03-08 00:40:22 +00:00
crcenc.c
cutils.c Move the internal function declarations in avformat.h to internal.h. 2010-04-11 21:44:23 +00:00
daud.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
dsicin.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
dv.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
dv.h
dvenc.c Add missing internal.h #include for brktimegm(), fixes the warning: 2010-04-20 14:41:55 +00:00
dxa.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
eacdata.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
electronicarts.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
ffm.h
ffmdec.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
ffmenc.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
file.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
filmstripdec.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
filmstripenc.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
flacdec.c Replace all remaining occurrences of AVERROR_NOMEM with 2010-04-03 14:15:00 +00:00
flacenc_header.c Put ff_flac_write_header() in a separate C file to allow it to be shared without 2010-03-23 23:58:45 +00:00
flacenc.c Move ff_flac_write_header() to flacenc.h, which removes the Matroska muxer's 2010-03-22 21:58:38 +00:00
flacenc.h Put ff_flac_write_header() in a separate C file to allow it to be shared without 2010-03-23 23:58:45 +00:00
flic.c Made FLIC demuxer capable of handling the videos from "X-COM: Terror from the Deep". 2010-04-22 09:04:33 +00:00
flv.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
flvdec.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
flvenc.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
framecrcenc.c
gif.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
gopher.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
gxf.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
gxf.h
gxfenc.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
http.c http: Set http_code to 200 when doing a POST 2010-06-04 06:35:12 +00:00
httpauth.c Use AV_BASE64_SIZE() macro 2010-06-04 01:15:41 +00:00
httpauth.h Add support for http digest authentication 2010-03-25 13:58:26 +00:00
id3v1.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
id3v1.h
id3v2.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
id3v2.h
idcin.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
idroq.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
iff.c Reindent after r23112. 2010-05-13 15:41:49 +00:00
img2.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
internal.h Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
ipmovie.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
isom.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
isom.h Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
iss.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
iv8.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
ivfdec.c On2 IVF demuxer 2010-05-27 21:23:04 +00:00
libavformat.v
libnut.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
librtmp.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
lmlm4.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
Makefile On2 IVF demuxer 2010-05-27 21:23:04 +00:00
matroska.c matroska: Add V_VP8 2010-05-19 16:50:06 +00:00
matroska.h
matroskadec.c matroskadec: avoid potential crash after r23169 2010-05-25 22:55:12 +00:00
matroskaenc.c matroskaenc: Mux clusters better 2010-06-04 22:40:50 +00:00
md5enc.c Add -f framemd5 muxer similar to framecrc. 2010-05-24 17:49:26 +00:00
metadata_compat.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
metadata.c reindent after previous commit. 2010-06-04 07:33:34 +00:00
metadata.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
mm.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
mmf.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
mmst.c MMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>. 2010-05-24 21:59:32 +00:00
mov.c change author metadata to artist in mov de/muxer 2010-05-23 21:03:14 +00:00
movenc.c write 3gp perf tag for artist metadata 2010-05-23 21:06:11 +00:00
movenc.h Use a heuristic for describing the RTP packets using sample data 2010-05-18 19:48:25 +00:00
movenchint.c Take ff_write_chained in use in the mov rtp hinter and in the rtsp muxer 2010-05-21 07:08:29 +00:00
mp3.c Set AVFMT_NOTIMESTAMPS flag for mp3 muxer 2010-04-20 01:41:00 +00:00
mpc8.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
mpc.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
mpeg.c Skip pes payload during probing to avoid start code emulation. 2010-05-24 12:32:13 +00:00
mpeg.h
mpegenc.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
mpegts.c In ts demuxer, output pes packet as soon as they are complete. 2010-05-18 17:28:07 +00:00
mpegts.h
mpegtsenc.c Move the internal function declarations in avformat.h to internal.h. 2010-04-11 21:44:23 +00:00
mpjpeg.c
msnwc_tcp.c Replace all remaining occurrences of AVERROR_NOMEM with 2010-04-03 14:15:00 +00:00
mtv.c Fix MTV decoding on big-endian systems 2010-04-21 13:00:48 +00:00
mvi.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
mxf.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
mxf.h
mxfdec.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
mxfenc.c Make ff_random_get_seed public, rename to av_get_random_seed, export the header 2010-05-23 08:53:40 +00:00
ncdec.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
network.h Fix compile error on mingw where ETIMEDOUT is missing (because it's a WSA error). 2010-04-15 18:27:27 +00:00
nsvdec.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
nut.c Add support for the newly added Nut codec tags (added in Nut r669): 2010-05-26 22:26:19 +00:00
nut.h Define ff_nut_video_tags and make Nut muxer and demuxer set it in 2010-05-23 18:34:15 +00:00
nutdec.c Make the nut decoder read the ff_nut_video_tags to detect codec id of 2010-05-23 18:34:18 +00:00
nutenc.c Make write_streamheader() log a message if there is no codec tag 2010-06-02 21:57:40 +00:00
nuv.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
oggdec.c Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many 2010-05-23 23:33:38 +00:00
oggdec.h oggdec: Remove write-only variable 2010-04-16 12:21:29 +00:00
oggenc.c In ogg muxer, use random serial number of each ogg streams 2010-05-24 23:37:33 +00:00
oggparsedirac.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
oggparseflac.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
oggparseogm.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
oggparseskeleton.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
oggparsespeex.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
oggparsetheora.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
oggparsevorbis.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
oma.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
options.c Add a flag for enabling RTP hinting 2010-05-18 19:34:21 +00:00
os_support.c Move resolve_host() to ffserver.c 2010-03-08 18:43:27 +00:00
os_support.h win32: Use _fstati64() instead of plain old fstat() on Windows to support file 2010-06-03 20:41:04 +00:00
output-example.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
psxstr.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
pva.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
qcp.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
qtpalette.h
r3d.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
raw.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
raw.h
rdt.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rdt.h
riff.c Samsung uses SIPP as FourCC for MPEG-4 ASP. 2010-05-25 10:35:50 +00:00
riff.h Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
rl2.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rm.c Move rm_codec_tags to rm.c so muxer/demuxer can share it. 2010-05-28 18:18:33 +00:00
rm.h Move rm_codec_tags to rm.c so muxer/demuxer can share it. 2010-05-28 18:18:33 +00:00
rmdec.c Move rm_codec_tags to rm.c so muxer/demuxer can share it. 2010-05-28 18:18:33 +00:00
rmenc.c Reindent after r23361. 2010-05-28 18:21:57 +00:00
rpl.c Mark av_metadata_set() as deprecated, and use av_metadata_set2() 2010-04-25 14:27:42 +00:00
rtmp.h
rtmppkt.c 1l trocadero: forgot reference operator on bytestream_get_be32() argument 2010-03-07 08:52:53 +00:00
rtmppkt.h
rtmpproto.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
rtp.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
rtp.h Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
rtpdec_amr.c Replace all remaining occurrences of AVERROR_NOMEM with 2010-04-03 14:15:00 +00:00
rtpdec_amr.h
rtpdec_asf.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rtpdec_asf.h
rtpdec_h263.c Replace all remaining occurrences of AVERROR_NOMEM with 2010-04-03 14:15:00 +00:00
rtpdec_h263.h
rtpdec_h264.c Remove stray and possibly wrong line, rtpdec.c sets that already 2010-06-03 16:51:29 +00:00
rtpdec_h264.h
rtpdec_xiph.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rtpdec_xiph.h Merge Vorbis / Theora depayloaders. 2010-04-01 21:43:22 +00:00
rtpdec.c Reset RTCP timestamps after seeking, add range start offset to the packets timestamps 2010-04-20 07:38:52 +00:00
rtpdec.h Reset RTCP timestamps after seeking, add range start offset to the packets timestamps 2010-04-20 07:38:52 +00:00
rtpenc_aac.c
rtpenc_amr.c
rtpenc_h263.c Fix a crash in the H.263 RTP packetizer 2010-03-11 16:26:14 +00:00
rtpenc_h264.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
rtpenc_mpv.c
rtpenc.c Make ff_random_get_seed public, rename to av_get_random_seed, export the header 2010-05-23 08:53:40 +00:00
rtpenc.h
rtpproto.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
rtsp.c Fix a crash when opening WMS RTSP streams 2010-05-19 09:46:29 +00:00
rtsp.h Change default number of channels (used if unspecified in the format desc) 2010-06-01 20:00:26 +00:00
rtspcodes.h
rtspenc.c rtspenc: Write the interleaving header in the same buffer as the packet data 2010-06-04 06:42:39 +00:00
sdp.c Make ff_sdp_write_media a lavf-internal function 2010-05-18 19:32:59 +00:00
seek.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
seek.h
segafilm.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
sierravmd.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
siff.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
smacker.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
sol.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
sox.h
soxdec.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
soxenc.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
spdif.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
swf.h
swfdec.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
swfenc.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
tcp.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
thp.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
tiertexseq.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
timefilter.c
timefilter.h
tmv.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
tta.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
txd.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
udp.c Declare the url_write buffer parameter as const 2010-06-01 07:46:23 +00:00
utils.c Make the error message issued in case of invalid codec tag more 2010-06-02 10:54:53 +00:00
vc1test.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
vc1testenc.c Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY. 2010-03-31 12:29:58 +00:00
voc.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
voc.h
vocdec.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
vocenc.c Move AVCodecTag from riff.h into internal.h. 2010-05-22 16:01:32 +00:00
vorbiscomment.c Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
vorbiscomment.h Add VorbisComment writing to FLAC files. 2010-03-20 13:36:43 +00:00
vqf.c Use a suitable timebase in VQF demuxer 2010-04-13 01:19:59 +00:00
wav.c
wc3movie.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
westwood.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
wv.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00
xa.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
yop.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
yuv4mpeg.c Define AVMediaType enum, and use it instead of enum CodecType, which 2010-03-30 23:30:55 +00:00