11 years agoRename @chapter "Quick Start" to "Examples", for consistency with the
Stefano Sabatini [Tue, 1 Jun 2010 14:08:46 +0000 (14:08 +0000)]
Rename @chapter "Quick Start" to "Examples", for consistency with the
corresponding man page section.

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

11 years agoFix texi2pod.pl rendering of the Tips section by putting each @item
Stefano Sabatini [Tue, 1 Jun 2010 14:00:44 +0000 (14:00 +0000)]
Fix texi2pod.pl rendering of the Tips section by putting each @item
command on its own line, and create a corresponding "TIPS" man page

Note that such section is not displayed, as currently only sections
with pre-defined names are rendered.

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

11 years agoMake texi2pod.pl accept @itemize commands with no following character
Stefano Sabatini [Tue, 1 Jun 2010 14:00:42 +0000 (14:00 +0000)]
Make texi2pod.pl accept @itemize commands with no following character
or texinfo command for specifying how to generate @item marks, and
make it use by default the mark symbol "*".

This is consistent with texinfo docs:
"If you don't specify a mark command, the default is `@bullet'."

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

11 years agoMerge @chapter Introduction and @chapter Description into a single
Stefano Sabatini [Tue, 1 Jun 2010 13:09:49 +0000 (13:09 +0000)]
Merge @chapter Introduction and @chapter Description into a single
section, and make the whole rendered in the man output.

Simplify layout, and make it more consistent with that of the other
man pages. Also I cannot see a good reason for keeping split the two

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

11 years agoMove internal scale context fields initialization from
Stefano Sabatini [Tue, 1 Jun 2010 11:30:07 +0000 (11:30 +0000)]
Move internal scale context fields initialization from
sws_setColorspaceDetails() to ff_yuv2rgb_c_init_tables().

Allow to factorize duplicated code.

Originally committed as revision 31300 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoFix eval-test compilation.
Stefano Sabatini [Tue, 1 Jun 2010 08:07:21 +0000 (08:07 +0000)]
Fix eval-test compilation.

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

11 years agoCosmetics: reindent and break some overly long line.
Stefano Sabatini [Tue, 1 Jun 2010 08:07:17 +0000 (08:07 +0000)]
Cosmetics: reindent and break some overly long line.

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

11 years agoCosmetics: consistently apply K&R style.
Stefano Sabatini [Tue, 1 Jun 2010 08:07:15 +0000 (08:07 +0000)]
Cosmetics: consistently apply K&R style.

Make me and Diego happy.

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

11 years agoCosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters:
Stefano Sabatini [Tue, 1 Jun 2010 08:07:12 +0000 (08:07 +0000)]
Cosmetics: rename ff_parse_expr() and ff_parse_and_eval_expr() parameters:
const_name    -> const_names
const_value   -> const_values
func[12]_name -> func[12]_names
func[12]      -> funcs[12]

All these parameters contain a list of values, using plural names for
them help understanding a little.

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

11 years agoMake ff_parse_expr() and ff_parse_and_eval_expr() return an int
Stefano Sabatini [Tue, 1 Jun 2010 08:07:07 +0000 (08:07 +0000)]
Make ff_parse_expr() and ff_parse_and_eval_expr() return an int
containing an error code.

Allow these functions to convey the reason of the failure to the
calling function, failure which is not always due to a parsing error
but it may depend for example on a memory problem.

Also fix several potential memleaks.

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

11 years agoDeclare the url_write buffer parameter as const
Martin Storsjö [Tue, 1 Jun 2010 07:46:23 +0000 (07:46 +0000)]
Declare the url_write buffer parameter as const

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

11 years agoremove palette8torgb15 and palette8tobgr15
Reinhard Tartler [Tue, 1 Jun 2010 06:53:56 +0000 (06:53 +0000)]
remove palette8torgb15 and palette8tobgr15

They contain exactly the same code as their 16bit variants, so this is
effectively code de-duplication.

Originally committed as revision 31298 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

11 years agoffmpeg: offer alternatives for experimental codecs if they exist
Janne Grunau [Mon, 31 May 2010 22:35:14 +0000 (22:35 +0000)]
ffmpeg: offer alternatives for experimental codecs if they exist

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

11 years agoffmpeg: fail if user selected codec is experimental and strict_std_compliance > exper...
Janne Grunau [Mon, 31 May 2010 22:31:51 +0000 (22:31 +0000)]
ffmpeg: fail if user selected codec is experimental and strict_std_compliance > experimental

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

11 years agoPass codec pixel format list to get_format, if present, fix vdpau decoding
Baptiste Coudurier [Mon, 31 May 2010 22:01:31 +0000 (22:01 +0000)]
Pass codec pixel format list to get_format, if present, fix vdpau decoding

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

11 years agoAdd a short note about libvpx.
Diego Biurrun [Mon, 31 May 2010 21:41:53 +0000 (21:41 +0000)]
Add a short note about libvpx.

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

12 years agoPrevent au_read_packet() looping endlessly when .au file contains unsupported codec...
Peter Ross [Mon, 31 May 2010 10:47:36 +0000 (10:47 +0000)]
Prevent au_read_packet() looping endlessly when .au file contains unsupported codec type.

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

12 years agoMake dequantization equation use less registers on some CPUs.
Maxim Poliakovski [Sun, 30 May 2010 23:57:51 +0000 (23:57 +0000)]
Make dequantization equation use less registers on some CPUs.

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

12 years agoRemove unused variables.
Maxim Poliakovski [Sun, 30 May 2010 17:12:50 +0000 (17:12 +0000)]
Remove unused variables.

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

12 years agoautomatically enable buffer_filter when compiling ffmpeg
Peter Ross [Sun, 30 May 2010 12:19:26 +0000 (12:19 +0000)]
automatically enable buffer_filter when compiling ffmpeg

Fixes issue 1949

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

12 years agoRename yuv2rgb_template2.c --> yuv2rgb_template.c now that the other is gone.
Diego Biurrun [Sun, 30 May 2010 08:44:05 +0000 (08:44 +0000)]
Rename yuv2rgb_template2.c --> yuv2rgb_template.c now that the other is gone.

Originally committed as revision 31279 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoThe GPL-licensed optimizations in libswscale have been replaced.
Diego Biurrun [Sun, 30 May 2010 08:31:50 +0000 (08:31 +0000)]
The GPL-licensed optimizations in libswscale have been replaced.

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

12 years agoRemove GPL-licensed YUV to RGB MMX routines.
Diego Biurrun [Sun, 30 May 2010 08:31:23 +0000 (08:31 +0000)]
Remove GPL-licensed YUV to RGB MMX routines.
We now have an LGPL replacement that is at least equally fast.

Originally committed as revision 31278 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

12 years agoARM: NEON optimised dct_unquantize_h263_{intra,inter}
Måns Rullgård [Sat, 29 May 2010 15:29:40 +0000 (15:29 +0000)]
ARM: NEON optimised dct_unquantize_h263_{intra,inter}

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

12 years agoRequire --enable-nonfree flag for libvpx.
Diego Biurrun [Sat, 29 May 2010 09:40:22 +0000 (09:40 +0000)]
Require --enable-nonfree flag for libvpx.

The license of libvpx is incompatible with the (L)GPL.  As long as this is
the case, the only way to use it is by marking the result as nonfree.

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

12 years ago321l: do not use shifted s->linesize instead of correct s->uvlinesize.
Kostya Shishkov [Sat, 29 May 2010 07:28:24 +0000 (07:28 +0000)]
321l: do not use shifted s->linesize instead of correct s->uvlinesize.
This should fix chroma issues in WMV3/VC-1 decoder with avfilter enabled.

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

12 years agoIn h264 decoder, use jpeg yuv pixel format when full range is set in vui
Baptiste Coudurier [Fri, 28 May 2010 23:15:30 +0000 (23:15 +0000)]
In h264 decoder, use jpeg yuv pixel format when full range is set in vui

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

12 years agoaacenc: Remove an unnecessary division from the TLS.
Alex Converse [Fri, 28 May 2010 21:29:56 +0000 (21:29 +0000)]
aacenc: Remove an unnecessary division from the TLS.

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

12 years agoCosmetics: whitespace
Alex Converse [Fri, 28 May 2010 20:45:35 +0000 (20:45 +0000)]
Cosmetics: whitespace

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

12 years agoaacenc: Remove unnecessary variables and scopes in the TLS.
Alex Converse [Fri, 28 May 2010 20:42:01 +0000 (20:42 +0000)]
aacenc: Remove unnecessary variables and scopes in the TLS.

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

12 years agoCleanup prev commit, flag variable should start with 0
Howard Chu [Fri, 28 May 2010 20:14:14 +0000 (20:14 +0000)]
Cleanup prev commit, flag variable should start with 0

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

12 years agoParse avctx->extradata if available.
Howard Chu [Fri, 28 May 2010 18:50:39 +0000 (18:50 +0000)]
Parse avctx->extradata if available.
Fixes many "non-existing PPS referenced" error messages

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

12 years agoReindent after r23361.
Francesco Lavra [Fri, 28 May 2010 18:21:57 +0000 (18:21 +0000)]
Reindent after r23361.

Patch by Francesco Lavra <francescolavra interfree it>.

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

12 years agoUse ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxing
Francesco Lavra [Fri, 28 May 2010 18:21:25 +0000 (18:21 +0000)]
Use ff_rm_codec_tags[] in RM muxer. This, incidentally, also allows muxing
other audio codecs rather than only AC-3, so add some code that makes
word byte-swapping only happen for AC-3, not for all audio codecs.

Patch by Francesco Lavra <francescolavra interfree it>.

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

12 years agoMove rm_codec_tags to rm.c so muxer/demuxer can share it.
Francesco Lavra [Fri, 28 May 2010 18:18:33 +0000 (18:18 +0000)]
Move rm_codec_tags to rm.c so muxer/demuxer can share it.

Patch by Francesco Lavra <francescolavra interfree it>.

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

12 years agovp3: 10l Fix DC-only IDCT for C and ARM too
David Conrad [Fri, 28 May 2010 07:22:04 +0000 (07:22 +0000)]
vp3: 10l Fix DC-only IDCT for C and ARM too

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

12 years agovp3: The DC-only IDCT is surprisingly not supposed to be bitexact to the
David Conrad [Fri, 28 May 2010 07:01:34 +0000 (07:01 +0000)]
vp3: The DC-only IDCT is surprisingly not supposed to be bitexact to the
full IDCT. Fix this.

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

12 years agoOn2 IVF demuxer
David Conrad [Thu, 27 May 2010 21:23:04 +0000 (21:23 +0000)]
On2 IVF demuxer

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

12 years agoMake sure that when the parser is feeded with frame==packet that the
Michael Niedermayer [Thu, 27 May 2010 17:11:37 +0000 (17:11 +0000)]
Make sure that when the parser is feeded with frame==packet that the
packets are passed through and wont be marked as static which would
require them to be copied by av_dup_packet().

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

12 years agoaacdec: Clarify a channel mapping comment.
Cyril Russo [Thu, 27 May 2010 14:50:19 +0000 (14:50 +0000)]
aacdec: Clarify a channel mapping comment.

Patch by Cyril Russo >stage nexvision laposte net<

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

12 years agoMark AAC encoder as experimental.
Alex Converse [Thu, 27 May 2010 14:46:31 +0000 (14:46 +0000)]
Mark AAC encoder as experimental.

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

12 years agoVP8 parser
David Conrad [Thu, 27 May 2010 04:39:31 +0000 (04:39 +0000)]
VP8 parser

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

12 years agoAdd const to ff_emulated_edge_mc
David Conrad [Thu, 27 May 2010 04:39:27 +0000 (04:39 +0000)]
Add const to ff_emulated_edge_mc

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

12 years agoAdd more const to _l4 pixel functions
David Conrad [Thu, 27 May 2010 04:39:23 +0000 (04:39 +0000)]
Add more const to _l4 pixel functions

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

12 years agovp3: Skip the loop filter when strength is 0 or when requested
David Conrad [Thu, 27 May 2010 04:39:12 +0000 (04:39 +0000)]
vp3: Skip the loop filter when strength is 0 or when requested

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

12 years agoCosmetics : Fix typo.
Jai Menon [Thu, 27 May 2010 04:25:50 +0000 (04:25 +0000)]
Cosmetics : Fix typo.

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

12 years agoSome fields were incorrectly reset (to NULL) when calling avcodec_copy_context().
Jean-Daniel Dupas [Thu, 27 May 2010 01:29:09 +0000 (01:29 +0000)]
Some fields were incorrectly reset (to NULL) when calling avcodec_copy_context().

Patch by Jean-Daniel Dupas, devlists shadowlab org

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

12 years agoFix pts reordering code.
Michael Niedermayer [Thu, 27 May 2010 00:31:45 +0000 (00:31 +0000)]
Fix pts reordering code.
This fixes a regression introduced when libavfilter support was added to ffplay.

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

12 years agoAdd support for the newly added Nut codec tags (added in Nut r669):
Stefano Sabatini [Wed, 26 May 2010 22:26:19 +0000 (22:26 +0000)]
Add support for the newly added Nut codec tags (added in Nut r669):
Y1[00][16], [16][00]1Y, Y3[11][16], [16][11]3Y, Y3[10][16],
[16][10]3Y, Y3[00][16], [16][00]3Y, Y4[11][ 8], Y2[00][ 8].

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

12 years agoAdd the forgotten ff_ prefix to the shareable scan patterns.
Maxim Poliakovski [Wed, 26 May 2010 20:22:29 +0000 (20:22 +0000)]
Add the forgotten ff_ prefix to the shareable scan patterns.

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

12 years agoFactorize ff_h264_decode_extradata().
Howard Chu [Wed, 26 May 2010 19:00:59 +0000 (19:00 +0000)]
Factorize ff_h264_decode_extradata().

Patch by Howard Chu, hyc highlandsun com

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

12 years agoMark vorbis encoder as experimental.
Carl Eugen Hoyos [Wed, 26 May 2010 18:54:59 +0000 (18:54 +0000)]
Mark vorbis encoder as experimental.

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

12 years agoBump minor version bump and add an APIchanges entry after addition of
Stefano Sabatini [Wed, 26 May 2010 18:45:13 +0000 (18:45 +0000)]
Bump minor version bump and add an APIchanges entry after addition of

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

12 years agoBump minor version and add Changelog entry after r23334.
Carl Eugen Hoyos [Wed, 26 May 2010 18:34:48 +0000 (18:34 +0000)]
Bump minor version and add Changelog entry after r23334.

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

12 years agoTreat SIPP like xvid, fixed issue1966
Michael Niedermayer [Wed, 26 May 2010 17:23:36 +0000 (17:23 +0000)]
Treat SIPP like xvid, fixed issue1966

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

12 years agomove indeo5 scan patterns into ivi_common.c
Maxim Poliakovski [Wed, 26 May 2010 13:25:16 +0000 (13:25 +0000)]
move indeo5 scan patterns into ivi_common.c
so those can be shared by indeo4.

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

12 years agoAdd CODEC_CAP_EXPERIMENTAL and prefer encoders without it.
Janne Grunau [Wed, 26 May 2010 10:38:48 +0000 (10:38 +0000)]
Add CODEC_CAP_EXPERIMENTAL and prefer encoders without it.

Patch by Janne Grunau, janne-ffmpeg jannau net

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

12 years agoParse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own...
Alex Converse [Wed, 26 May 2010 04:22:52 +0000 (04:22 +0000)]
Parse and repack the first frame of H.264 in ASF because SPS+PPS lives in its own packet.

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

12 years agoAdd an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets...
Alex Converse [Wed, 26 May 2010 04:20:32 +0000 (04:20 +0000)]
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.

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

12 years agoFix declaration after statement
Alex Converse [Tue, 25 May 2010 23:25:29 +0000 (23:25 +0000)]
Fix declaration after statement

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

12 years agomatroskadec: avoid potential crash after r23169
Aurelien Jacobs [Tue, 25 May 2010 22:55:12 +0000 (22:55 +0000)]
matroskadec: avoid potential crash after r23169

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

12 years agoDo not invert samples when encoding Vorbis.
Frank Barchard [Tue, 25 May 2010 22:53:22 +0000 (22:53 +0000)]
Do not invert samples when encoding Vorbis.

Patch by Frank Barchard, fbarchard google

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

12 years agoCheck for VUI overeading and reset num_reoder_frames.
Michael Niedermayer [Tue, 25 May 2010 21:51:27 +0000 (21:51 +0000)]
Check for VUI overeading and reset num_reoder_frames.
This helps the video from issue1831

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

12 years agoffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests
Martin Storsjö [Tue, 25 May 2010 19:23:18 +0000 (19:23 +0000)]
ffserver: Send a Content-Base header in the reply to RTSP DESCRIBE requests

This is needed for QuickTime Player to be able to connect properly.

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

12 years agoCosmetics: reindent after the previous commit
Martin Storsjö [Tue, 25 May 2010 19:16:15 +0000 (19:16 +0000)]
Cosmetics: reindent after the previous commit

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

12 years agoapi-example: Try to avoid decoding incomplete frames
Martin Storsjö [Tue, 25 May 2010 19:13:28 +0000 (19:13 +0000)]
api-example: Try to avoid decoding incomplete frames

Use a larger input audio buffer, refill it when it has less than 4 KB data

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

12 years agoaacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.
Alex Converse [Tue, 25 May 2010 18:35:01 +0000 (18:35 +0000)]
aacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.

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

12 years agoRemove useless costly inf checks from the trellis scalefactor search.
Alex Converse [Tue, 25 May 2010 18:32:59 +0000 (18:32 +0000)]
Remove useless costly inf checks from the trellis scalefactor search.

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

12 years agoaacenc: Trellis over scalefactors using an estimated codebook rather than every codebook.
Alex Converse [Tue, 25 May 2010 18:31:55 +0000 (18:31 +0000)]
aacenc: Trellis over scalefactors using an estimated codebook rather than every codebook.

The minimal codebook to encode the band without clipping is used (as is done in the TLS).

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

12 years agoaacenc: Only trellis over a column of 61 scalefactors (reduced from 256).
Alex Converse [Tue, 25 May 2010 18:28:18 +0000 (18:28 +0000)]
aacenc: Only trellis over a column of 61 scalefactors (reduced from 256).

This still provides plenty of dynamic range, makes every move legal, and greatly reduces the search space.

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

12 years agoaacenc: Factor out find_min_book so it can be used by multiple coefficient coders.
Alex Converse [Tue, 25 May 2010 18:24:16 +0000 (18:24 +0000)]
aacenc: Factor out find_min_book so it can be used by multiple coefficient coders.

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

12 years agoWe're using generic tag-to-ID functions, so specific codec_id assignments
Zhou Zongyi [Tue, 25 May 2010 15:39:32 +0000 (15:39 +0000)]
We're using generic tag-to-ID functions, so specific codec_id assignments
are no longer necessary. Patch by Zhou Zongyi <zhouzy AT os pku edu cn>.

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

12 years agoCorrect golomb vlc decoding tables.
Michael Niedermayer [Tue, 25 May 2010 14:23:48 +0000 (14:23 +0000)]
Correct golomb vlc decoding tables.
Fixes issue 1930

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

12 years agommst_protocol depends on network
Måns Rullgård [Tue, 25 May 2010 13:02:44 +0000 (13:02 +0000)]
mmst_protocol depends on network

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

12 years agoSamsung uses SIPP as FourCC for MPEG-4 ASP.
Carl Eugen Hoyos [Tue, 25 May 2010 10:35:50 +0000 (10:35 +0000)]
Samsung uses SIPP as FourCC for MPEG-4 ASP.

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

12 years agoLook for libvpx headers in the vpx subdirectory in configure, too
Martin Storsjö [Tue, 25 May 2010 09:21:59 +0000 (09:21 +0000)]
Look for libvpx headers in the vpx subdirectory in configure, too

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

12 years agoHeaders for libvpx are installed into vpx subdirectory.
Carl Eugen Hoyos [Tue, 25 May 2010 08:58:14 +0000 (08:58 +0000)]
Headers for libvpx are installed into vpx subdirectory.

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

12 years agoFix VP8 listing in general.texi
Martin Storsjö [Tue, 25 May 2010 07:26:21 +0000 (07:26 +0000)]
Fix VP8 listing in general.texi

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

12 years ago24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
trueice@gmail.com [Tue, 25 May 2010 07:01:04 +0000 (07:01 +0000)]
24l trocadero: RTMP reader forgot to shift high byte of timestamp to its
proper position

Patch by trueice (his gmail account is obvious)

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

12 years agotheora: Don't read an excess bit for maximum length long bit runs if the run
David Conrad [Tue, 25 May 2010 03:19:54 +0000 (03:19 +0000)]
theora: Don't read an excess bit for maximum length long bit runs if the run
exactly ends the remaining blocks.

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

12 years agoVP8 decoding via libvpx.
James Zern [Tue, 25 May 2010 01:19:08 +0000 (01:19 +0000)]
VP8 decoding via libvpx.

Patch by James Zern for Google, Inc., jzern google com

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

12 years agoIn ogg muxer, use random serial number of each ogg streams
Baptiste Coudurier [Mon, 24 May 2010 23:37:33 +0000 (23:37 +0000)]
In ogg muxer, use random serial number of each ogg streams

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

12 years agoMMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.
Zhentan Feng [Mon, 24 May 2010 21:59:32 +0000 (21:59 +0000)]
MMS-over-TCP protocol support. Patch by Zhentan Feng <spyfeng gmail com>.

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

12 years agoAdd libavfilter 1-input - 1-output regression test, corresponding to the
Stefano Sabatini [Mon, 24 May 2010 20:38:50 +0000 (20:38 +0000)]
Add libavfilter 1-input - 1-output regression test, corresponding to the
target regtest-lavfi_pix_fmts.

The lavfi_pix_fmts test is disabled, this because there are
many tests which are failing, and there are still some output files
which cannot be played by NUT/ffplay.

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

12 years agoAdd missing codec id <-> codec tag entries:
Stefano Sabatini [Mon, 24 May 2010 20:35:01 +0000 (20:35 +0000)]
Add missing codec id <-> codec tag entries:

These codec tags are listed in fourcc.org, and are already listed in
libavcodec/raw.c:ff_raw_pix_fmt_tags as AVI tags.

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

12 years agoffserver: Fix one of the codec parameter checks
Martin Storsjö [Mon, 24 May 2010 20:24:39 +0000 (20:24 +0000)]
ffserver: Fix one of the codec parameter checks

This is probably what was originally intended; the codec pointers are all NULL.

Fix by Howard Chu, hyc at highlandsun dot com

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

12 years agoffserver: Fix streaming with more than one stream
Martin Storsjö [Mon, 24 May 2010 20:08:02 +0000 (20:08 +0000)]
ffserver: Fix streaming with more than one stream

Fix by Howard Chu, hyc at highlandsun dot com

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

12 years agoffserver: Fix extradata handling
Howard Chu [Mon, 24 May 2010 19:59:18 +0000 (19:59 +0000)]
ffserver: Fix extradata handling

Patch by Howard Chu, hyc at highlandsun dot com

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

12 years agoffserver: Fix an out of bounds read
Martin Storsjö [Mon, 24 May 2010 19:23:31 +0000 (19:23 +0000)]
ffserver: Fix an out of bounds read

Fix by Howard Chu, hyc at highlandsun dot com

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

12 years agoffserver: Fix another memory leak
Martin Storsjö [Mon, 24 May 2010 19:12:00 +0000 (19:12 +0000)]
ffserver: Fix another memory leak

Don't allocate st->codec, it will be overwritten by the memcpy a few
lines further down.

Fix by Howard Chu, hyc at highlandsun dot com

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

12 years agoffserver: Plug some memory leaks
Howard Chu [Mon, 24 May 2010 19:05:22 +0000 (19:05 +0000)]
ffserver: Plug some memory leaks

Patch by Howard Chu, hyc at highlandsun dot com

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

12 years agoAdd -f framemd5 muxer similar to framecrc.
Reimar Döffinger [Mon, 24 May 2010 17:49:26 +0000 (17:49 +0000)]
Add -f framemd5 muxer similar to framecrc.

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

12 years agoDisplay a more descriptive log message when probe buffer limit is
Jai Menon [Mon, 24 May 2010 16:42:16 +0000 (16:42 +0000)]
Display a more descriptive log message when probe buffer limit is

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

12 years agoFFplay : Implement custom reget_buffer for the input filter.
Jai Menon [Mon, 24 May 2010 14:19:44 +0000 (14:19 +0000)]
FFplay : Implement custom reget_buffer for the input filter.

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

12 years agoSkip pes payload during probing to avoid start code emulation.
Janne Grunau [Mon, 24 May 2010 12:32:13 +0000 (12:32 +0000)]
Skip pes payload during probing to avoid start code emulation.

Patch by Janne Grunau, janne-ffmpeg jannau net

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

12 years agoFix documentation of av_audio_convert.
Cyril Russo [Mon, 24 May 2010 10:11:21 +0000 (10:11 +0000)]
Fix documentation of av_audio_convert.

Patch by Cyril Russo, stage D nexvision A laposte net

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

12 years agomatroskaenc: Write codec time base as default duration for video tracks.
David Conrad [Mon, 24 May 2010 08:58:19 +0000 (08:58 +0000)]
matroskaenc: Write codec time base as default duration for video tracks.

This isn't exactly semantically equivalent, but the field has already been
long abused to mean this, and writing it helps in determining a decent cfr
time base when transcoding from a mkv where the video codec stores none (VP8).

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

12 years agoConvert NaN to 0/0 in av_d2q
David Conrad [Mon, 24 May 2010 00:44:02 +0000 (00:44 +0000)]
Convert NaN to 0/0 in av_d2q

This fixes aspect ratio calculation for encoding from files with 0/0 stored,
common with ogg/theora

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

12 years agoEnable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
Reimar Döffinger [Sun, 23 May 2010 23:33:38 +0000 (23:33 +0000)]
Enable AVFMT_GENERIC_INDEX for Ogg demuxer. This avoids the many
seeks needed for binary search when seeking to a previously seen

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

12 years agosmall wording fix
Diego Biurrun [Sun, 23 May 2010 23:19:37 +0000 (23:19 +0000)]
small wording fix

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