]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/log
frescor/ffmpeg.git
14 years agocorrectly compute frame flags with closed gop
bcoudurier [Tue, 30 Jun 2009 07:41:40 +0000 (07:41 +0000)]
correctly compute frame flags with closed gop

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19304 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agofix slice header checking
stefang [Tue, 30 Jun 2009 06:44:32 +0000 (06:44 +0000)]
fix slice header checking

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19303 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoDrop code that attempts to decode frames that are prefixed by junk,
michael [Tue, 30 Jun 2009 03:57:27 +0000 (03:57 +0000)]
Drop code that attempts to decode frames that are prefixed by junk,
it does too often end up decoding random data into noise without
detecting it. (for example after seeking of some mp3 data with oddly
often occuring startcode emulation)
fixes issue1154.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19302 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoSupport RGB48 PNG decoding
kostya [Tue, 30 Jun 2009 03:37:20 +0000 (03:37 +0000)]
Support RGB48 PNG decoding

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19301 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRewrite mp3 parser. New code is much simpler and does not drop
michael [Tue, 30 Jun 2009 03:12:50 +0000 (03:12 +0000)]
Rewrite mp3 parser. New code is much simpler and does not drop
stuff at random.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19300 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUse ff_log_missing_feature in the ADTS encoder.
alexc [Mon, 29 Jun 2009 22:48:07 +0000 (22:48 +0000)]
Use ff_log_missing_feature in the ADTS encoder.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19299 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix build on Net/OpenBSD
mru [Mon, 29 Jun 2009 20:45:49 +0000 (20:45 +0000)]
Fix build on Net/OpenBSD

The renaming in r19293 missed a few things.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19298 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics: group together indev/outdev dependacies.
stefano [Mon, 29 Jun 2009 20:00:58 +0000 (20:00 +0000)]
Cosmetics: group together indev/outdev dependacies.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19297 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd doxy to av_log_missing_feature() etc. stating that the function is
rbultje [Mon, 29 Jun 2009 19:17:03 +0000 (19:17 +0000)]
Add doxy to av_log_missing_feature() etc. stating that the function is
primarily intended for internal use in lavc/lavf, not for use in apps.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMove av_log_missing_feature() from the internal.h to the public avcodec.h
rbultje [Mon, 29 Jun 2009 19:11:53 +0000 (19:11 +0000)]
Move av_log_missing_feature() from the internal.h to the public avcodec.h
header file.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19295 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRename ff_log_missing_feature() to av_log_missing_feature().
rbultje [Mon, 29 Jun 2009 19:07:04 +0000 (19:07 +0000)]
Rename ff_log_missing_feature() to av_log_missing_feature().

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19294 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake the configure script select the input/output devices using
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19293 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoindent
michael [Mon, 29 Jun 2009 18:37:29 +0000 (18:37 +0000)]
indent

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19292 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoid3v2.4.0 uses syncsafe integers for sizes of frames.
michael [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19291 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19290 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove inconsistent use of a @brief command in av_write_trailer()
stefano [Sun, 28 Jun 2009 21:05:46 +0000 (21:05 +0000)]
Remove inconsistent use of a @brief command in av_write_trailer()
doxy.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19289 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19288 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19287 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19286 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoUpdate ffmpeg documentation regarding metadata setting. -title,
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19285 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove superfluous const.
cehoyos [Sat, 27 Jun 2009 10:26:27 +0000 (10:26 +0000)]
Remove superfluous const.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19284 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReplace an occurence of -1 by PIX_FMT_NONE, fixes icc warning #188:
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIcc 11.1 does not support attributes force_align_arg_pointer, alloc_size and cold.
cehoyos [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19282 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19281 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19280 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoHandle variable input stream pixfmts using the same framework introduced
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19279 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19278 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOnly checks for jack if it is enabled and hence only links to jack if
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19277 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19276 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19275 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19274 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoOnly set CODEC_ID_PROBE when a packet from a stream having a PES header
bcoudurier [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19273 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19272 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19271 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoRemove any reference to ASFContext.packet_size and replace it with
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19270 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19269 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19268 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoflvdec: Build a Speex header during FLV demuxing using required and
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19267 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoImprove wording: s/reseted/reset
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19266 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoReindent after last patch.
reimar [Wed, 24 Jun 2009 09:40:00 +0000 (09:40 +0000)]
Reindent after last patch.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19265 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomov demuxer: Track the current position also for streams that have AVDISCARD_ALL...
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19264 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomov_read_packet: extract code that searches for the stream/sample to demux next
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19263 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agomov_read_packet: if dv_get_packet fails, return exactly its error value
reimar [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).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19262 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoIn mov_read_packet remember the AVStream we want to demux next instead of the
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19261 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19260 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19259 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFix H.264 picture reordering, 2nd try.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19258 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoMake documentation better match the code. Now AVCodecContext.sample_fmt
vitor [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>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19257 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19256 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoEdge emulation should be used in B-frame MC in mspel mode with
kostya [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19255 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoAdd ff_ prefixes to exported symbols in libavformat/riff.h.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19254 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoConsistently rename variables denoting regression reference file(s)
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19253 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19252 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19251 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoChange packet_size from signed to unsigned, since it never has a negative
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19250 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoCosmetics: rename 'name' av_strtod() param to 'numstr'. The new name
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19249 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agooggenc: Change error log text. An error here does not necessarily mean
jbr [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19248 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19247 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19246 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19245 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

14 years agoFetch timestamp for the first frame of field only if frame_offset and
bcoudurier [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19244 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19243 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRevert unintended hunk of r19241.
cehoyos [Sat, 20 Jun 2009 14:51:03 +0000 (14:51 +0000)]
Revert unintended hunk of r19241.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19242 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19241 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19240 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix H.264 picture reordering.
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix indentation after last commit.
cehoyos [Sat, 20 Jun 2009 13:10:17 +0000 (13:10 +0000)]
Fix indentation after last commit.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19238 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix yamaha adpcm stereo (issue 1117).
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19237 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoFix onMetaData property count in flv files (issue 1206).
cehoyos [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19236 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19235 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSimplify run level decoding:
faust3 [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19234 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19233 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19232 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoIntroduce WMACoef typedef for decoded coefficients
faust3 [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19231 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19230 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoadd 0-termination in table, patch by Wolfram Gloger, wmglo at dent dot med dot uni...
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19229 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agofix dvcprohd 720p channels 3 and 4 audio timestamps, patch by Brian Brice, bbrice...
bcoudurier [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19228 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDisable network support if required headers cannot be found.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19227 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSupport varying frame sizes in a single file.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19226 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for id3 tag parsing for ADTS AAC streams
superdump [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 )

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19225 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMove id3v1/id3v2 handling code from mp3.c to id3v[12].c.
diego [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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19224 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for muxing XSUB subtitles to AVI muxer.
reimar [Fri, 19 Jun 2009 13:26:10 +0000 (13:26 +0000)]
Add support for muxing XSUB subtitles to AVI muxer.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19223 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd support for encoding XSUB subtitles. Muxing support is still missing.
reimar [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19222 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd pts field to AVSubtitle, for use by future XSUB encoder (and XSUB decoder
reimar [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).

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19221 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoRename tests/ffmpeg.regression.ref to tests/vsynth.regression.ref,
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19220 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19219 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoPrint why av_find_stream_info() failed, this is a rather common question
michael [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 debuging ...

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19217 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoARM: slightly faster NEON H264 horizontal loop filter
mru [Wed, 17 Jun 2009 22:33:04 +0000 (22:33 +0000)]
ARM: slightly faster NEON H264 horizontal loop filter

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19216 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSet restrictions on packet_size, as per ISO-11172 / H-222 specifications
rbultje [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19215 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoVC-1/WMV: Remove redundant ff_init_block_index() calls.
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19213 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd '.mp1' for MP1 audio in MOV/CAF.
astrange [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19212 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoAdd ".mp2" as a fourcc for mp2 audio in MOV. Fixes a problematic MOV file.
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19211 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoDowngrade message log level (from AV_LOG_ERROR to AV_LOG_DEBUG) about
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19210 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoMake ffmpeg able to set the loglevel option using strings
stefano [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19208 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoH.264: Fix memory leaks with multithreading.
astrange [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19207 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoSSE version of clear_blocks
darkshikari [Tue, 16 Jun 2009 17:33:57 +0000 (17:33 +0000)]
SSE version of clear_blocks

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19206 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

15 years agoVC-1/WMV3 decoding: don't clear blocks unless they're actually used.
darkshikari [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.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19205 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b