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
David Conrad [Wed, 5 Sep 2007 00:22:37 +0000 (00:22 +0000)]
Beginning of mkv muxer, only EBML head is written correctly
Originally committed as revision 10294 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Wed, 5 Sep 2007 00:06:34 +0000 (00:06 +0000)]
code to do halfpel interpolation per frame (unfinished and under ifdef but it
should be faster when its finished)
Originally committed as revision 10293 to svn://svn.ffmpeg.org/ffmpeg/trunk
Ramiro Polla [Tue, 4 Sep 2007 22:03:32 +0000 (22:03 +0000)]
Treat dc1394 as a library
Originally committed as revision 10292 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mike Melanson [Tue, 4 Sep 2007 17:33:35 +0000 (17:33 +0000)]
simplify PTS handling
Originally committed as revision 10291 to svn://svn.ffmpeg.org/ffmpeg/trunk
Mike Melanson [Tue, 4 Sep 2007 17:31:25 +0000 (17:31 +0000)]
Fix issue 123 (Support Magic-carpet fli version,
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue123 ) by rearranging the bit depth
Originally committed as revision 10290 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Tue, 4 Sep 2007 14:48:39 +0000 (14:48 +0000)]
Silence warnings about NAL_SVC_NON_IDR in H.264.
patch by Carl Eugen Hoyos, cehoyos ag.or at
Originally committed as revision 10289 to svn://svn.ffmpeg.org/ffmpeg/trunk
Benoit Fouet [Tue, 4 Sep 2007 06:48:22 +0000 (06:48 +0000)]
add a close function to bitstream filter
Originally committed as revision 10288 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Mon, 3 Sep 2007 09:00:40 +0000 (09:00 +0000)]
Fill the buffer with 0 before writing an SDP in it
Originally committed as revision 10287 to svn://svn.ffmpeg.org/ffmpeg/trunk
Carl Eugen Hoyos [Mon, 3 Sep 2007 08:46:24 +0000 (08:46 +0000)]
Remove error raising when explicitely skipping frame
patch by Carl Eugen Hoyos: [cehoyos ag or at]
original thread:
[FFmpeg-devel] [PATCH] Don't let ctx->skip_frame>0 produce errors
date: 08/30/2007 01:30 PM
Originally committed as revision 10286 to svn://svn.ffmpeg.org/ffmpeg/trunk
Neil Brown [Mon, 3 Sep 2007 07:56:26 +0000 (07:56 +0000)]
If a stream has no start time, but the first packet has a 'pts', use that
pts to set the start_time.
patch by Neil Brown: [neilb suse de]
original thread: [FFmpeg-devel] [patch 3/3] Make timing calculations less
dependant on start_time being defined.
date: 08/16/2007 08:27 AM
Originally committed as revision 10285 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Mon, 3 Sep 2007 07:28:58 +0000 (07:28 +0000)]
Set the "B" flag in the payload header
Originally committed as revision 10284 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Mon, 3 Sep 2007 07:22:37 +0000 (07:22 +0000)]
Set the "TR" field in the payload header
Originally committed as revision 10283 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni [Mon, 3 Sep 2007 07:14:10 +0000 (07:14 +0000)]
Correctly set the "P" field in the payload header
Originally committed as revision 10282 to svn://svn.ffmpeg.org/ffmpeg/trunk
Wolfram Gloger [Mon, 3 Sep 2007 05:19:59 +0000 (05:19 +0000)]
fix probe buffer issue. patch by Wolfram Gloger {wmglo at dent.med.uni-muenchen.de}.
[FFmpeg-devel] [PATCH] ac3_probe input buffer overrun
Aug 28, 2007
Originally committed as revision 10281 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Sun, 2 Sep 2007 15:58:43 +0000 (15:58 +0000)]
workaround ms (lack of) intelligence in their design of dvr-ms
yes kids you do not make 90% of your file contain empty dummy packets
closes issue76
Originally committed as revision 10280 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Sat, 1 Sep 2007 21:03:17 +0000 (21:03 +0000)]
Remove reimplementation of get_unary.
Based on a patch by Alex Beregszaszi.
Originally committed as revision 10279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Barbato [Sat, 1 Sep 2007 14:00:47 +0000 (14:00 +0000)]
Cosmetics
Originally committed as revision 10278 to svn://svn.ffmpeg.org/ffmpeg/trunk
Aurelien Jacobs [Sat, 1 Sep 2007 13:04:25 +0000 (13:04 +0000)]
add a warning message for unsupported kind of encoding
Originally committed as revision 10277 to svn://svn.ffmpeg.org/ffmpeg/trunk
Michael Niedermayer [Fri, 31 Aug 2007 23:59:45 +0000 (23:59 +0000)]
fix 1fps videos
Originally committed as revision 10276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Fri, 31 Aug 2007 18:51:22 +0000 (18:51 +0000)]
Cosmetical: Empty line removal
Originally committed as revision 10275 to svn://svn.ffmpeg.org/ffmpeg/trunk
David Conrad [Fri, 31 Aug 2007 18:24:09 +0000 (18:24 +0000)]
SimpleBlock keyframe flag is the most significant bit
Originally committed as revision 10274 to svn://svn.ffmpeg.org/ffmpeg/trunk
Vitor Sessak [Fri, 31 Aug 2007 15:05:40 +0000 (15:05 +0000)]
Comment about unsupported sample size
Originally committed as revision 10273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Marc Hoffman [Fri, 31 Aug 2007 14:58:44 +0000 (14:58 +0000)]
renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 10272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Marc Hoffman [Fri, 31 Aug 2007 14:57:50 +0000 (14:57 +0000)]
renaming ARCH_BFIN to HAVE_BFIN
Originally committed as revision 24309 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale