Commit Graph

727 Commits

Author SHA1 Message Date
Reimar Döffinger
3fcb5113c6 wav demuxer: return AVERROR_EOF instead of AVERROR(EIO) when the end of
the file is reached normally, without any error.

Originally committed as revision 20143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 07:27:08 +00:00
Reimar Döffinger
4bd7cb8be2 Fix seek regression test: several AVERROR(EIO) correctly changed to AVERROR_EOF.
Originally committed as revision 20141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 07:19:21 +00:00
Reimar Döffinger
593b50cedf Make seek regression tests fit after previous get_buffer change.
The au and aiff demuxers would always return an empty packet before
detecting EOF, this is now fixed with av_get_packet etc. returning EOF.

Originally committed as revision 20136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-02 06:38:56 +00:00
Lasse Reinhold
391dbb54a6 Use floating point mathematics when encoding mpeg audio.
Fixes issue 975: high db peak levels when encoding mp2

Original patch by Lasse Reinhold, lassemikkelreinhold hotmail

Originally committed as revision 20100 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-30 15:13:09 +00:00
Stefano Sabatini
e935fa9e17 Prefer -vcodec rawvideo over -vcodec huffyuv for lavfi regression
tests, as the use of huffyuv may cause the auto-insertion of a scale
filter, thus masking the mis-behavior of some filter.

Originally committed as revision 20088 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 21:53:36 +00:00
Michael Kostylev
0e829974f5 Fix md5 program invocation for BSD.
patch by Michael Kostylev, michael.kostylev gmail com

Originally committed as revision 20086 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:49:04 +00:00
Reimar Döffinger
ebb651d5f2 Make sure that dv encoder initializes all encoded packet data.
The specification does not say which value to use for unused
parts, so fill all unused bytes with 0xff, which is consistent
with what DV usually uses for reserved or unused parts.

Originally committed as revision 20084 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-29 19:17:18 +00:00
Stefano Sabatini
7f5c14210b Remove duplicated / stray code which slipped in with r20057.
Originally committed as revision 20060 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 10:29:24 +00:00
Reimar Döffinger
06d7f30a9f Get rid of "function" "keywords" in lavfilter testing code, hopefully will
make regressions tests runnable again with all shells.

Originally committed as revision 20059 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 10:06:35 +00:00
Stefano Sabatini
40e024091d Implement a lavfitest target for testing regressions in libavfilter.
The target is disabled.

See the thread: "[PATCH] libavfilter-soc: regression test for libavfilter".

Originally committed as revision 20057 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-27 09:33:37 +00:00
Måns Rullgård
670bd2005a regtest: do not write to /tmp/ffmpeg$$
Nothing useful was ever written to this file.  It did, however,
often cause spurious failures when the file was left behind by
another user on the system.

Originally committed as revision 19938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 02:46:09 +00:00
Måns Rullgård
96fdb62428 Split dnxhd regression test so the parts can run in parallel
Originally committed as revision 19936 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-21 01:40:12 +00:00
Reimar Döffinger
3fdd82768d Use default sws_flags for dnxhd regression tests and also test the "-mbd rd"
variant of the encoder.

Originally committed as revision 19923 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:53:23 +00:00
Reimar Döffinger
d7c2e8e3fd Update regression reference for DNxHD test update
Originally committed as revision 19922 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:21:22 +00:00
Reimar Döffinger
6082086688 Change DNxHD regression tests to test both 720p and 1080i instead of just 1080i
for better test coverage.

Originally committed as revision 19921 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-19 10:20:47 +00:00
Reimar Döffinger
0ae2ccff56 Change dnxhd regression tests for r19912 which fixed uninitialized data in
encoded data.

Originally committed as revision 19916 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-18 21:29:17 +00:00
Baptiste Coudurier
afcdf34236 update seek regression tests due to r19902
Originally committed as revision 19904 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 21:35:48 +00:00
Reimar Döffinger
ef002fa32b Update dnxhd rotozoom regression test values with more sane ones that match
the results of most FATE machines.

Originally committed as revision 19903 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 19:51:27 +00:00
Niobos
9deba199fd fix pes overhead computation, patch by Niobos, niobos at dest-unreach dot be
Originally committed as revision 19902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 19:07:09 +00:00
Reimar Döffinger
bb8cd7b3cf Update dnxhd regression test to match the majority of FATE machines (which
also have a much saner stddev).

Originally committed as revision 19901 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 18:57:22 +00:00
Reimar Döffinger
a5083f66c7 Add dnxhd test to regression tests.
Originally committed as revision 19895 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-17 18:06:03 +00:00
Ivan Schreter
af8aae3fa3 disable new seeking code in mpeg-ts per #ifdef (use old read_seek by default)
Originally committed as revision 19788 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-09-06 15:59:32 +00:00
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