Statistics
| Branch: | Revision:

ffmpeg / libavformat / matroskaenc.c @ af74c95a

History | View | Annotate | Download (27.9 KB)

# Date Author Comment
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

4b8f58ee 09/05/2007 12:24 AM David Conrad

Write segment UID

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

80380a0f 09/05/2007 12:24 AM David Conrad

Write the creation time

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

5fd35c6e 09/05/2007 12:23 AM David Conrad

Cosmetics

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

440e0901 09/05/2007 12:23 AM David Conrad

Using LIBAVFORMAT_IDENT for both muxing and writing app is good enough

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

dcbfe3f0 09/05/2007 12:23 AM David Conrad

Floats aren't used enough to justify writing any with single precision

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

9245c5ca 09/05/2007 12:23 AM David Conrad

Simplify

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

56e4540d 09/05/2007 12:23 AM David Conrad

Indentation

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

663a5d9d 09/05/2007 12:23 AM David Conrad

Write subtitle tracks

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

95527e06 09/05/2007 12:23 AM David Conrad

Move writing a block to its own function

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

8bea4aee 09/05/2007 12:23 AM David Conrad

Only write extradata if it exists

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

07918a22 09/05/2007 12:23 AM David Conrad

Determine the output sample rate for SBR AAC and write it

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

6b9a10fb 09/05/2007 12:23 AM David Conrad

Simplify

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

f9c8d57b 09/05/2007 12:23 AM David Conrad

Keyframe is the first bit not last

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

357eba6f 09/05/2007 12:23 AM David Conrad

Simplify

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

d22f88cb 09/05/2007 12:23 AM David Conrad

Use av_get_bits_per_sample

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

44008871 09/05/2007 12:23 AM David Conrad

Write bit depth for PCM audio

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

1a302a5c 09/05/2007 12:23 AM David Conrad

Write wav header if there is no native audio codec ID

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

6364d534 09/05/2007 12:23 AM David Conrad

Write the cues element

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

1b66d314 09/05/2007 12:23 AM David Conrad

Doxygenize comments

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

4d1fd70c 09/05/2007 12:23 AM David Conrad

Calculate the size of a SimpleBlock before writing it so that bytes aren't wasted in writing the size

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

7973dd0b 09/05/2007 12:23 AM David Conrad

Indentation

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

967d815a 09/05/2007 12:23 AM David Conrad

Write the Seek Head element

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

801edb42 09/05/2007 12:23 AM David Conrad

Make sure to return a value in functions that return a value

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

5034ab90 09/05/2007 12:23 AM David Conrad

Move writing the tracks element to its own function

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

56d55a3b 09/05/2007 12:23 AM David Conrad

Move Xiph's CodecPrivate writing code to its own function

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

02f487fc 09/05/2007 12:23 AM David Conrad

Write the duration of the file

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

f57b85a5 09/05/2007 12:23 AM David Conrad

put_ebml_void()

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

ab416027 09/05/2007 12:23 AM David Conrad

Remove unused prototype

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

ffb880c2 09/05/2007 12:23 AM David Conrad

Write unknown size if the size given is too large for EBML (greater than 2^56-1)

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

815eb6a2 09/05/2007 12:23 AM David Conrad

Track number and UID only have to be nonzero

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

90c02d93 09/05/2007 12:23 AM David Conrad

SimpleBlocks are Matroska v2

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

98186e41 09/05/2007 12:23 AM David Conrad

Start a new cluster every 5 MB or 5 seconds

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

6d50a935 09/05/2007 12:22 AM David Conrad

Fix writing Xiph header sizes

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

89e81bbb 09/05/2007 12:22 AM David Conrad

Correctly write CodecPrivate element for Vorbis and Theora

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

79a58e91 09/05/2007 12:22 AM David Conrad

Compile fix; missed a variable declaration in the last commit

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

b1adb69c 09/05/2007 12:22 AM David Conrad

Write one cluster and SimpleBlocks for the frames. Should now create playable mkv files for some video codecs (H.264 and VP3 checked)

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

f622c4f4 09/05/2007 12:22 AM David Conrad

First stab at writing the tracks element, still needs some additional cases for certain codecs

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

f8e65a32 09/05/2007 12:22 AM David Conrad

Remove useless debug write

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

9b6b0c79 09/05/2007 12:22 AM David Conrad

put_ebml_float()

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

1e18c4d0 09/05/2007 12:22 AM David Conrad

Const correctness

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

81efc03f 09/05/2007 12:22 AM David Conrad

Get rid of put_ebml_utf8(); the error checking that would have distinguished it from put_ebml_string() belongs elsewhere in lavf.

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

dbf653f7 09/05/2007 12:22 AM David Conrad

Cosmetics: align nicely for better readibility

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

cf4f763b 09/05/2007 12:22 AM David Conrad

Simplify

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

67143c0f 09/05/2007 12:22 AM David Conrad

Beginning of mkv muxer, only EBML head is written correctly

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