Commit Graph

9138 Commits

Author SHA1 Message Date
Aurelien Jacobs
12f3278dc5 reindent after last commit
Originally committed as revision 8330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:28:03 +00:00
Aurelien Jacobs
0fb7a2b9bf parse clusters until some packets are queued
instead of parsing only one cluster

Originally committed as revision 8329 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:26:39 +00:00
Aurelien Jacobs
0f3bd8ce1b fix a stupid bug in ebml_read_sint()
Originally committed as revision 8328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:19:02 +00:00
Aurelien Jacobs
912c94f3ff use codec_get_id() instead of deprecated codec_get_[bmp/wav]_id()
Originally committed as revision 8327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 22:16:38 +00:00
Benjamin Larsson
8736d68a80 Respect the gop size (-g) for marking I frames. Use -g 0 gives the old behaviour.
Originally committed as revision 8326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 21:01:33 +00:00
Ian Braithwaite
e7485bf378 Replace custom modified discrete cosine transform with ffmpeg's own.
This does alter the decoded output, but not by much.
The new output is closer to that produced by Real's "official" decoder,
and the decoder runs slightly faster.

Patch by Ian Braithwaite ian at braithwaite dot dk

Originally committed as revision 8325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 20:30:06 +00:00
Justin Ruggles
43a0791b66 the AC-3 parser needs ac3.o
Originally committed as revision 8324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:57:05 +00:00
Justin Ruggles
2476139973 move AC-3 header parsing to ac3.c
Originally committed as revision 8323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 16:44:14 +00:00
Kostya Shishkov
c81ab015f8 Correctly ME border blocks
Originally committed as revision 8322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:51:01 +00:00
Reimar Döffinger
284ad8a4f0 Check dimensions to avoid division by zero due to invalid new dimensions.
Partially fixes http://bugzilla.mplayerhq.hu/show_bug.cgi?id=773.

Originally committed as revision 8321 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 09:16:11 +00:00
Michael Niedermayer
09d9672ad6 fix gsize=0 / -1 case (if(<24) goto fail) before it is not a good idea
Originally committed as revision 8320 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 03:36:17 +00:00
Michael Niedermayer
e1315fb160 some url_is_streamed()==1 related fixes
Originally committed as revision 8319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:51:06 +00:00
Justin Ruggles
050aa8b9bc remove redundancy in AC-3 parser by using common tables from ac3tab.h
Originally committed as revision 8318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-11 02:13:05 +00:00
Michael Niedermayer
755c18ae5d fix demuxing of broken MVI_3011.avi
Originally committed as revision 8317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 19:30:59 +00:00
Oded Shimon
1017fafb20 remove usage of deprecated functions in libnut.c (codec_get_id/tag)
Originally committed as revision 8316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 18:39:58 +00:00
Oded Shimon
0020596f92 Add doxygen file header to libnut.c
Originally committed as revision 8315 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 18:34:15 +00:00
Diego Biurrun
7350151b17 small improvements to the help output
Originally committed as revision 8314 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 13:24:54 +00:00
Benoit Fouet
1fc113c405 Use - instead of _ for AMR options in help output.
patch by Benoit Fouet, benoit.fouet purplelabs com

Originally committed as revision 8313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 13:15:00 +00:00
Diego Biurrun
626fe95573 markup/wording/spelling/formatting improvements for the last commit
Originally committed as revision 8312 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 13:12:24 +00:00
Michael Niedermayer
92574878de @section My bugreport/mail to ffmpeg-dev/user has not received any replies
Originally committed as revision 8311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 12:37:37 +00:00
Michael Niedermayer
140fba0985 jpeg fourcc
Originally committed as revision 8310 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 11:30:48 +00:00
Benjamin Larsson
64472fcff1 Simplify, use avctx->frame_number.
Originally committed as revision 8309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-10 09:20:07 +00:00
Víctor Paesa
6b74787b89 --enable-mingw32 --> --target-os=mingw32
patch by Victor Paesa, wzrlpy arsystel com

Originally committed as revision 8308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 19:41:04 +00:00
Panagiotis Issaris
0d8f16acf9 Fix typo in Doxygen comments.
Originally committed as revision 8307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 15:18:07 +00:00
Justin Ruggles
4258a0a32a Remove common code from AC-3 encoder and utilize ac3.c.
Originally committed as revision 8306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:57:42 +00:00
Justin Ruggles
96ae7f11e7 Create ac3.c which will be used for AC-3 common code.
Originally committed as revision 8305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 13:54:44 +00:00
Limin Wang
348d46f2cb remove unused code, patch by Limin Wang <lance lmwang at gmail com>
Originally committed as revision 8304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:22:18 +00:00
Alex Beregszaszi
acdc852017 print codec parameters for audio too
Originally committed as revision 8303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 11:20:57 +00:00
Justin Ruggles
abfe5a4a75 simplify AC-3 bit allocation
Originally committed as revision 8302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-09 03:17:43 +00:00
Justin Ruggles
3a8bf52983 cosmetics. remove space before semi-colon.
Originally committed as revision 8301 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 23:38:50 +00:00
Baptiste Coudurier
dc13d0b5ae seems safer to set pts timebase to sample rate, fix some mp3
Originally committed as revision 8300 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 22:14:04 +00:00
Baptiste Coudurier
b912ef3fc9 fix pts handling
Originally committed as revision 8299 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 21:29:38 +00:00
Ian Braithwaite
d0429b4ff5 Simplify gain block handling.
Patch by Ian Braithwaite <ian at braithwaite dot dk>

Originally committed as revision 8298 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 20:43:51 +00:00
Ian Braithwaite
4ff5e6563e Don't output the first two frames, since they don't contain valid audio.
This also eases comparison of decoded output with Real's binary decoder.

Patch by Ian Braithwaite <ian at braithwaite dot dk>

Originally committed as revision 8297 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 19:47:03 +00:00
Baptiste Coudurier
39076e27de fix drop frame timecode flag
Originally committed as revision 8296 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 18:25:47 +00:00
Michel Bardiaux
bdb4b698d8 Corrections so that builds with DEBUG work
Originally committed as revision 8295 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 14:49:43 +00:00
Limin Wang
07cbff39a7 As avcodec_decode_audio() is deprecated, replace it with avcodec_decode_audio2().
Patch by Limin Wang, lance lmwang % gmail com.

Originally committed as revision 8294 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 11:58:50 +00:00
Michael Niedermayer
2ed76c08c3 bitrate sanity check (fixes assertion failure)
Originally committed as revision 8293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:25:06 +00:00
Benoit Fouet
c4f452fd03 Remove useless casts as recommended by Måns Rullgård.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8292 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:21:35 +00:00
Benoit Fouet
be6753c07f Cosmetics in amr.c.
- remove carriage returns where (i find it) unneeded
 - don't break lines when defining variables
 - break line between variable definition and the rest of the code
Patch by Ben Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:11:31 +00:00
Benoit Fouet
e7a5854d23 Move the initialization on context definition. In amr.c, only the
amr_wb_encode_frame function initialized its context on a different line as it
defined it.
Patch by Benoit Fouet, benoit fouet % purplelabs com.

Originally committed as revision 8290 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 10:06:59 +00:00
Karl H. Beckers
6cbac7ed3a Add PIX_FMT_PAL8 to isPacked().
patch by "Karl H. Beckers", karl.h.beckers gmx net

Originally committed as revision 22487 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2007-03-08 10:02:49 +00:00
Måns Rullgård
7f0f6e13a7 include only files actually built in SRCS
Originally committed as revision 8289 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-08 00:24:14 +00:00
Panagiotis Issaris
5438308f3b Update the documentation to be consistent with the new unit for the "ab"
parameter.

Originally committed as revision 8288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 18:17:16 +00:00
Limin Wang
4e780252f4 Remove unnecessary the_end label.
patch by Limin Wang, lance.lmwang gmail com

Originally committed as revision 8287 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 10:45:41 +00:00
Michael Niedermayer
6289025d8c add a -ab with default of 64k
change -b to only apply to video
this returns -ab/-b to the old defautls and old behavior regarding ordering of them

Originally committed as revision 8286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:51:45 +00:00
Michael Niedermayer
54cc9c46e6 set defaults based on CodecType by using avcodec_get_context_defaults2()
Originally committed as revision 8285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:50:05 +00:00
Limin Wang
8e532e681e remove unused variables
patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
Subj: [Ffmpeg-devel] [PATCH] remove unused variables
Date: 2007-03-07-07:37 AM

Originally committed as revision 8284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:38:08 +00:00
Michael Niedermayer
29301573af add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so

Originally committed as revision 8283 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 09:29:44 +00:00
Michael Niedermayer
2d0aefd626 only store command line parameters in contexts with matching codec_type
Originally committed as revision 8282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-07 08:34:52 +00:00