Commit Graph

104 Commits

Author SHA1 Message Date
Reimar Döffinger 2bc70a7681 Print "NOPTS" when AV_NOPTS_VALUE is encountered during seek regression tests.
This makes the output nicely aligned even in for those cases, and might
also avoid some issues with printf implementations that can not handle well
very large float values (e.g. msvcrt without MinGW wrapper IIRC).

Originally committed as revision 20334 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-20 15:37:50 +00:00
Reimar Döffinger 933018e249 Align the seek regression test output for better readability.
Originally committed as revision 20309 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-19 12:40:00 +00:00
Reimar Döffinger a828d48cfc Replace seek test error return numbers by the corresponding E* strings.
Hopefully this fixes regression tests on DOS.
It breaks alignment of the output a bit more, but this should be easy to
fix with a second patch.

Originally committed as revision 20282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-10-18 16:33:14 +00:00
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
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
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
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
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 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
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
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
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
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
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
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 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 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
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
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
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 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
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
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
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
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
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
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