Commit Graph

805 Commits

Author SHA1 Message Date
Ivan Schreter
a8dd8dc6e9 Use generic multi-stream key frame finding routine to implement read_seek2 and map
read_seek to read_seek2.

Originally committed as revision 19681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-22 16:07:50 +00:00
Aurelien Jacobs
194d4b494b matroskadec: correctly parse flags for simpleblock frames
Originally committed as revision 19621 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-10 18:06:14 +00:00
Diego Biurrun
966116b9f7 Remove some hunks of unused and disabled code cruft.
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-08-07 14:53:31 +00:00
Carl Eugen Hoyos
6c2a778d38 Remove unused global variable.
Originally committed as revision 19483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 08:28:58 +00:00
Carl Eugen Hoyos
9276b8f0cc Calculate gradient from parameter instead of using a global variable.
Originally committed as revision 19482 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-22 08:26:17 +00:00
Carl Eugen Hoyos
07874f2298 Due to a typo in videogen.c, the regression test videos were not as
complex as originally planned.
Typo fixed (the background moves less linear now) and regression test
results updated.

Originally committed as revision 19478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-21 10:37:23 +00:00
Baptiste Coudurier
df1550f081 set index duration to 0 for cbr, specifying whole container coverage
Originally committed as revision 19338 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:56:58 +00:00
Baptiste Coudurier
76b092e207 use ber4 length for descriptors preferred by specs
Originally committed as revision 19337 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:52:28 +00:00
Baptiste Coudurier
6a43aab01b write profile and level local tag in mpeg descriptor
Originally committed as revision 19336 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-07-04 07:49:12 +00:00
Michael Niedermayer
0444a8c534 Update seek regression checksums due to:
r19300
  Rewrite mp3 parser. New code is much simpler and does not drop
  stuff at random.

Originally committed as revision 19306 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 11:28:53 +00:00
Baptiste Coudurier
61f9e3c16a correctly compute frame flags with closed gop
Originally committed as revision 19304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-30 07:41:40 +00:00
Yoshihisa Uchida
d8b2d83473 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
2009-06-20 13:07:21 +00:00
Yoshihisa Uchida
3f3f3ba799 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
2009-06-20 12:52:48 +00:00
Stefano Sabatini
97668ac7f3 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
2009-06-18 23:44:05 +00:00
Måns Rullgård
a4ddf509fe regtest: print commands also for image format tests
Originally committed as revision 19195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-06-14 23:14:56 +00:00
Baptiste Coudurier
0c1375575a demux whole PES packets from TS
Originally committed as revision 18960 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 00:44:00 +00:00
Wolfram Gloger
ed1dc74e18 Fix off by one offset with fetch_timestamps, pts_parser_problem.mpg.
Patch by Wolfram Gloger, wmglo at dentm dot med dot uni-muenchen dot de.

Originally committed as revision 18959 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-27 00:14:32 +00:00
Baptiste Coudurier
45e5feda68 Fix regression tests, diff was due to a patch to mpeg-2 parser timestamp fetching, pending,
current ref is technically more correct though.

Originally committed as revision 18912 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 09:28:45 +00:00
Larbi Joubala
606d48cee1 fix hdlr descr in mp4 which use c string, patch by Larbi Joubala, larbi dot joubala at resonate-mp4 dot com
Originally committed as revision 18911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 07:17:17 +00:00
corp186
c69d224102 compute total bitrate more accurately, patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18909 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 06:09:16 +00:00
Baptiste Coudurier
b10d7e4e3a pad last audio frame when encoding
Originally committed as revision 18907 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-23 04:07:25 +00:00
David Conrad
325aef38da Update regression tests for y4m after r18796
The default changed from 420mpeg2 to 420jpeg

Originally committed as revision 18797 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 08:45:20 +00:00
Baptiste Coudurier
e4358e70f8 write a single pes for video frames, some proprietary player needs it
Originally committed as revision 18792 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-11 02:30:29 +00:00
Baptiste Coudurier
31df40a130 fix total bitrate computation, based on patch by corp186, chasedouglas at gmail dot com
Originally committed as revision 18778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-10 01:02:18 +00:00
Michael Niedermayer
9a3eaeebad Correct x/ymin to avoid segfault due to out of picture reads.
Originally committed as revision 18771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-05-08 15:14:36 +00:00
Baptiste Coudurier
a3d23e15fb fix 6 channels raw pcm demuxing, raw pcm now demux a fixed number of samples
Originally committed as revision 18453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-12 00:25:37 +00:00
Carl Eugen Hoyos
f77dddfcc3 Fix comment: gcc 2.95.3 binaries decode ac3 fine if SSE is available and
not disabled.

Originally committed as revision 18424 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-10 17:46:42 +00:00
Michael Niedermayer
300a3d0d00 Make sure the last bits of huffyuv frames are zeroed.
Fixes issue946

Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-05 13:02:47 +00:00
Diego Biurrun
1b4a516b94 Rename regression test result files from b-libav* to b-lavf* for consistency.
This requires updating the gxf regression checksum since the gxf muxer puts
the filename in files it creates.

Originally committed as revision 18253 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 21:32:52 +00:00
Måns Rullgård
67c447a679 Fix running regression tests on remote targets
Originally committed as revision 18251 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 20:57:01 +00:00
Diego Biurrun
7a8d0e9700 Skip creation of tests/data directory in individual regression test scripts.
It is already being taken care of by the Makefile.

Originally committed as revision 18248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 13:29:10 +00:00
Diego Biurrun
d7167f0555 Move generated file aynth1.sw to the data subdirectory. Thus it does not have
to be removed separately and there is less clutter in the tests directory.

Originally committed as revision 18246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 12:27:03 +00:00
Diego Biurrun
6117ffbe90 Rename regression.sh --> codec-regression.sh. Now all regression test scripts
carry the regression test they run as prefix in their name.

Originally committed as revision 18245 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 12:00:16 +00:00
Diego Biurrun
767e14c380 Rename server-regression.sh --> ffserver-regression.sh for consistency.
Originally committed as revision 18243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 10:05:00 +00:00
Diego Biurrun
0bb5f0fa22 cosmetics: Rename 'do_libav' function to 'do_lavf'.
Originally committed as revision 18241 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-30 05:22:22 +00:00
Diego Biurrun
209b9d565a Rename libav.regression.ref --> lavf.regression.ref.
This matches the new name of the test target.

Originally committed as revision 18229 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 21:29:46 +00:00
Diego Biurrun
688a477367 Rename test.conf --> ffserver.conf, the new name is more meaningful.
Originally committed as revision 18226 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 20:17:23 +00:00
Diego Biurrun
62cb577e39 Rename seek_test.sh --> seek-regression.sh for greater consistency.
Originally committed as revision 18220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-29 17:22:07 +00:00
Benoit Fouet
888facff22 Fix seek test build, by undefining printf and fprintf.
Originally committed as revision 18201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-27 08:24:46 +00:00
Benoit Fouet
e2eb0f52ec Fix a warning on an uninitialized variable.
Originally committed as revision 18195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-26 14:15:42 +00:00
Ronald S. Bultje
8b9794e542 Remove index writing in RM muxer, since it is broken (multiple streams per
single index chunk) and is always empty anyway. See "[PATCH] rmenc.c: remove
index writing" thread.

Originally committed as revision 18119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 20:34:24 +00:00
Reimar Döffinger
899a8fa1cb Fix avpicture_get_size for non-paletted formats with a helper palette
to not include the size of that palette.
Also clarify its documentation.

Originally committed as revision 18106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 10:25:20 +00:00
Baptiste Coudurier
31e2d5d321 update ffserver regression ref
Originally committed as revision 18105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 10:03:37 +00:00
Baptiste Coudurier
92a0f33878 fix valid seeking range
Originally committed as revision 18098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 07:35:52 +00:00
Baptiste Coudurier
a9c6fc7b3e update seek regression ref due to 18063
Originally committed as revision 18096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 05:03:11 +00:00
Justin Ruggles
59f60d0554 Fix the ogg regression test, which was broken by r18092. This is an
expected change because the ogg muxer with FLAC encoder uses the maximum
frame size estimate since it cannot rewrite the real maximum frame size
at end of encoding.

Originally committed as revision 18094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-21 02:06:31 +00:00
Daniel Verkamp
effcedf738 PCX encoder that handles 1-, 8-, and 24-bpp pixfmts.
Patch by Daniel Verkamp, daniel drv nu

Originally committed as revision 18077 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 17:23:45 +00:00
Baptiste Coudurier
21c6438f2c typo, fix eof check
Originally committed as revision 18064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:39:55 +00:00
Baptiste Coudurier
b9edbe9953 do not write ffm write index by default, detect if file is being written and return EOF
Originally committed as revision 18063 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-20 01:23:33 +00:00
Baptiste Coudurier
ed6ae6a58b use utc time for timestamp and do not set it if not specified
Originally committed as revision 17971 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 23:39:52 +00:00
Reimar Döffinger
bd36f175ab Make pcm_read_seek treat negative time stamps as 0, this avoids incorrectly
seeking before data_offset and is more consistent with how the generic index
seeking code handles it.

Originally committed as revision 17964 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 20:50:54 +00:00
Michael Niedermayer
b82744c9ae Switch regression test to the new seeking API.
Originally committed as revision 17957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-14 15:53:56 +00:00
Baptiste Coudurier
4e35ffa978 fix swf seeking by fixing new stream detection
Originally committed as revision 17952 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-13 19:37:05 +00:00
Baptiste Coudurier
fc34a08d77 remove sws_flags, seems to have no effect
Originally committed as revision 17944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-12 03:17:36 +00:00
Baptiste Coudurier
b686d0ab4b mxf and mxf d10 regression tests
Originally committed as revision 17934 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-11 07:16:19 +00:00
Reimar Döffinger
60f75ad245 Fix seek regression test broken by r17905, seeking fails completely
for swf before and after, but it now incorrectly creates additional
streams.

Originally committed as revision 17913 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 17:44:57 +00:00
Reimar Döffinger
29a68cf04e Convert spurious DOS line breaks to UNIX line breaks in seek regression
test reference file.

Originally committed as revision 17911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 15:38:08 +00:00
Baptiste Coudurier
6b4fab72df change path pattern to be similar to existing files, and remove useless buffer
Originally committed as revision 17896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 03:34:15 +00:00
Baptiste Coudurier
aaa43de31a write flt packet, might need some tweaking but it works
Originally committed as revision 17893 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:35:00 +00:00
Baptiste Coudurier
a96b1a903a correctly interleave audio and video according to specs
Originally committed as revision 17892 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 01:10:28 +00:00
Baptiste Coudurier
9885e9a63a write timecode track in gxf
Originally committed as revision 17891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 00:15:29 +00:00
Baptiste Coudurier
46a7e3ec14 write timecode track in gxf
Originally committed as revision 17890 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-09 00:14:55 +00:00
Baptiste Coudurier
990287c468 remove unneeded and empty user data
Originally committed as revision 17886 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-08 22:12:56 +00:00
Justin Ruggles
f48b9304cd flacdec: Parse the metadata header in the raw FLAC demuxer.
Originally committed as revision 17852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-06 01:31:10 +00:00
Ivan Schreter
61c23c155c Pass packet position to the parser, so frame's AVPacket.pos is computed correctly.
Originally committed as revision 17824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-05 07:36:16 +00:00
Michael Niedermayer
4022fe01a6 Change the timebase of the raw demuxer to one that can represent the ts of fields.
Originally committed as revision 17675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-03-01 03:48:35 +00:00
Ivan Schreter
4c6b49bf74 Change TS seeking so it returns position/timestamp of a key frame.
Patch by Ivan Schreter, schreter gmx net

Originally committed as revision 17665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-28 18:35:53 +00:00
Kostya Shishkov
e51b7a41ee Update regressions for YUV2RGB table generator change in SwScaler
Originally committed as revision 17518 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-22 09:23:29 +00:00
Aurelien Jacobs
2a46003c9e matroskadec: fix seek regression tests according to r17460
Originally committed as revision 17461 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 21:41:40 +00:00
Diego Biurrun
6f2162b471 Mark functions only used within the test programs as static.
Originally committed as revision 17454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-19 10:09:46 +00:00
Stefano Sabatini
8e2fd8e1d4 Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context().

Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-08 08:27:26 +00:00
Michael Niedermayer
6337178b4f Ensure that the palette is set in data[1] for all 8bit formats.
Also document it.

Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-06 12:59:50 +00:00
Stefan de Konink
426a6f34a0 Splits the totalbitrate in a videodatarate and audiodatarate part.
Patch by Stefan de Konink stefan konink de

Originally committed as revision 16944 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-02-02 16:10:46 +00:00
Baptiste Coudurier
8dc81a4524 seek at 0 when timestamp requested is negative
Originally committed as revision 16815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-27 04:29:33 +00:00
Baptiste Coudurier
e9338da87d fix endianness of time code, and calculate it in fields, according to specs
Originally committed as revision 16730 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-23 20:03:57 +00:00
Baptiste Coudurier
a848cfe97c fix seek reg tests, Im always forgetting this
Originally committed as revision 16706 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-21 00:36:34 +00:00
Baptiste Coudurier
507ff760af Do not use avctx->frame_number which might not be set,
this also fixes a side effect where its value was one too much.

Originally committed as revision 16701 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:43:58 +00:00
Baptiste Coudurier
15a4e8b85a set correct value for starting line
Originally committed as revision 16698 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:25:50 +00:00
Baptiste Coudurier
fc94187857 fix gxf time code mark out value
Originally committed as revision 16697 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-20 09:14:46 +00:00
David Conrad
4bcafc9a23 Update regression tests after r16651
Originally committed as revision 16656 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-17 18:34:47 +00:00
Baptiste Coudurier
3d0a94f699 calculate pat, pmt and sdt exact size and adjust total bitrate
Originally committed as revision 16610 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 23:49:13 +00:00
Baptiste Coudurier
31a2506349 update seek regression tests due to ts modifications
Originally committed as revision 16606 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:30:01 +00:00
Baptiste Coudurier
5541759f6f only write dts if they differ from pts, according to specs
Originally committed as revision 16605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:17:07 +00:00
Baptiste Coudurier
46911c7ab8 use delay to avoid negative dts
Originally committed as revision 16604 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 22:14:35 +00:00
Baptiste Coudurier
de34dc39c0 set pts and dts of pes packets exactly according to specs
Originally committed as revision 16603 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-01-14 21:57:10 +00:00
Michael Niedermayer
ed4c638a07 Fix PTS returned by the demuxers for mpeg4 without a decoder.
More precissely fix has_b_frames.
Fixes issue757

Originally committed as revision 16256 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-21 21:47:29 +00:00
Reimar Döffinger
de40eb8df2 Fix regression.sh to work on OpenBSD which has md5 instead of md5sum
but it is in the path (/bin), not /sbin.

Originally committed as revision 16088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-13 09:10:55 +00:00
Måns Rullgård
9a5771e9c1 Run regression tests on target system.
Originally committed as revision 15915 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-11-23 12:36:44 +00:00
Aurelien Jacobs
19cf8e2027 10l: missing change from r15667 - global header also affect seek test results
Originally committed as revision 15668 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-22 21:16:31 +00:00
Aurelien Jacobs
abce34d979 matroskaenc: require global header
fixes issue696

Originally committed as revision 15667 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-22 21:14:42 +00:00
Carl Eugen Hoyos
ede935a1bd Revert r15615: Enable AC-3 decoding regression tests.
AC-3 decoding regression test fails with gcc 2.95.3 because of missing
SSE support.

Originally committed as revision 15625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-15 22:58:45 +00:00
Carl Eugen Hoyos
2e00584efc Enable AC-3 decoding regression tests.
Originally committed as revision 15615 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-13 21:47:30 +00:00
Justin Ruggles
6682ae42a4 write actual min and max frame size to FLAC header. update regression test checksum.
Originally committed as revision 15331 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 22:25:50 +00:00
Justin Ruggles
a9f8587e15 write MD5 checksum to FLAC header. update regression tests.
Originally committed as revision 15326 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 21:39:54 +00:00
Justin Ruggles
2b90551764 update FLAC regression test due to expected change after r15324
Originally committed as revision 15325 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-14 20:10:30 +00:00
Michael Niedermayer
3e3c638e69 Switch regression tests to swscale.
Plain C, x86-32 and -64 have been tested and should work, other
archs that had asm optmizations in swscale likely will need some fixes
to either fall back on C if SWS_BITEXACT is set or make the asm match C.
This also disables the PAL8 test as neither swscale nor the old scaler
really support PAL8 output, imgconvert supported a fixed 666 palette
as output and swscale supports fixed 884 and 422.

Originally committed as revision 15305 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-13 03:49:54 +00:00
Aurelien Jacobs
20f7466550 matroskadec: after seeking, skip up to the desired timestamp instead of
the desired stream

Originally committed as revision 15282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-09 12:01:51 +00:00
Luca Abeni
dd1c8f3e6e Bump Major version, this commit is almost just renaming bits_per_sample to
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!

Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-08 14:24:59 +00:00
Aurelien Jacobs
0b393b7a4e fix seek regression tests after r15229
The matroska demuxer now index every streams so seek on stream 1 now works.

Originally committed as revision 15254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-07 15:08:43 +00:00
Peter Ross
287ba997b5 Remove further 1sample=2byte assumptions within FFmpeg to allow
F32LE/F64BE/F64LE audio to be encoded properly.

Originally committed as revision 15192 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-09-04 10:18:04 +00:00
Michael Niedermayer
d3b4b74c32 Fix lossless jpeg encoder to comply to spec and store full redundant
residuals, Note this does not change RGB32 as we need to check this
against some decoder that supports it.

Originally committed as revision 15055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-30 20:39:12 +00:00
Aurelien Jacobs
cbccf2058e Fix the seek regressions to match changes in r14956, r14959 and r14960.
The changes are verified and desired.

Originally committed as revision 14969 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-25 22:21:30 +00:00
Aurelien Jacobs
38511b9ad3 matroska: fix regression test according to r14862
Originally committed as revision 14865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-20 13:22:10 +00:00
Peter Ross
6f18fe8ce7 Add regression tests for F32LE, F64BE and F64LE PCM codecs.
Originally committed as revision 14838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-19 11:26:43 +00:00
Peter Ross
5e8ecfde50 Apply PCM ENCODE/DECODE() macros to the S/U,8/24/32,LE/BE PCM codecs.
Originally committed as revision 14692 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-11 09:52:17 +00:00
Peter Ross
4f5c72e857 PCM regression tests.
Originally committed as revision 14671 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-08 23:31:43 +00:00
Baptiste Coudurier
77c3fb9098 add dv 4:1:1 regression test
Originally committed as revision 14631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 23:03:02 +00:00
Baptiste Coudurier
b91758de48 100l, fix test, ref values were done with mv0, dunno how this slipped in
Originally committed as revision 14630 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 22:55:59 +00:00
Baptiste Coudurier
2cce68f8bd add mpeg2 4:2:2 regression test
Originally committed as revision 14629 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 21:59:51 +00:00
Aurelien Jacobs
3fa1e8185a matroskadec: update seek regression test to match new ebml parser
This change is due to r14590.
The AVPacket position now points to the first byte of the actual
packet data in the file. It previously pointed to the EBML element
ID preceding packet data.

Originally committed as revision 14612 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-08-05 00:43:04 +00:00
Baptiste Coudurier
39a127bfbc Only reset buffer state if seeking is successful; update seek reg ref.
Originally committed as revision 14491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 19:40:06 +00:00
Baptiste Coudurier
23f02559fe check url_fseek return value, update seek reg tests
Originally committed as revision 14488 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-31 18:01:12 +00:00
Michael Niedermayer
1e90317b65 Fix tiny_psnr so it compares all bytes (it did skip the last block).
Also display both file sizes and slightly change the output formatting.
[not split in 3 patches to avoid the huge checksum files from being changed
 and having to be reviewed 3 times, if people want it split i can revert and
 split it]

Originally committed as revision 14374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:24:36 +00:00
Diego Biurrun
cc8de8e8a5 cosmetics: typo/grammar fixes
Originally committed as revision 14371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 17:04:14 +00:00
Michael Niedermayer
e740c796d8 Fix segfault with non existing input files.
Originally committed as revision 14369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-24 15:47:28 +00:00
Baptiste Coudurier
9b92ed7666 update swf video frame number when muxing done, fix #439
Originally committed as revision 14293 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-19 03:25:50 +00:00
Michael Niedermayer
4c453ddbbc Make our flac decoder decode all the data at EOF.
Fixes issue524

Originally committed as revision 14223 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 21:51:29 +00:00
Reimar Döffinger
ae8afab998 Fix MS ADPCM de- and encoding: first and second sample are swapped.
Noticeable better decoding of e.g. http://samples.mplayerhq.hu/A-codecs/msadpcm-stereo/dance-b5th.asf

Originally committed as revision 14201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-13 14:08:28 +00:00
Michael Niedermayer
7efeb73a5a 10000l for myself, my last change was incomplete.
This one also reverts the libav mpeg ts regression test score change.

Originally committed as revision 14132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 23:25:01 +00:00
Michael Niedermayer
6d77d9acf7 Set cur_dts to 0 only during creating new streams and not every time cur_dts happens
to be AV_NOPTS_VALUE.

Originally committed as revision 14118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-07-08 14:07:37 +00:00
Baptiste Coudurier
148c8d8018 store dts in ffm headers
Originally committed as revision 13880 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 08:50:57 +00:00
Baptiste Coudurier
5e5f75cf8a remove pts set hack, this is no more correct
Originally committed as revision 13879 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 08:44:58 +00:00
Baptiste Coudurier
78a5c7a5a1 update seek reg ref due to r13856
Originally committed as revision 13878 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 07:33:31 +00:00
Baptiste Coudurier
dbedf2aae2 enable feeder threads
Originally committed as revision 13868 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 01:35:43 +00:00
Baptiste Coudurier
54e5cf132d do not reset ffm pts, this avoids setting last pts to 0 and screwing up seeking
Originally committed as revision 13856 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:26:25 +00:00
Baptiste Coudurier
60a04f7fc9 use av_seek_frame to flush demxu pending packets, fixes seeking, should have been done when av_find_stream_info was added
Originally committed as revision 13855 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-22 00:22:21 +00:00
Baptiste Coudurier
f7d321bc03 update reg ref due to r13851
Originally committed as revision 13852 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-21 04:03:17 +00:00
Michael Niedermayer
65f526835f I think we are also compliant to iso2.
Originally committed as revision 13765 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 13:52:53 +00:00
Michael Niedermayer
ed6e47c21d Add isom to the compatible brands.
Originally committed as revision 13764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-13 12:19:01 +00:00
Baptiste Coudurier
b63ba850c1 remove obsolete requirements, quicktime 6 is from 2002, not sure if muxing scheme still fits
Originally committed as revision 13732 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 19:56:45 +00:00
Baptiste Coudurier
3c6a9f66b9 pass dts and pts through ffm, should fix streaming b frames
Originally committed as revision 13725 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 07:43:14 +00:00
Baptiste Coudurier
d8b1dffbc5 remove unneeded ffmpeg commandline switches, and enable quiet mode
Originally committed as revision 13720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-09 00:26:25 +00:00
Baptiste Coudurier
8a4f5983ee update ffm seek tests now that timestamps are fixed
Originally committed as revision 13684 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 04:47:48 +00:00
Baptiste Coudurier
2940b38ef2 fix pts handling in ffm
Originally committed as revision 13683 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 00:49:03 +00:00
Baptiste Coudurier
c07d64c890 Reset reading state after successful seek.
Originally committed as revision 13682 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-07 00:35:37 +00:00
Baptiste Coudurier
995877956f update regression tests for ts due to r13641
Originally committed as revision 13651 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 17:59:24 +00:00
Michael Niedermayer
d59591fb02 In mpeg1/2 timestamps are associated with the access unit which
contains the first picture startcode that commences in the PES
packet, instead of the first access unit that commences in the
PES packet. Fix the parser to
handle that properly. This was a very long standing bug ...
The change to the seek regressions is because the mpeg ts muxer
stores too many invalid and randomized timestamps which overflow
the 4 entry buffer we use in the parser.

Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-03 02:43:17 +00:00
Måns Rullgård
968ae1d9cc fix servertest in out of tree builds
Originally committed as revision 13631 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-06-02 22:56:58 +00:00
Baptiste Coudurier
79c7968726 update regressions tests, should be stable now
Originally committed as revision 13550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:51:51 +00:00
Baptiste Coudurier
626932fd83 sleep seems needed to wait for feed to be setup
Originally committed as revision 13549 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-30 01:51:15 +00:00
Michael Niedermayer
bf1310c7b1 Update regression checksums after dts calculation fix (r13470).
Before, all dts where wrong, now just the first is a little odd.

Originally committed as revision 13491 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-28 10:25:20 +00:00
Baptiste Coudurier
0bf017c48b update regression ref due to r13412
Originally committed as revision 13427 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-26 08:22:38 +00:00
Baptiste Coudurier
fd83ad7f02 use short option
Originally committed as revision 13371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-25 00:28:03 +00:00
Baptiste Coudurier
bc908bc453 do not loop input, useless
Originally committed as revision 13369 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 23:53:37 +00:00
Baptiste Coudurier
ea2b716f68 fix feed path according to regression script
Originally committed as revision 13368 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 23:48:45 +00:00
Baptiste Coudurier
1faf7a20d5 simplify, use ffserver launch directive
Originally committed as revision 13367 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-24 23:48:02 +00:00
Baptiste Coudurier
38baa83c8a no need to sleep to hide crashes
Originally committed as revision 13225 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-21 21:24:32 +00:00
Diego Biurrun
245976da2a Use full path for #includes from another directory.
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-09 11:56:36 +00:00
Diego Biurrun
953f54f1f4 #include required stdint.h header directly.
Originally committed as revision 13084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-08 23:11:04 +00:00
Diego Biurrun
e680989d7b #include stdint.h instead of using a manual typedef for uint8_t.
Originally committed as revision 13073 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-05-07 08:41:34 +00:00