OSDN Git Service
Michael Niedermayer [Wed, 5 Sep 2007 01:49:14 +0000 (01:49 +0000)]
add a 8 taps filter for testing
Originally committed as revision 10394 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 5 Sep 2007 01:21:32 +0000 (01:21 +0000)]
fix decoding of dracula.4xm before diego complains
Originally committed as revision 10393 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 5 Sep 2007 01:14:17 +0000 (01:14 +0000)]
fix segfault with dracula.4xm
closes issue132
Originally committed as revision 10392 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 01:05:54 +0000 (01:05 +0000)]
Matroska regression tests
Originally committed as revision 10391 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 5 Sep 2007 00:49:09 +0000 (00:49 +0000)]
Replace constants by HTAPS (half pel interpolation filter taps) where appropriate.
Originally committed as revision 10390 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:38:42 +0000 (00:38 +0000)]
Enable Matroska muxer
Originally committed as revision 10389 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:26:11 +0000 (00:26 +0000)]
Grammar nits
Originally committed as revision 10388 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:26:09 +0000 (00:26 +0000)]
Always use AVFormatContext for av_log messages
Originally committed as revision 10387 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:26:07 +0000 (00:26 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:26:04 +0000 (00:26 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:26:03 +0000 (00:26 +0000)]
Indentation
Originally committed as revision 10384 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:26:00 +0000 (00:26 +0000)]
Don't seek when streamed
Originally committed as revision 10383 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:58 +0000 (00:25 +0000)]
Get rid of useless braces
Originally committed as revision 10382 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:56 +0000 (00:25 +0000)]
Indent
Originally committed as revision 10381 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:54 +0000 (00:25 +0000)]
Match the behaviour betwen the bmp and wav codec tag lookups
Originally committed as revision 10380 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:52 +0000 (00:25 +0000)]
Write codecprivate to a dynamic buffer so that seeking isn't required
Originally committed as revision 10379 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:49 +0000 (00:25 +0000)]
Move writing codec private element to its own function
Originally committed as revision 10378 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:46 +0000 (00:25 +0000)]
Cosmetics
Originally committed as revision 10377 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:44 +0000 (00:25 +0000)]
Use num_entries directly rather than mixing it with a local copy
Originally committed as revision 10376 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:42 +0000 (00:25 +0000)]
Doxygenify comments
Originally committed as revision 10375 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:40 +0000 (00:25 +0000)]
Make sure that the calculated duration doesn't decrease
Originally committed as revision 10374 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:38 +0000 (00:25 +0000)]
Split some really long lines
Originally committed as revision 10373 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:35 +0000 (00:25 +0000)]
Correct message
Originally committed as revision 10372 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:34 +0000 (00:25 +0000)]
Always check the return of mkv_add_seekhead_entry
Originally committed as revision 10371 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:32 +0000 (00:25 +0000)]
Pass the returned error code of functions up
Originally committed as revision 10370 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:29 +0000 (00:25 +0000)]
Check that the seekheads were created
Originally committed as revision 10369 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:27 +0000 (00:25 +0000)]
Return AVERROR(ENOMEM) when appropriate
Originally committed as revision 10368 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:24 +0000 (00:25 +0000)]
Indentation
Originally committed as revision 10367 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:22 +0000 (00:25 +0000)]
Use assert for conditions that must be true
Originally committed as revision 10366 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:20 +0000 (00:25 +0000)]
Simplify
Originally committed as revision 10365 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:18 +0000 (00:25 +0000)]
Grammar nits
Originally committed as revision 10364 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:16 +0000 (00:25 +0000)]
Break long comments
Originally committed as revision 10363 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:14 +0000 (00:25 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:25:07 +0000 (00:25 +0000)]
Calculate and store DAR rather than SAR
Originally committed as revision 10361 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:25:04 +0000 (00:25 +0000)]
Clarify comments
Originally committed as revision 10360 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:58 +0000 (00:24 +0000)]
Use PRIu64/PRId64
Originally committed as revision 10359 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:56 +0000 (00:24 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:24:53 +0000 (00:24 +0000)]
Use cluster_pos when checking cluster position
Originally committed as revision 10357 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:50 +0000 (00:24 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:24:48 +0000 (00:24 +0000)]
Set default subtitle_codec to CODEC_ID_TEXT
Originally committed as revision 10355 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:44 +0000 (00:24 +0000)]
Simplify
Originally committed as revision 10354 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:42 +0000 (00:24 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:24:39 +0000 (00:24 +0000)]
Make a byte always mean a byte
Originally committed as revision 10352 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:36 +0000 (00:24 +0000)]
Simplify put_ebml_id()
Originally committed as revision 10351 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:34 +0000 (00:24 +0000)]
Move ebml_id_size()
Originally committed as revision 10350 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:31 +0000 (00:24 +0000)]
Correct handling of smaller unknown sizes
Originally committed as revision 10349 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:29 +0000 (00:24 +0000)]
Use a MD5 hash of some frames to write the segment uid
Originally committed as revision 10348 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:27 +0000 (00:24 +0000)]
Revert using the time to generate the segment uid
Originally committed as revision 10347 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:25 +0000 (00:24 +0000)]
Doxygenize some comments
Originally committed as revision 10346 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:22 +0000 (00:24 +0000)]
Set the language to undefined if no language specified
Originally committed as revision 10345 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:19 +0000 (00:24 +0000)]
Add mka muxer
Originally committed as revision 10344 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:17 +0000 (00:24 +0000)]
Add some debug logging
Originally committed as revision 10343 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:15 +0000 (00:24 +0000)]
Write the display size elements
Originally committed as revision 10342 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:12 +0000 (00:24 +0000)]
Revert writing the file creation date
Originally committed as revision 10341 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:10 +0000 (00:24 +0000)]
Codec Private should be correct for all but Real codecs now
Originally committed as revision 10340 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:08 +0000 (00:24 +0000)]
Write FLAC codec private correctly
Originally committed as revision 10339 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:06 +0000 (00:24 +0000)]
Move writing Xiph-style sizes to its own function
Originally committed as revision 10338 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:03 +0000 (00:24 +0000)]
Write segment UID
Originally committed as revision 10337 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:24:01 +0000 (00:24 +0000)]
Write the creation time
Originally committed as revision 10336 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:59 +0000 (00:23 +0000)]
Cosmetics
Originally committed as revision 10335 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:57 +0000 (00:23 +0000)]
Using LIBAVFORMAT_IDENT for both muxing and writing app is good enough
Originally committed as revision 10334 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:55 +0000 (00:23 +0000)]
Floats aren't used enough to justify writing any with single precision
Originally committed as revision 10333 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:53 +0000 (00:23 +0000)]
Simplify
Originally committed as revision 10332 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:52 +0000 (00:23 +0000)]
Indentation
Originally committed as revision 10331 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:49 +0000 (00:23 +0000)]
Write subtitle tracks
Originally committed as revision 10330 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:47 +0000 (00:23 +0000)]
Move writing a block to its own function
Originally committed as revision 10329 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:46 +0000 (00:23 +0000)]
Only write extradata if it exists
Originally committed as revision 10328 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:43 +0000 (00:23 +0000)]
Determine the output sample rate for SBR AAC and write it
Originally committed as revision 10327 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:41 +0000 (00:23 +0000)]
Simplify
Originally committed as revision 10326 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:39 +0000 (00:23 +0000)]
Keyframe is the first bit not last
Originally committed as revision 10325 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:38 +0000 (00:23 +0000)]
Simplify
Originally committed as revision 10324 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:34 +0000 (00:23 +0000)]
Use av_get_bits_per_sample
Originally committed as revision 10323 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:31 +0000 (00:23 +0000)]
Write bit depth for PCM audio
Originally committed as revision 10322 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:29 +0000 (00:23 +0000)]
Write wav header if there is no native audio codec ID
Originally committed as revision 10321 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:27 +0000 (00:23 +0000)]
Write the cues element
Originally committed as revision 10320 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:26 +0000 (00:23 +0000)]
Doxygenize comments
Originally committed as revision 10319 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:23 +0000 (00:23 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:23:21 +0000 (00:23 +0000)]
Indentation
Originally committed as revision 10317 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:19 +0000 (00:23 +0000)]
Write the Seek Head element
Originally committed as revision 10316 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:17 +0000 (00:23 +0000)]
Make sure to return a value in functions that return a value
Originally committed as revision 10315 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:15 +0000 (00:23 +0000)]
Move writing the tracks element to its own function
Originally committed as revision 10314 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:13 +0000 (00:23 +0000)]
Move Xiph's CodecPrivate writing code to its own function
Originally committed as revision 10313 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:11 +0000 (00:23 +0000)]
Write the duration of the file
Originally committed as revision 10312 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:09 +0000 (00:23 +0000)]
put_ebml_void()
Originally committed as revision 10311 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:07 +0000 (00:23 +0000)]
Remove unused prototype
Originally committed as revision 10310 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:06 +0000 (00:23 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:23:03 +0000 (00:23 +0000)]
Track number and UID only have to be nonzero
Originally committed as revision 10308 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:01 +0000 (00:23 +0000)]
SimpleBlocks are Matroska v2
Originally committed as revision 10307 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:23:00 +0000 (00:23 +0000)]
Start a new cluster every 5 MB or 5 seconds
Originally committed as revision 10306 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:58 +0000 (00:22 +0000)]
Fix writing Xiph header sizes
Originally committed as revision 10305 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:56 +0000 (00:22 +0000)]
Correctly write CodecPrivate element for Vorbis and Theora
Originally committed as revision 10304 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:54 +0000 (00:22 +0000)]
Compile fix; missed a variable declaration in the last commit
Originally committed as revision 10303 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:52 +0000 (00:22 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:22:50 +0000 (00:22 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:22:48 +0000 (00:22 +0000)]
Remove useless debug write
Originally committed as revision 10300 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:47 +0000 (00:22 +0000)]
put_ebml_float()
Originally committed as revision 10299 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:45 +0000 (00:22 +0000)]
Const correctness
Originally committed as revision 10298 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:43 +0000 (00:22 +0000)]
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
David Conrad [Wed, 5 Sep 2007 00:22:41 +0000 (00:22 +0000)]
Cosmetics: align nicely for better readibility
Originally committed as revision 10296 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Wed, 5 Sep 2007 00:22:39 +0000 (00:22 +0000)]
Simplify
Originally committed as revision 10295 to svn://svn.ffmpeg.org/ffmpeg/trunk