11 years agoMake the configure script select the input/output devices using
Stefano Sabatini [Mon, 29 Jun 2009 18:49:15 +0000 (18:49 +0000)]
Make the configure script select the input/output devices using
--enable-indev, --enable-outdev rather than --enable-demuxer,
--enable-muxer as before, same for disabling them.

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

11 years agoindent
Michael Niedermayer [Mon, 29 Jun 2009 18:37:29 +0000 (18:37 +0000)]

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

11 years agoid3v2.4.0 uses syncsafe integers for sizes of frames.
Michael Niedermayer [Mon, 29 Jun 2009 18:36:49 +0000 (18:36 +0000)]
id3v2.4.0 uses syncsafe integers for sizes of frames.
Fixes issue1234
Fixes regression introduced in r19275

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

11 years agoRevert r19149 "Disable native Vorbis encoder"
David Conrad [Mon, 29 Jun 2009 09:02:07 +0000 (09:02 +0000)]
Revert r19149 "Disable native Vorbis encoder"

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

11 years agoRemove inconsistent use of a @brief command in av_write_trailer()
Stefano Sabatini [Sun, 28 Jun 2009 21:05:46 +0000 (21:05 +0000)]
Remove inconsistent use of a @brief command in av_write_trailer()

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

11 years agoUse consistently the third person in doxy, as recommended by the
Stefano Sabatini [Sun, 28 Jun 2009 21:01:51 +0000 (21:01 +0000)]
Use consistently the third person in doxy, as recommended by the
javadoc specs.

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

11 years agoFix braino.
Stefano Sabatini [Sun, 28 Jun 2009 20:25:08 +0000 (20:25 +0000)]
Fix braino.

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

11 years agoIcc does not support attribute flatten, do not try to use it.
Carl Eugen Hoyos [Sun, 28 Jun 2009 18:28:27 +0000 (18:28 +0000)]
Icc does not support attribute flatten, do not try to use it.

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

11 years agoUpdate ffmpeg documentation regarding metadata setting. -title,
Stefano Sabatini [Sat, 27 Jun 2009 13:26:35 +0000 (13:26 +0000)]
Update ffmpeg documentation regarding metadata setting. -title,
-author, -copyright, -track, -album, and -year options have been
dropped in favor of -metadata.

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

11 years agoRemove superfluous const.
Carl Eugen Hoyos [Sat, 27 Jun 2009 10:26:27 +0000 (10:26 +0000)]
Remove superfluous const.

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

11 years agoReplace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
Carl Eugen Hoyos [Sat, 27 Jun 2009 08:39:56 +0000 (08:39 +0000)]
Replace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
enumerated type mixed with another type

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

11 years agoIcc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.
Carl Eugen Hoyos [Sat, 27 Jun 2009 08:34:04 +0000 (08:34 +0000)]
Icc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.

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

11 years agoPitch delay decoding
Vladimir Voroshilov [Fri, 26 Jun 2009 17:43:05 +0000 (17:43 +0000)]
Pitch delay decoding

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

11 years agoReplace pitch_delay_int array with single variable.
Vladimir Voroshilov [Fri, 26 Jun 2009 17:42:25 +0000 (17:42 +0000)]
Replace pitch_delay_int array with single variable.

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

11 years agoHandle variable input stream pixfmts using the same framework introduced
Jason Garrett-Glaser [Fri, 26 Jun 2009 01:08:26 +0000 (01:08 +0000)]
Handle variable input stream pixfmts using the same framework introduced
by the variable frame size patch.  Fixes at least issue 1165.

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

11 years agoOnly link against alsa if enabled.
Stefano Sabatini [Thu, 25 Jun 2009 23:21:40 +0000 (23:21 +0000)]
Only link against alsa if enabled.

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

11 years agoOnly checks for jack if it is enabled and hence only links to jack if
Adrian Stutz [Thu, 25 Jun 2009 22:48:49 +0000 (22:48 +0000)]
Only checks for jack if it is enabled and hence only links to jack if
it is not disabled.

Patch by Adrian Stutz $firsname@sttz ch.

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

11 years agoAltiVec code and runtime cpudetect do not require CONFIG_GPL.
Diego Biurrun [Thu, 25 Jun 2009 20:06:03 +0000 (20:06 +0000)]
AltiVec code and runtime cpudetect do not require CONFIG_GPL.
Make sure the latter is only checked for x86 optimizations, which are GPL.

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

11 years agoFix id3v2.2 frame size parsing.
Michael Niedermayer [Thu, 25 Jun 2009 19:44:44 +0000 (19:44 +0000)]
Fix id3v2.2 frame size parsing.
Fixes issue1202.

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

11 years agoFix id3v2.3/4 tag size parsing.
Michael Niedermayer [Thu, 25 Jun 2009 19:26:39 +0000 (19:26 +0000)]
Fix id3v2.3/4 tag size parsing.
Fixes issue1106

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

11 years agouse AVFormatContext->probesize in av_find_stream_info and raise default to 5M
Baptiste Coudurier [Thu, 25 Jun 2009 19:10:27 +0000 (19:10 +0000)]
use AVFormatContext->probesize in av_find_stream_info and raise default to 5M

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

11 years agoOnly set CODEC_ID_PROBE when a packet from a stream having a PES header
Baptiste Coudurier [Thu, 25 Jun 2009 19:01:16 +0000 (19:01 +0000)]
Only set CODEC_ID_PROBE when a packet from a stream having a PES header
is read.

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

11 years agolimit raw packet buffer size used for codec probing
Baptiste Coudurier [Thu, 25 Jun 2009 18:48:57 +0000 (18:48 +0000)]
limit raw packet buffer size used for codec probing

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

11 years agoThe AltiVec optimizations of libswscale are no longer under GPL.
Diego Biurrun [Thu, 25 Jun 2009 11:27:36 +0000 (11:27 +0000)]
The AltiVec optimizations of libswscale are no longer under GPL.

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

11 years agoPPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.
Diego Biurrun [Thu, 25 Jun 2009 10:14:05 +0000 (10:14 +0000)]
PPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.

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

11 years agoonly set par if it does not indicates a rotation, ex iphone 3GS
Baptiste Coudurier [Thu, 25 Jun 2009 00:17:47 +0000 (00:17 +0000)]
only set par if it does not indicates a rotation, ex iphone 3GS

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

11 years agoRemove any reference to ASFContext.packet_size and replace it with
Ronald S. Bultje [Wed, 24 Jun 2009 23:04:05 +0000 (23:04 +0000)]
Remove any reference to ASFContext.packet_size and replace it with
AVFormatContext.packet_size. See "[PATCH] asf*.c/h: use
AVFormatContext->packet_size instead of own copy" thread on ML.

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

11 years agoSplit developer documentation off from general documentation.
Diego Biurrun [Wed, 24 Jun 2009 22:58:58 +0000 (22:58 +0000)]
Split developer documentation off from general documentation.

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

11 years agoRewrite doxy for av_strtod().
Stefano Sabatini [Wed, 24 Jun 2009 22:35:11 +0000 (22:35 +0000)]
Rewrite doxy for av_strtod().

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

11 years agoflvdec: Build a Speex header during FLV demuxing using required and
Justin Ruggles [Wed, 24 Jun 2009 22:10:53 +0000 (22:10 +0000)]
flvdec: Build a Speex header during FLV demuxing using required and
default values. This is needed because FLV files with Speex do not
contain a Speex header, which is necessary for stream copy.

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

11 years agoImprove wording: s/reseted/reset
Haruhiko Yamagata [Wed, 24 Jun 2009 12:10:20 +0000 (12:10 +0000)]
Improve wording: s/reseted/reset

Patch by Haruhiko Yamagata, h D yamagata A nifty D com

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

11 years agoReindent after last patch.
Reimar Döffinger [Wed, 24 Jun 2009 09:40:00 +0000 (09:40 +0000)]
Reindent after last patch.

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

11 years agomov demuxer: Track the current position also for streams that have AVDISCARD_ALL...
Reimar Döffinger [Wed, 24 Jun 2009 09:38:42 +0000 (09:38 +0000)]
mov demuxer: Track the current position also for streams that have AVDISCARD_ALL set.
This allows for seamless switching of e.g. audio streams, with the previous code
playback started always from the beginning when removing AVDISCARD_ALL.

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

11 years agomov_read_packet: extract code that searches for the stream/sample to demux next
Reimar Döffinger [Wed, 24 Jun 2009 08:57:53 +0000 (08:57 +0000)]
mov_read_packet: extract code that searches for the stream/sample to demux next
into a separate function.

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

11 years agomov_read_packet: if dv_get_packet fails, return exactly its error value
Reimar Döffinger [Wed, 24 Jun 2009 08:50:46 +0000 (08:50 +0000)]
mov_read_packet: if dv_get_packet fails, return exactly its error value
instead of always -1 (makes no real difference currently since dv_get_packet
always returns -1 so far).

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

11 years agoIn mov_read_packet remember the AVStream we want to demux next instead of the
Reimar Döffinger [Wed, 24 Jun 2009 08:23:40 +0000 (08:23 +0000)]
In mov_read_packet remember the AVStream we want to demux next instead of the
MOVStreamContext. We need the AVStream anyway and it is easier to get the
MOVStreamContext from the AVStream than the other way around.

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

11 years agoLSF (Line Spectral Frequencies) decoding routine.
Vladimir Voroshilov [Wed, 24 Jun 2009 04:38:48 +0000 (04:38 +0000)]
LSF (Line Spectral Frequencies) decoding routine.

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

11 years agocheck stream existence before assignment, fix #1222
Baptiste Coudurier [Wed, 24 Jun 2009 03:38:47 +0000 (03:38 +0000)]
check stream existence before assignment, fix #1222

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

11 years agoFix H.264 picture reordering, 2nd try.
Haruhiko Yamagata [Tue, 23 Jun 2009 21:03:35 +0000 (21:03 +0000)]
Fix H.264 picture reordering, 2nd try.
First, reverted one was r19239.

Patch by Haruhiko Yamagata, h D yamagata A nifty D com

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

11 years agoMake documentation better match the code. Now AVCodecContext.sample_fmt
Brian Crowell [Tue, 23 Jun 2009 18:17:15 +0000 (18:17 +0000)]
Make documentation better match the code. Now AVCodecContext.sample_fmt
is used.

Patch by Brian Crowell <($firstname)@fluggo.com>

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

11 years agoAdd support for "chunked" data blocks. Patch by Peter Holik (peter holik at).
Peter Holik [Tue, 23 Jun 2009 15:38:53 +0000 (15:38 +0000)]
Add support for "chunked" data blocks. Patch by Peter Holik (peter holik at).

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

11 years agoEdge emulation should be used in B-frame MC in mspel mode with
Kostya Shishkov [Tue, 23 Jun 2009 07:41:38 +0000 (07:41 +0000)]
Edge emulation should be used in B-frame MC in mspel mode with
mv_x < 1 or mv_y < 1.

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

11 years agoAdd ff_ prefixes to exported symbols in libavformat/riff.h.
Daniel Verkamp [Mon, 22 Jun 2009 23:09:34 +0000 (23:09 +0000)]
Add ff_ prefixes to exported symbols in libavformat/riff.h.
patch by Daniel Verkamp, aniel drv nu

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

11 years agoConsistently rename variables denoting regression reference file(s)
Stefano Sabatini [Mon, 22 Jun 2009 22:56:18 +0000 (22:56 +0000)]
Consistently rename variables denoting regression reference file(s)
using the _REFFILE(S) postfix, and regression result file(s) using the
_RESFILE(S) postfix.
Improve legibility.

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

11 years agoExport av_strtod() to eval.h.
Stefano Sabatini [Mon, 22 Jun 2009 22:22:40 +0000 (22:22 +0000)]
Export av_strtod() to eval.h.

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

11 years agoDocument making AVFormatContext.packet_size unsigned API change.
Ronald S. Bultje [Mon, 22 Jun 2009 16:54:17 +0000 (16:54 +0000)]
Document making AVFormatContext.packet_size unsigned API change.

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

11 years agoChange packet_size from signed to unsigned, since it never has a negative
Ronald S. Bultje [Mon, 22 Jun 2009 16:52:02 +0000 (16:52 +0000)]
Change packet_size from signed to unsigned, since it never has a negative
value. Currently, this is only used in qcp.c and mpegenc.c, and they are
practically unaffected by this change.

See "[PATCH] make packet_size in AVFormatContext unsigned" thread on ML.

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

11 years agoCosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
Stefano Sabatini [Sun, 21 Jun 2009 21:37:05 +0000 (21:37 +0000)]
Cosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
is more expressive.

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

11 years agooggenc: Change error log text. An error here does not necessarily mean
Justin Ruggles [Sun, 21 Jun 2009 20:18:29 +0000 (20:18 +0000)]
oggenc: Change error log text. An error here does not necessarily mean
corrupted data.

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

11 years agooggenc: return error value from ogg_build_flac_headers()
Justin Ruggles [Sun, 21 Jun 2009 20:16:48 +0000 (20:16 +0000)]
oggenc: return error value from ogg_build_flac_headers()

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

11 years agocosmetics: spacing and comments
Justin Ruggles [Sun, 21 Jun 2009 20:14:58 +0000 (20:14 +0000)]
cosmetics: spacing and comments

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

11 years agooggenc: check for failed av_mallocz()
Justin Ruggles [Sun, 21 Jun 2009 20:13:54 +0000 (20:13 +0000)]
oggenc: check for failed av_mallocz()

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

11 years agoFetch timestamp for the first frame of field only if frame_offset and
Baptiste Coudurier [Sun, 21 Jun 2009 03:50:26 +0000 (03:50 +0000)]
Fetch timestamp for the first frame of field only if frame_offset and
next_frame_offset are not set, because second field has next frame offset set
but not frame_offset, otherwise this wrongly fetch timestamp for the
second field.

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

11 years agoclarify encoder and decoder opening error messages
Baptiste Coudurier [Sun, 21 Jun 2009 01:59:05 +0000 (01:59 +0000)]
clarify encoder and decoder opening error messages

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

11 years agoRevert unintended hunk of r19241.
Carl Eugen Hoyos [Sat, 20 Jun 2009 14:51:03 +0000 (14:51 +0000)]
Revert unintended hunk of r19241.

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

11 years agoRevert r19239: It broke four conformance tests.
Carl Eugen Hoyos [Sat, 20 Jun 2009 14:47:38 +0000 (14:47 +0000)]
Revert r19239: It broke four conformance tests.

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

11 years agoConvertion of LSF values to coefficients of linear prediction filter
Vladimir Voroshilov [Sat, 20 Jun 2009 13:36:21 +0000 (13:36 +0000)]
Convertion of LSF values to coefficients of linear prediction filter

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

11 years agoFix H.264 picture reordering.
Haruhiko Yamagata [Sat, 20 Jun 2009 13:16:07 +0000 (13:16 +0000)]
Fix H.264 picture reordering.

Patch by Haruhiko Yamagata, h D yamagata A nifty D com

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

11 years agoFix indentation after last commit.
Carl Eugen Hoyos [Sat, 20 Jun 2009 13:10:17 +0000 (13:10 +0000)]
Fix indentation after last commit.

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

11 years agoFix yamaha adpcm stereo (issue 1117).
Yoshihisa Uchida [Sat, 20 Jun 2009 13:07:21 +0000 (13:07 +0000)]
Fix yamaha adpcm stereo (issue 1117).

Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail

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

11 years agoFix onMetaData property count in flv files (issue 1206).
Yoshihisa Uchida [Sat, 20 Jun 2009 12:52:48 +0000 (12:52 +0000)]
Fix onMetaData property count in flv files (issue 1206).

Patch by Yoshihisa Uchida, yoshihisa D uchida A gmail

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

11 years agoMake remaining run level decode comments doxygen comments
Sascha Sommer [Sat, 20 Jun 2009 11:22:25 +0000 (11:22 +0000)]
Make remaining run level decode comments doxygen comments

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

11 years agoSimplify run level decoding:
Sascha Sommer [Sat, 20 Jun 2009 11:06:48 +0000 (11:06 +0000)]
Simplify run level decoding:
- remove unneeded vlc code < 0 check
- reorder vlc code handling so that the unlikely escape decoding
  part comes last
- move overflow check out of the decode loop
- branchless sign conversion

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

11 years agoFix indentation after the previous commit
Sascha Sommer [Sat, 20 Jun 2009 10:33:18 +0000 (10:33 +0000)]
Fix indentation after the previous commit

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

11 years agoAdd support for escape coded wmapro run level coefficients
Sascha Sommer [Sat, 20 Jun 2009 10:28:55 +0000 (10:28 +0000)]
Add support for escape coded wmapro run level coefficients

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

11 years agoIntroduce WMACoef typedef for decoded coefficients
Sascha Sommer [Sat, 20 Jun 2009 09:05:28 +0000 (09:05 +0000)]
Introduce WMACoef typedef for decoded coefficients
and change default type to float so that the run level
decoding functionality can be shared with wmapro

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

11 years agoPrint meaningful error messages when url_fopen fails.
Jai Menon [Sat, 20 Jun 2009 09:00:12 +0000 (09:00 +0000)]
Print meaningful error messages when url_fopen fails.

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

11 years agoadd 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni...
Wolfram Gloger [Sat, 20 Jun 2009 06:09:30 +0000 (06:09 +0000)]
add 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni-muenchen dot de

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

11 years agofix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice...
Brian Brice [Fri, 19 Jun 2009 21:36:21 +0000 (21:36 +0000)]
fix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice at gmail dot com

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

11 years agoDisable network support if required headers cannot be found.
Michael Kostylev [Fri, 19 Jun 2009 17:21:13 +0000 (17:21 +0000)]
Disable network support if required headers cannot be found.
patch by Michael Kostylev, michael.kostylev gmail com

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

11 years agoSupport varying frame sizes in a single file.
Eric Buehl [Fri, 19 Jun 2009 14:43:36 +0000 (14:43 +0000)]
Support varying frame sizes in a single file.
patch by Eric Buehl, eric.buehl gmail com

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

11 years agoAdd support for id3 tag parsing for ADTS AAC streams
Patrick Dehne [Fri, 19 Jun 2009 14:36:47 +0000 (14:36 +0000)]
Add support for id3 tag parsing for ADTS AAC streams

Patch by Patrick Dehne ( patrick mysonicweb com )

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

11 years agoMove id3v1/id3v2 handling code from mp3.c to id3v[12].c.
Patrick Dehne [Fri, 19 Jun 2009 14:03:35 +0000 (14:03 +0000)]
Move id3v1/id3v2 handling code from mp3.c to id3v[12].c.
patch by Patrick Dehne, patrick mysonicweb com

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

11 years agoAdd support for muxing XSUB subtitles to AVI muxer.
Reimar Döffinger [Fri, 19 Jun 2009 13:26:10 +0000 (13:26 +0000)]
Add support for muxing XSUB subtitles to AVI muxer.

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

11 years agoAdd support for encoding XSUB subtitles. Muxing support is still missing.
Reimar Döffinger [Fri, 19 Jun 2009 09:56:35 +0000 (09:56 +0000)]
Add support for encoding XSUB subtitles. Muxing support is still missing.
Based on code by DivX, Inc., heavily changed by Björn Axelsson [gecko acc.umu.se] and me.

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

11 years agoAdd pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
Reimar Döffinger [Fri, 19 Jun 2009 08:28:07 +0000 (08:28 +0000)]
Add pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
should use it, too).

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

11 years agoRename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
Stefano Sabatini [Thu, 18 Jun 2009 23:44:05 +0000 (23:44 +0000)]
Rename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
since that is the name of the corresponding test.

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

11 years agoAdd fourcc 0x10000004, seems to actually be MPEG4. Fixes a problematic AVI file.
Jason Garrett-Glaser [Thu, 18 Jun 2009 19:31:12 +0000 (19:31 +0000)]
Add fourcc 0x10000004, seems to actually be MPEG4.  Fixes a problematic AVI file.

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

11 years agoG.729 decoding routine (skeleton, including parameters decoding).
Vladimir Voroshilov [Thu, 18 Jun 2009 18:14:38 +0000 (18:14 +0000)]
G.729 decoding routine (skeleton, including parameters decoding).

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

11 years agoPrint why av_find_stream_info() failed, this is a rather common question
Michael Niedermayer [Thu, 18 Jun 2009 00:22:08 +0000 (00:22 +0000)]
Print why av_find_stream_info() failed, this is a rather common question
during debugging ...

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

11 years agoARM: slightly faster NEON H264 horizontal loop filter
Måns Rullgård [Wed, 17 Jun 2009 22:33:04 +0000 (22:33 +0000)]
ARM: slightly faster NEON H264 horizontal loop filter

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

11 years agoSet restrictions on packet_size, as per ISO-11172 / H-222 specifications
Ronald S. Bultje [Wed, 17 Jun 2009 19:04:02 +0000 (19:04 +0000)]
Set restrictions on packet_size, as per ISO-11172 / H-222 specifications
(max packet size should fit in 13 bits as a kB value, so 1<<23, plus the
header which is 10 bytes), and as per mpegenc.c internal assumptions
(min packet size is 20 bytes). See "[PATCH] make packet_size in
AVFormatContext unsigned" thread.

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

11 years agoDo not call rgb2rgbWrapper() for rgb48*, there is no special converter
Vitor Sessak [Wed, 17 Jun 2009 18:40:19 +0000 (18:40 +0000)]
Do not call rgb2rgbWrapper() for rgb48*, there is no special  converter
yet for those formats

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

11 years agoRemove a test on an always false condition.
Benoit Fouet [Wed, 17 Jun 2009 07:05:17 +0000 (07:05 +0000)]
Remove a test on an always false condition.

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

11 years agoVC-1/WMV: Remove redundant ff_init_block_index() calls.
Jason Garrett-Glaser [Wed, 17 Jun 2009 05:54:42 +0000 (05:54 +0000)]
VC-1/WMV: Remove redundant ff_init_block_index() calls.
These are only supposed to be called once per row, not once per macroblock.
~1.5% faster according to oprofile.

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

11 years agoAdd '.mp1' for MP1 audio in MOV/CAF.
Alexander Strange [Wed, 17 Jun 2009 00:37:06 +0000 (00:37 +0000)]
Add '.mp1' for MP1 audio in MOV/CAF.
Tested with streamcopy of 'mp1-sample.mp1' in incoming.

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

11 years agoAdd ".mp2" as a fourcc for mp2 audio in MOV. Fixes a problematic MOV file.
Jason Garrett-Glaser [Tue, 16 Jun 2009 23:50:02 +0000 (23:50 +0000)]
Add ".mp2" as a fourcc for mp2 audio in MOV.  Fixes a problematic MOV file.

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

11 years agoDowngrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) about
Art Clarke [Tue, 16 Jun 2009 23:14:59 +0000 (23:14 +0000)]
Downgrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) about
skipped metadata packet in FLV demuxer.

Patch by Art Clarke a${surname} At xuggle - com.

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

11 years agoMove opt_loglevel() from ffmpeg.c to cmdutils.c.
Stefano Sabatini [Tue, 16 Jun 2009 23:09:03 +0000 (23:09 +0000)]
Move opt_loglevel() from ffmpeg.c to cmdutils.c.

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

11 years agoMake ffmpeg able to set the loglevel option using strings
Ramiro Polla [Tue, 16 Jun 2009 23:02:53 +0000 (23:02 +0000)]
Make ffmpeg able to set the loglevel option using strings
corresponding to the various log levels.

Patch by Ramiro.

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

11 years agoH.264: Fix memory leaks with multithreading.
Alexander Strange [Tue, 16 Jun 2009 21:50:36 +0000 (21:50 +0000)]
H.264: Fix memory leaks with multithreading.

The threads' contexts and rbsp_buffers were not freed at the end
of decoding.

Fixes issue 1581

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

11 years agoSSE version of clear_blocks
Jason Garrett-Glaser [Tue, 16 Jun 2009 17:33:57 +0000 (17:33 +0000)]
SSE version of clear_blocks

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

11 years agoVC-1/WMV3 decoding: don't clear blocks unless they're actually used.
Jason Garrett-Glaser [Tue, 16 Jun 2009 09:09:03 +0000 (09:09 +0000)]
VC-1/WMV3 decoding: don't clear blocks unless they're actually used.
~8% faster VC-1 decoding.
Possible future optimization: clear blocks after use instead of before, and for
DC-only blocks, only clear the DC coefficient.

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

11 years agoidct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
Jason Garrett-Glaser [Tue, 16 Jun 2009 09:00:55 +0000 (09:00 +0000)]
idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall.
Includes mmx2 asm for the various functions.
Note that the actual idct still does not have an x86 SIMD implemtation.
For wmv3 files using regular idct, the decoder just falls back to simple_idct,
since simple_idct_dc doesn't exist (yet).

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

11 years agoFix typo in vc1.c, make capitalization in warning/error messages more consistent.
Jason Garrett-Glaser [Tue, 16 Jun 2009 00:48:07 +0000 (00:48 +0000)]
Fix typo in vc1.c, make capitalization in warning/error messages more consistent.

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

11 years agoAdd "config" make target to rerun configure with old options
Måns Rullgård [Mon, 15 Jun 2009 22:12:23 +0000 (22:12 +0000)]
Add "config" make target to rerun configure with old options

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

11 years agoconfigure: properly quote configure options stored in config.*
Måns Rullgård [Mon, 15 Jun 2009 22:12:21 +0000 (22:12 +0000)]
configure: properly quote configure options stored in config.*

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

11 years agoFix unaligned accesses by doing bytewise access until aligned, then
Ramiro Polla [Mon, 15 Jun 2009 14:38:30 +0000 (14:38 +0000)]
Fix unaligned accesses by doing bytewise access until aligned, then
continuing in 32-bit quantities.
Fixes crash observed on sparc during FATE mlp test.
Patch by Ramiro.

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

11 years agoThe AAC demuxer now depends on id3v1.o.
Patrick Dehne [Mon, 15 Jun 2009 08:38:11 +0000 (08:38 +0000)]
The AAC demuxer now depends on id3v1.o.
patch by Patrick Dehne, patrick mysonicweb com

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

11 years agocheck atom size against edit_count to avoid very long loop
Baptiste Coudurier [Mon, 15 Jun 2009 02:07:41 +0000 (02:07 +0000)]
check atom size against edit_count to avoid very long loop

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