platform/upstream/libav.git
14 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
left.

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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:
CODEC_ID_RAWVIDEO <->  Y41B
CODEC_ID_RAWVIDEO <->  Y42B
CODEC_ID_RAWVIDEO <->  YUV9
CODEC_ID_RAWVIDEO <->  YVU9

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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
reached.

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

14 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

14 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

14 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

14 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

14 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

14 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
location.

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

14 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

14 years agoMention some more changes related to HTML 5 issues.
Diego Biurrun [Sun, 23 May 2010 23:17:42 +0000 (23:17 +0000)]
Mention some more changes related to HTML 5 issues.

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

14 years agomatroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere
David Conrad [Sun, 23 May 2010 22:20:04 +0000 (22:20 +0000)]
matroskadec: Revert adding the doctype to metadata; it has no meaning elsewhere

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

14 years agoReduce the score for the aea demuxer probing function.
Benjamin Larsson [Sun, 23 May 2010 22:01:27 +0000 (22:01 +0000)]
Reduce the score for the aea demuxer probing function.

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

14 years agoFix detection of some stereo atrac files by not comparing the
Benjamin Larsson [Sun, 23 May 2010 21:56:54 +0000 (21:56 +0000)]
Fix detection of some stereo atrac files by not comparing the
block size mode and info byte.

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

14 years agoReflect the 0.6 branch in the Changelog.
Diego Biurrun [Sun, 23 May 2010 21:19:37 +0000 (21:19 +0000)]
Reflect the 0.6 branch in the Changelog.

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

14 years agooups, 100l, revert unrelated hunk from commit r23266
Baptiste Coudurier [Sun, 23 May 2010 21:10:05 +0000 (21:10 +0000)]
oups, 100l, revert unrelated hunk from commit r23266

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

14 years agowrite 3gp perf tag for artist metadata
Baptiste Coudurier [Sun, 23 May 2010 21:06:11 +0000 (21:06 +0000)]
write 3gp perf tag for artist metadata

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

14 years agoalbm 3gp tag has optional track field not date
Baptiste Coudurier [Sun, 23 May 2010 21:04:39 +0000 (21:04 +0000)]
albm 3gp tag has optional track field not date

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

14 years agochange author metadata to artist in mov de/muxer
Baptiste Coudurier [Sun, 23 May 2010 21:03:14 +0000 (21:03 +0000)]
change author metadata to artist in mov de/muxer

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

14 years agoCosmetics : re-indent after last commit.
Jai Menon [Sun, 23 May 2010 19:14:59 +0000 (19:14 +0000)]
Cosmetics : re-indent after last commit.

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

14 years agoFFplay : Avoid manipulating NULL data pointers so that future checks
Jai Menon [Sun, 23 May 2010 19:13:17 +0000 (19:13 +0000)]
FFplay : Avoid manipulating NULL data pointers so that future checks
remain valid. This fixes segfaults for those cases where data copy to
this invalid pointer is attempted.

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

14 years agoPrefix value for flags with "0x", to make it clear that it is an
Stefano Sabatini [Sun, 23 May 2010 19:11:43 +0000 (19:11 +0000)]
Prefix value for flags with "0x", to make it clear that it is an
hexadecimal value.

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

14 years agoMake the nut decoder read the ff_nut_video_tags to detect codec id of
Stefano Sabatini [Sun, 23 May 2010 18:34:18 +0000 (18:34 +0000)]
Make the nut decoder read the ff_nut_video_tags to detect codec id of
the input file.

This is required as Nut codec tags are not contained in
ff_codec_bmp_tags.

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

14 years agoDefine ff_nut_video_tags and make Nut muxer and demuxer set it in
Stefano Sabatini [Sun, 23 May 2010 18:34:15 +0000 (18:34 +0000)]
Define ff_nut_video_tags and make Nut muxer and demuxer set it in
codec_tag.

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

14 years agoDocument CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.
Reimar Döffinger [Sun, 23 May 2010 15:34:39 +0000 (15:34 +0000)]
Document CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.

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

14 years agoAdd a md5 muxer that allows checking the md5 sums of generated streams without
Reimar Döffinger [Sun, 23 May 2010 13:07:33 +0000 (13:07 +0000)]
Add a md5 muxer that allows checking the md5 sums of generated streams without
needing an external MD5 command.

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

14 years agoAdd empty newline to separate function declarations, for better
Stefano Sabatini [Sun, 23 May 2010 10:02:30 +0000 (10:02 +0000)]
Add empty newline to separate function declarations, for better
readability.

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

14 years agoAdd an entry to APIchanges for the addition of av_get_random_seed
Martin Storsjö [Sun, 23 May 2010 09:47:18 +0000 (09:47 +0000)]
Add an entry to APIchanges for the addition of av_get_random_seed

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

14 years agoBump libavutil minor version for the addition of av_get_random_seed
Martin Storsjö [Sun, 23 May 2010 09:45:34 +0000 (09:45 +0000)]
Bump libavutil minor version for the addition of av_get_random_seed

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

14 years agoMake ff_random_get_seed public, rename to av_get_random_seed, export the header
Martin Storsjö [Sun, 23 May 2010 08:53:40 +0000 (08:53 +0000)]
Make ff_random_get_seed public, rename to av_get_random_seed, export the header

Keep an old ff_ named function for binary compatibility until the
next major bump.

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

14 years agoMake av_write_header() return AVERROR(EINVAL) rather than -1 if the
Stefano Sabatini [Sat, 22 May 2010 21:52:06 +0000 (21:52 +0000)]
Make av_write_header() return AVERROR(EINVAL) rather than -1 if the
input parameters are not valid.

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

14 years agoStore in a dedicated array the format name - codec id - codec type
Stefano Sabatini [Sat, 22 May 2010 21:52:02 +0000 (21:52 +0000)]
Store in a dedicated array the format name - codec id - codec type
mapping. Simplify.

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

14 years agoOpen 2-pass logfile in binary mode for both reading and writing.
Ramiro Polla [Sat, 22 May 2010 21:32:57 +0000 (21:32 +0000)]
Open 2-pass logfile in binary mode for both reading and writing.
This fixes a regression on Windows introduced by r22769 in which the data read
from the file was not properly zero terminated. The file was read as text,
which caused the \r characters to be suppressed. Since the zero termination
happens at the end of the buffer, and there was one byte less read per line,
this caused the remaining space on the buffer to contain random data.

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

14 years agoMove AVCodecTag from riff.h into internal.h.
Francesco Lavra [Sat, 22 May 2010 16:01:32 +0000 (16:01 +0000)]
Move AVCodecTag from riff.h into internal.h.

Patch by Francesco Lavra, francescolavra interfree it

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

14 years agoPrefer enum CodecID over int in ff_codec_get_tag().
Stefano Sabatini [Sat, 22 May 2010 15:56:49 +0000 (15:56 +0000)]
Prefer enum CodecID over int in ff_codec_get_tag().

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

14 years agoUpdate regression tests after removing track timecode scale from mkvenc
David Conrad [Sat, 22 May 2010 02:13:01 +0000 (02:13 +0000)]
Update regression tests after removing track timecode scale from mkvenc

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

14 years agomatroskaenc: Don't write track timecode scale
David Conrad [Sat, 22 May 2010 01:41:38 +0000 (01:41 +0000)]
matroskaenc: Don't write track timecode scale

It's not required for mkv and unsupported in webm

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

14 years agomatroskadec: Allow unknown EBML doctype
David Conrad [Sat, 22 May 2010 01:41:35 +0000 (01:41 +0000)]
matroskadec: Allow unknown EBML doctype

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

14 years agomatroskadec: Support webm doctype
James Zern [Sat, 22 May 2010 01:41:32 +0000 (01:41 +0000)]
matroskadec: Support webm doctype

Patch by James Zern <jzern at google>

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

14 years agoRename pixelFormatBpsAVI to pix_fmt_bps_avi and pixelFormatBpsMOV to
Stefano Sabatini [Fri, 21 May 2010 23:19:50 +0000 (23:19 +0000)]
Rename pixelFormatBpsAVI to pix_fmt_bps_avi and pixelFormatBpsMOV to
pix_fmt_bps_mov.

The new names are consistent with the predominant FFmpeg style.

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

14 years agoRename findPixelFormat() to find_pix_fmt().
Stefano Sabatini [Fri, 21 May 2010 23:19:45 +0000 (23:19 +0000)]
Rename findPixelFormat() to find_pix_fmt().

Less ugly and more consistent with the FFmpeg predominant style.

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

14 years agoremove unused field
Baptiste Coudurier [Fri, 21 May 2010 21:41:38 +0000 (21:41 +0000)]
remove unused field

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

14 years agoIn ogg muxer, pack multiple frames into one page, much lower overhead
Baptiste Coudurier [Fri, 21 May 2010 21:38:54 +0000 (21:38 +0000)]
In ogg muxer, pack multiple frames into one page, much lower overhead

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

14 years agoffserver: Avoid busylooping while reading non-blocking input
Howard Chu [Fri, 21 May 2010 07:59:12 +0000 (07:59 +0000)]
ffserver: Avoid busylooping while reading non-blocking input

Patch by Howard Chu, hyc at highlandsun dot com

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

14 years agoChange the default codecs for the rtsp muxer to mpeg4 and aac
Martin Storsjö [Fri, 21 May 2010 07:12:33 +0000 (07:12 +0000)]
Change the default codecs for the rtsp muxer to mpeg4 and aac

These codecs in RTP are supported by many players.

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

14 years agoTake ff_write_chained in use in the mov rtp hinter and in the rtsp muxer
Martin Storsjö [Fri, 21 May 2010 07:08:29 +0000 (07:08 +0000)]
Take ff_write_chained in use in the mov rtp hinter and in the rtsp muxer

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

14 years agoAdd a libavformat internal function ff_write_chained
Martin Storsjö [Fri, 21 May 2010 07:07:57 +0000 (07:07 +0000)]
Add a libavformat internal function ff_write_chained

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

14 years agoRename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
Stefano Sabatini [Thu, 20 May 2010 23:09:11 +0000 (23:09 +0000)]
Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.

The new name is shorter and consistent with the FFmpeg style.

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

14 years agoFix doxy reference to unexisting function.
Stefano Sabatini [Thu, 20 May 2010 21:27:01 +0000 (21:27 +0000)]
Fix doxy reference to unexisting function.

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

14 years agoDisable non interleaved avi code when there is no index available.
Michael Niedermayer [Thu, 20 May 2010 18:34:44 +0000 (18:34 +0000)]
Disable non interleaved avi code when there is no index available.
Fixes issue1956.

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

14 years agoCosmetics: make more compact the code for handle_jpeg(), this also allows
Stefano Sabatini [Wed, 19 May 2010 22:56:41 +0000 (22:56 +0000)]
Cosmetics: make more compact the code for handle_jpeg(), this also allows
vertical alignment. Improve readability.

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

14 years agoChange eval API to take parent log context and log level offset.
Michael Niedermayer [Wed, 19 May 2010 22:55:29 +0000 (22:55 +0000)]
Change eval API to take parent log context and log level offset.
this is based on stefanos work, especially all bugs are his fault ;)

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

14 years agoPrint parent log context too, if available.
Michael Niedermayer [Wed, 19 May 2010 22:51:38 +0000 (22:51 +0000)]
Print parent log context too, if available.

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

14 years agoMake it possible for a log context to keep track of its parent context.
Michael Niedermayer [Wed, 19 May 2010 22:50:39 +0000 (22:50 +0000)]
Make it possible for a log context to keep track of its parent context.
This is usefull to keep track and display relations where things are a
bit more complex (like AVProtocols or demuxers used by demuxers and such)

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

14 years agoRemove PI definition and use M_PI instead.
Stefano Sabatini [Wed, 19 May 2010 22:49:04 +0000 (22:49 +0000)]
Remove PI definition and use M_PI instead.

M_PI is defined by the included file libavutil/mathematics.h.

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

14 years agoav_default_item_name() so Simply AVClasses need 1 function less.
Michael Niedermayer [Wed, 19 May 2010 22:45:04 +0000 (22:45 +0000)]
av_default_item_name() so Simply AVClasses need 1 function less.

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

14 years agofix x264 encoding when delay is > number of input frames
Baptiste Coudurier [Wed, 19 May 2010 20:48:29 +0000 (20:48 +0000)]
fix x264 encoding when delay is > number of input frames

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

14 years agoAdd a chomp BSF to consume zero padding at the end of a packet.
Alex Converse [Wed, 19 May 2010 20:18:40 +0000 (20:18 +0000)]
Add a chomp BSF to consume zero padding at the end of a packet.

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

14 years agoMake aac_decode_frame() consume zero padding at the end of a packet.
Alex Converse [Wed, 19 May 2010 20:18:34 +0000 (20:18 +0000)]
Make aac_decode_frame() consume zero padding at the end of a packet.

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

14 years agoBump minor version for CODEC_ID_VP8
David Conrad [Wed, 19 May 2010 20:13:50 +0000 (20:13 +0000)]
Bump minor version for CODEC_ID_VP8

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

14 years agoAdd VP80 fourcc
Google [Wed, 19 May 2010 16:50:12 +0000 (16:50 +0000)]
Add VP80 fourcc

Patch by Google

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

14 years agomatroska: Add V_VP8
Google [Wed, 19 May 2010 16:50:06 +0000 (16:50 +0000)]
matroska: Add V_VP8

Patch by Google

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

14 years agoAdd VP8 CODEC_ID
Google [Wed, 19 May 2010 16:50:00 +0000 (16:50 +0000)]
Add VP8 CODEC_ID

Patch by Google

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

14 years ago13% faster yuv420 to rgb15 mmx.
Loren Merritt [Wed, 19 May 2010 13:31:11 +0000 (13:31 +0000)]
13% faster yuv420 to rgb15 mmx.
It is now faster than the old gpl version on conroe.

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

14 years agoFix a crash when opening WMS RTSP streams
Martin Storsjö [Wed, 19 May 2010 09:46:29 +0000 (09:46 +0000)]
Fix a crash when opening WMS RTSP streams
Fixes issue 1948

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

14 years ago40% faster yuv420 to rgb24 mmx.
Loren Merritt [Wed, 19 May 2010 08:21:56 +0000 (08:21 +0000)]
40% faster yuv420 to rgb24 mmx.
It is now faster than the old gpl version on conroe.

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

14 years agoAdd an APIchanges note regarding the new rtp hinting flag
Martin Storsjö [Wed, 19 May 2010 08:16:25 +0000 (08:16 +0000)]
Add an APIchanges note regarding the new rtp hinting flag

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

14 years agoLate bump of the minor version, for the addition of AVFMT_FLAG_RTP_HINT
Martin Storsjö [Wed, 19 May 2010 08:13:13 +0000 (08:13 +0000)]
Late bump of the minor version, for the addition of AVFMT_FLAG_RTP_HINT

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

14 years agoAdd a changelog entry for the RTP hinting in the mov muxer
Martin Storsjö [Wed, 19 May 2010 08:12:15 +0000 (08:12 +0000)]
Add a changelog entry for the RTP hinting in the mov muxer

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

14 years agoFix signedness of q_delta field of the IVIMbInfo.
Maxim Poliakovski [Wed, 19 May 2010 06:46:50 +0000 (06:46 +0000)]
Fix signedness of q_delta field of the IVIMbInfo.
Patch by Maxim max_pole () gmx * de

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

14 years agomatroskadec: Free ebml binary buffer on error
David Conrad [Tue, 18 May 2010 21:21:37 +0000 (21:21 +0000)]
matroskadec: Free ebml binary buffer on error

Based on a Chromium patch

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

14 years agomatroskadec: Fix buffer overread in matroska_ebmlnum_uint
David Conrad [Tue, 18 May 2010 21:21:32 +0000 (21:21 +0000)]
matroskadec: Fix buffer overread in matroska_ebmlnum_uint

Based on a Chromium patch

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

14 years agomatroskadec: Ensure time_scale is nonzero, fixes divide-by-zero if the file
David Conrad [Tue, 18 May 2010 21:21:28 +0000 (21:21 +0000)]
matroskadec: Ensure time_scale is nonzero, fixes divide-by-zero if the file
has 0 written

Based on a Chromium patch

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

14 years agomatroskadec: Use av_freep in ebml_read_ascii
David Conrad [Tue, 18 May 2010 21:21:23 +0000 (21:21 +0000)]
matroskadec: Use av_freep in ebml_read_ascii

Based on a Chromium patch

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

14 years agoUse a heuristic for describing the RTP packets using sample data
Martin Storsjö [Tue, 18 May 2010 19:48:25 +0000 (19:48 +0000)]
Use a heuristic for describing the RTP packets using sample data

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