Statistics
| Branch: | Revision:

ffmpeg / libavformat / matroskaenc.c @ f9ff7179

History | View | Annotate | Download (34.4 KB)

# Date Author Comment
f9ff7179 03/09/2010 04:23 AM David Conrad

mkvenc: Handle negative timestamps correctly

Originally committed as revision 22372 to svn://svn.ffmpeg.org/ffmpeg/trunk

654b65d0 03/09/2010 04:23 AM David Conrad

mkvenc: Don't try to write packets with unknown timestamps

Originally committed as revision 22371 to svn://svn.ffmpeg.org/ffmpeg/trunk

84d4e599 03/09/2010 04:23 AM David Conrad

mkvenc: write dts for VFW mode

Originally committed as revision 22370 to svn://svn.ffmpeg.org/ffmpeg/trunk

871b641b 03/04/2010 08:53 AM David Conrad

Ensure that we write clusters and blocks with known size when streaming

Too many demuxers can't cope with clusters of unknown size.

Originally committed as revision 22201 to svn://svn.ffmpeg.org/ffmpeg/trunk

434a70b8 03/04/2010 08:53 AM David Conrad

Fix indentation

Originally committed as revision 22200 to svn://svn.ffmpeg.org/ffmpeg/trunk

30f06a58 03/04/2010 08:53 AM David Conrad

Simplify starting and ending clusters

Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk

7a2a4840 03/04/2010 08:53 AM David Conrad

Write the first seekhead if writing to a stream, we won't be able to seek
back and write it at the end

Originally committed as revision 22198 to svn://svn.ffmpeg.org/ffmpeg/trunk

2529bb30 03/04/2010 08:53 AM David Conrad

Attempt seeking to write EBML master sizes even if streamed

Most EBML masters are much smaller than IO_BUFFER_SIZE and thus the size
can be updated. This makes parsing the resulting files easier.

Originally committed as revision 22197 to svn://svn.ffmpeg.org/ffmpeg/trunk

690b4126 03/03/2010 11:27 PM Anton Khirnov

matroskaenc: use "title" tag instead of "description" in track title.

Patch by Anton Khirnov < whyskas at gmail >

Originally committed as revision 22187 to svn://svn.ffmpeg.org/ffmpeg/trunk

e380b918 01/21/2010 08:49 PM Rafaël Carré

mkvenc: Write TrackTimecodeScale
patch by Rafael (dot) Carre (a) gmail (d) com

Originally committed as revision 21372 to svn://svn.ffmpeg.org/ffmpeg/trunk

2bd0758e 10/18/2009 12:17 PM Anton Khirnov

matroskaenc: Add support for writing chapters.
patch by Anton Khirnov wyskas at gmail dot com

Originally committed as revision 20277 to svn://svn.ffmpeg.org/ffmpeg/trunk

1a40491e 06/22/2009 11:09 PM Daniel Verkamp

Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu

Originally committed as revision 19254 to svn://svn.ffmpeg.org/ffmpeg/trunk

2578326f 02/26/2009 02:41 AM Justin Ruggles

Share the function to write a raw FLAC header and use it in the Matroska
muxer.

Originally committed as revision 17606 to svn://svn.ffmpeg.org/ffmpeg/trunk

59c6178a 02/26/2009 02:29 AM Justin Ruggles

Use a shared function to validate FLAC extradata.

Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk

25918212 02/24/2009 03:04 PM Michael Niedermayer

Add AVFMT_VARIABLE_FPS to specify which muxers do not need duplicated frames.

Originally committed as revision 17554 to svn://svn.ffmpeg.org/ffmpeg/trunk

5e565998 02/15/2009 04:53 PM Aurelien Jacobs

matroskaenc: use new metadata API

Originally committed as revision 17336 to svn://svn.ffmpeg.org/ffmpeg/trunk

5f8bae8d 01/20/2009 12:52 AM Aurelien Jacobs

matroskaenc: correctly handle h264 streams with 3 bytes nal startcodes
This implies using ff_avc_parse_nal_units_buf instead of ff_avc_parse_nal_units
because with 3 bytes startcodes the parsed packet size will change, and the
size must be written before the packet content....

3194b004 01/17/2009 04:31 AM David Conrad

Cosmetics: indent

Originally committed as revision 16652 to svn://svn.ffmpeg.org/ffmpeg/trunk

1c3db2aa 01/17/2009 04:31 AM David Conrad

Treat disposition==0 as undefined and don't write the default flag

Originally committed as revision 16651 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a86aaa3 01/17/2009 04:30 AM David Conrad

Flush the buffer after writing the header and when done with writing the files
Fixes writing small (~4kb) files.

Originally committed as revision 16650 to svn://svn.ffmpeg.org/ffmpeg/trunk

ca93bc17 01/15/2009 02:07 PM Luca Abeni

Reindent after last commit

Originally committed as revision 16617 to svn://svn.ffmpeg.org/ffmpeg/trunk

0a63a676 01/15/2009 02:03 PM Luca Abeni

Do not reallocate AVPacket's data when muxing a packet

Originally committed as revision 16616 to svn://svn.ffmpeg.org/ffmpeg/trunk

6a5d31ac 01/11/2009 10:19 PM Diego Biurrun

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.

Originally committed as revision 16556 to svn://svn.ffmpeg.org/ffmpeg/trunk

abce34d9 10/22/2008 09:14 PM Aurelien Jacobs

matroskaenc: require global header
fixes issue696

Originally committed as revision 15667 to svn://svn.ffmpeg.org/ffmpeg/trunk

b7f4e76d 10/04/2008 10:57 PM Aurelien Jacobs

matroskaenc: correct muxing of ASS packets
- split packets to store one ASS event line per Matroska block
- reformat ASS events to Matroska modified format
- extract display duration for ASS events to store as Matroska block duration

Originally committed as revision 15561 to svn://svn.ffmpeg.org/ffmpeg/trunk

291902c2 10/04/2008 10:47 PM Aurelien Jacobs

matroskaenc: use correct EBML ID for block duration

Originally committed as revision 15560 to svn://svn.ffmpeg.org/ffmpeg/trunk

1bfbe8ff 10/04/2008 10:44 PM Aurelien Jacobs

matroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()

Originally committed as revision 15559 to svn://svn.ffmpeg.org/ffmpeg/trunk

8401c514 10/04/2008 10:41 PM Aurelien Jacobs

matroskaenc: remove useless mkv_block_size() function

Originally committed as revision 15558 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc5c918e 10/03/2008 10:16 AM Diego Biurrun

Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.

Originally committed as revision 15533 to svn://svn.ffmpeg.org/ffmpeg/trunk

62c24705 09/04/2008 11:08 PM Aurelien Jacobs

matroska: subtitle display duration must be stored in pkt->convergence_duration

Originally committed as revision 15206 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1854592 08/24/2008 04:51 PM Reimar Döffinger

Change codec_tag type from const struct AVCodecTag ** to const struct AVCodecTag * const *

Originally committed as revision 14947 to svn://svn.ffmpeg.org/ffmpeg/trunk

59729451 08/23/2008 11:43 PM Aurelien Jacobs

convert every muxer/demuxer to write/read sample_aspect_ratio from/to
the corresponding AVStream instead of AVCodecContext

Originally committed as revision 14933 to svn://svn.ffmpeg.org/ffmpeg/trunk

5968d2dd 08/05/2008 08:28 AM Diego Biurrun

misc spelling/grammar fixes

Originally committed as revision 14616 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc8be506 08/05/2008 12:42 AM Aurelien Jacobs

matroska: expand useless define for MS compat codec id strings

Originally committed as revision 14607 to svn://svn.ffmpeg.org/ffmpeg/trunk

f009e36f 07/27/2008 03:11 PM Aurelien Jacobs

matroska: add support for V_QUICKTIME track type

Originally committed as revision 14429 to svn://svn.ffmpeg.org/ffmpeg/trunk

bde15e74 06/03/2008 04:20 PM Stefano Sabatini

Make long_names in lavf/lavdev optional depending on CONFIG_SMALL.
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

245976da 05/09/2008 11:56 AM Diego Biurrun

Use full path for #includes from another directory.

Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a0684f4 05/01/2008 10:04 PM Justin Ruggles

fix encoding of flac private data

Originally committed as revision 13030 to svn://svn.ffmpeg.org/ffmpeg/trunk

7bfacd4e 04/02/2008 09:41 PM Aurelien Jacobs

use common aac sample rate tables

Originally committed as revision 12671 to svn://svn.ffmpeg.org/ffmpeg/trunk

90c2295b 03/07/2008 07:25 PM Evgeniy Stepanov

Add 'disposition' bitfield to AVStream and use it for both muxing and demuxing
of matroska and nut.

Originally committed as revision 12358 to svn://svn.ffmpeg.org/ffmpeg/trunk

73260a11 03/01/2008 12:26 AM Aurelien Jacobs

simplification proposed by Rich

Originally committed as revision 12280 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b247953 02/27/2008 12:53 AM Aurelien Jacobs

makes really sure that no undefined behavior can happen

Originally committed as revision 12258 to svn://svn.ffmpeg.org/ffmpeg/trunk

d597655f 02/26/2008 10:35 PM Aurelien Jacobs

Avoid infinite loop.
uint64_t >> 64 is an undefined operation

Originally committed as revision 12253 to svn://svn.ffmpeg.org/ffmpeg/trunk

2024c226 01/12/2008 12:15 AM Michael Niedermayer

Write 0 instead of seeking forward (and leaving bytes uninitalized),
fixes odd regression test failure i had.

Originally committed as revision 11512 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ab3f71b 01/11/2008 11:33 PM Aurelien Jacobs

add a ff_ prefix to newly exported functions from avc.c

Originally committed as revision 11511 to svn://svn.ffmpeg.org/ffmpeg/trunk

e609806e 01/11/2008 11:21 PM Aurelien Jacobs

Matroska muxer needs to format all NAL units, not only extradata.

Originally committed as revision 11510 to svn://svn.ffmpeg.org/ffmpeg/trunk

aacc5f22 01/11/2008 01:32 AM Aurelien Jacobs

Use the isom avcc formatting for h264 extradata in matroska.

Originally committed as revision 11499 to svn://svn.ffmpeg.org/ffmpeg/trunk

899681cd 11/21/2007 07:41 AM Björn Axelsson

Use dynamically allocated ByteIOContext in AVFormatContext

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

bf898960 09/05/2007 08:31 PM Diego Biurrun

spelling/wording nits in some Doxygen comments

Originally committed as revision 10417 to svn://svn.ffmpeg.org/ffmpeg/trunk

ab332d01 09/05/2007 12:26 AM David Conrad

Grammar nits

Originally committed as revision 10388 to svn://svn.ffmpeg.org/ffmpeg/trunk

b62a33d0 09/05/2007 12:26 AM David Conrad

Always use AVFormatContext for av_log messages

Originally committed as revision 10387 to svn://svn.ffmpeg.org/ffmpeg/trunk

0f651e8c 09/05/2007 12:26 AM David Conrad

Rename ebml size functions to indicate that they can be used for more kinds of numbers

Originally committed as revision 10386 to svn://svn.ffmpeg.org/ffmpeg/trunk

8b65b9a3 09/05/2007 12:26 AM David Conrad

We shouldn't be passing in sizes larger than 2^56-2, so use an assert

Originally committed as revision 10385 to svn://svn.ffmpeg.org/ffmpeg/trunk

e5c29287 09/05/2007 12:26 AM David Conrad

Indentation

Originally committed as revision 10384 to svn://svn.ffmpeg.org/ffmpeg/trunk

ac9e1177 09/05/2007 12:26 AM David Conrad

Don't seek when streamed

Originally committed as revision 10383 to svn://svn.ffmpeg.org/ffmpeg/trunk

c301d5ae 09/05/2007 12:25 AM David Conrad

Get rid of useless braces

Originally committed as revision 10382 to svn://svn.ffmpeg.org/ffmpeg/trunk

7e33d3fe 09/05/2007 12:25 AM David Conrad

Indent

Originally committed as revision 10381 to svn://svn.ffmpeg.org/ffmpeg/trunk

dc4a9f67 09/05/2007 12:25 AM David Conrad

Match the behaviour betwen the bmp and wav codec tag lookups

Originally committed as revision 10380 to svn://svn.ffmpeg.org/ffmpeg/trunk

46d18a88 09/05/2007 12:25 AM David Conrad

Write codecprivate to a dynamic buffer so that seeking isn't required

Originally committed as revision 10379 to svn://svn.ffmpeg.org/ffmpeg/trunk

5c559894 09/05/2007 12:25 AM David Conrad

Move writing codec private element to its own function

Originally committed as revision 10378 to svn://svn.ffmpeg.org/ffmpeg/trunk

211783a5 09/05/2007 12:25 AM David Conrad

Cosmetics

Originally committed as revision 10377 to svn://svn.ffmpeg.org/ffmpeg/trunk

91ca9690 09/05/2007 12:25 AM David Conrad

Use num_entries directly rather than mixing it with a local copy

Originally committed as revision 10376 to svn://svn.ffmpeg.org/ffmpeg/trunk

e3cd80cd 09/05/2007 12:25 AM David Conrad

Doxygenify comments

Originally committed as revision 10375 to svn://svn.ffmpeg.org/ffmpeg/trunk

7f8582df 09/05/2007 12:25 AM David Conrad

Make sure that the calculated duration doesn't decrease

Originally committed as revision 10374 to svn://svn.ffmpeg.org/ffmpeg/trunk

8ffc5f9e 09/05/2007 12:25 AM David Conrad

Split some really long lines

Originally committed as revision 10373 to svn://svn.ffmpeg.org/ffmpeg/trunk

3967eb52 09/05/2007 12:25 AM David Conrad

Correct message

Originally committed as revision 10372 to svn://svn.ffmpeg.org/ffmpeg/trunk

9e2a3e22 09/05/2007 12:25 AM David Conrad

Always check the return of mkv_add_seekhead_entry

Originally committed as revision 10371 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d588ecd 09/05/2007 12:25 AM David Conrad

Pass the returned error code of functions up

Originally committed as revision 10370 to svn://svn.ffmpeg.org/ffmpeg/trunk

c35de1a1 09/05/2007 12:25 AM David Conrad

Check that the seekheads were created

Originally committed as revision 10369 to svn://svn.ffmpeg.org/ffmpeg/trunk

0b38843a 09/05/2007 12:25 AM David Conrad

Return AVERROR when appropriate

Originally committed as revision 10368 to svn://svn.ffmpeg.org/ffmpeg/trunk

47e08c58 09/05/2007 12:25 AM David Conrad

Indentation

Originally committed as revision 10367 to svn://svn.ffmpeg.org/ffmpeg/trunk

0580a122 09/05/2007 12:25 AM David Conrad

Use assert for conditions that must be true

Originally committed as revision 10366 to svn://svn.ffmpeg.org/ffmpeg/trunk

203cce9a 09/05/2007 12:25 AM David Conrad

Simplify

Originally committed as revision 10365 to svn://svn.ffmpeg.org/ffmpeg/trunk

8cf3bb26 09/05/2007 12:25 AM David Conrad

Grammar nits

Originally committed as revision 10364 to svn://svn.ffmpeg.org/ffmpeg/trunk

cfde5d18 09/05/2007 12:25 AM David Conrad

Break long comments

Originally committed as revision 10363 to svn://svn.ffmpeg.org/ffmpeg/trunk

a6da1aa0 09/05/2007 12:25 AM David Conrad

Use sample format for bit depth if av_get_bits_per_sample() doesn't give one

Originally committed as revision 10362 to svn://svn.ffmpeg.org/ffmpeg/trunk

8eb19153 09/05/2007 12:25 AM David Conrad

Calculate and store DAR rather than SAR

Originally committed as revision 10361 to svn://svn.ffmpeg.org/ffmpeg/trunk

5045da83 09/05/2007 12:25 AM David Conrad

Clarify comments

Originally committed as revision 10360 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b66fc16 09/05/2007 12:24 AM David Conrad

Use PRIu64/PRId64

Originally committed as revision 10359 to svn://svn.ffmpeg.org/ffmpeg/trunk

baf71dca 09/05/2007 12:24 AM David Conrad

Calculate the size of key EBML master elements beforehand so only just enough size is reserved for the size

Originally committed as revision 10358 to svn://svn.ffmpeg.org/ffmpeg/trunk

cce800b4 09/05/2007 12:24 AM David Conrad

Use cluster_pos when checking cluster position

Originally committed as revision 10357 to svn://svn.ffmpeg.org/ffmpeg/trunk

f0e9f442 09/05/2007 12:24 AM David Conrad

Modify put_ebml_size() so that the bytes parameter is exact rather than minimum

Originally committed as revision 10356 to svn://svn.ffmpeg.org/ffmpeg/trunk

c635497c 09/05/2007 12:24 AM David Conrad

Set default subtitle_codec to CODEC_ID_TEXT

Originally committed as revision 10355 to svn://svn.ffmpeg.org/ffmpeg/trunk

ddf16467 09/05/2007 12:24 AM David Conrad

Simplify

Originally committed as revision 10354 to svn://svn.ffmpeg.org/ffmpeg/trunk

1c73478c 09/05/2007 12:24 AM David Conrad

Move calculating the bytes needed to represent a size in EBML to its own function

Originally committed as revision 10353 to svn://svn.ffmpeg.org/ffmpeg/trunk

9f38fd7e 09/05/2007 12:24 AM David Conrad

Make a byte always mean a byte

Originally committed as revision 10352 to svn://svn.ffmpeg.org/ffmpeg/trunk

432adc13 09/05/2007 12:24 AM David Conrad

Simplify put_ebml_id()

Originally committed as revision 10351 to svn://svn.ffmpeg.org/ffmpeg/trunk

22ccb69a 09/05/2007 12:24 AM David Conrad

Move ebml_id_size()

Originally committed as revision 10350 to svn://svn.ffmpeg.org/ffmpeg/trunk

ec8f4ad9 09/05/2007 12:24 AM David Conrad

Correct handling of smaller unknown sizes

Originally committed as revision 10349 to svn://svn.ffmpeg.org/ffmpeg/trunk

541d443c 09/05/2007 12:24 AM David Conrad

Use a MD5 hash of some frames to write the segment uid

Originally committed as revision 10348 to svn://svn.ffmpeg.org/ffmpeg/trunk

f095a174 09/05/2007 12:24 AM David Conrad

Revert using the time to generate the segment uid

Originally committed as revision 10347 to svn://svn.ffmpeg.org/ffmpeg/trunk

57848e9a 09/05/2007 12:24 AM David Conrad

Doxygenize some comments

Originally committed as revision 10346 to svn://svn.ffmpeg.org/ffmpeg/trunk

fd150eb6 09/05/2007 12:24 AM David Conrad

Set the language to undefined if no language specified

Originally committed as revision 10345 to svn://svn.ffmpeg.org/ffmpeg/trunk

55c151ef 09/05/2007 12:24 AM David Conrad

Add mka muxer

Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk

c1f5aa21 09/05/2007 12:24 AM David Conrad

Add some debug logging

Originally committed as revision 10343 to svn://svn.ffmpeg.org/ffmpeg/trunk

7332addd 09/05/2007 12:24 AM David Conrad

Write the display size elements

Originally committed as revision 10342 to svn://svn.ffmpeg.org/ffmpeg/trunk

d1a8d959 09/05/2007 12:24 AM David Conrad

Revert writing the file creation date

Originally committed as revision 10341 to svn://svn.ffmpeg.org/ffmpeg/trunk

40953362 09/05/2007 12:24 AM David Conrad

Codec Private should be correct for all but Real codecs now

Originally committed as revision 10340 to svn://svn.ffmpeg.org/ffmpeg/trunk

8a39497c 09/05/2007 12:24 AM David Conrad

Write FLAC codec private correctly

Originally committed as revision 10339 to svn://svn.ffmpeg.org/ffmpeg/trunk

86be6637 09/05/2007 12:24 AM David Conrad

Move writing Xiph-style sizes to its own function

Originally committed as revision 10338 to svn://svn.ffmpeg.org/ffmpeg/trunk