Commit Graph

293 Commits

Author SHA1 Message Date
Carl Eugen Hoyos ad556addfd Fix h264-conformance-frext-frext_mmco4_sony_b conformance test.
This includes a revert of r25840

Originally committed as revision 25842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-29 10:35:57 +00:00
Baptiste Coudurier 79561f0ed4 Update fate h264 test due to r25824, this file has 2 frames delay
Originally committed as revision 25840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-28 23:09:30 +00:00
Baptiste Coudurier 9d9c3e1a70 Make DNxHD encoder produce files that are strictly VC-3 compatible
Originally committed as revision 25756 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-16 01:00:55 +00:00
Vitor Sessak bbf07bf9b8 Remove now unused file (should have been part of commit r25735)
Originally committed as revision 25736 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-12 20:15:36 +00:00
Vitor Sessak c51722bf97 Test 4XM decoding (and not only demuxing) in FATE tests
Originally committed as revision 25735 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-12 20:04:41 +00:00
Reimar Döffinger e61bb0852f Add test for cropping of interlaced H.264.
Originally committed as revision 25677 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-04 21:48:54 +00:00
Reimar Döffinger 9fc2b70826 Update 24 bpp TM1 reference for decoder fixes.
Originally committed as revision 25664 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-11-03 18:13:09 +00:00
Michael Niedermayer 94bdb1f80c Avoid negative SCR in mpeg ps muxer.
Fixes a scr issue reported with dvdauthor ([FFmpeg-user] FFMPEG encoded MPEG-2 video causes error in DVDAuthor)

Originally committed as revision 25512 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-16 21:31:31 +00:00
Alexander Strange e4dccc0d59 Update rv30 FATE reference after last commit
The rm demuxer has timestamp bugs, so this test is sensitive to changes in
timestamp correction. The previous commit did not make output any better or worse
on this test, just different.

See https://roundup.ffmpeg.org/issue2288 for details.

Originally committed as revision 25432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-10 02:20:02 +00:00
Baptiste Coudurier a7ba165a0c Update gxf regression tests because of r25399
Originally committed as revision 25400 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:37:37 +00:00
Reuben Martin ad4c3c6840 In gxf muxer, fix flt entry offset, patch by Reuben Martin, reuben dot m at gmail dot com
Originally committed as revision 25395 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 19:15:35 +00:00
Michael Niedermayer 9b272e3274 Init SCR in mpeg muxer based on first DTS.
This fixes issues if the first DTS is far away from 0.

Originally committed as revision 25383 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-07 00:32:22 +00:00
Reimar Döffinger 01e4b67598 Rename fate-gsm test to the more accurate fate-gsm-ms
and add a test for regular GSM as fate-gsm.

Fixes a 8kHz sample from issue 113.

Originally committed as revision 25313 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-10-02 09:56:21 +00:00
Måns Rullgård 8c067b5dfd Update rv20 seek test reference
Originally committed as revision 25204 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 09:02:51 +00:00
Michael Niedermayer 53eb458a72 Fix rv20 encoding so the binary decoder can decode it.
Originally committed as revision 25203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-26 01:56:48 +00:00
Justin Ruggles c7d89948a3 Set a constant frame size for encoding G.726 audio.
Originally committed as revision 25107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-11 19:52:09 +00:00
Martin Storsjö fe5f761ab6 Add a FATE test for the G.722 decoder
Originally committed as revision 25104 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-11 10:23:02 +00:00
Vitor Sessak 82c76ceee7 QTRLE regtest
Originally committed as revision 25017 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-09-01 12:38:36 +00:00
Vitor Sessak 4b7539f1cd SHA fate test
Originally committed as revision 25013 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 20:07:38 +00:00
Vitor Sessak 6b85316bd2 Test decoding in fate-lavf-gif
Originally committed as revision 25012 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 17:55:31 +00:00
Vitor Sessak f5d4fc43bb PNG image regression testing
Originally committed as revision 25011 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 17:53:48 +00:00
Vitor Sessak d81db9c7d1 Add RealVideo 3 FATE test
Originally committed as revision 25008 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:15:04 +00:00
Vitor Sessak 3e41fc623c Add Apple MJPEG-B decoder FATE test
Originally committed as revision 25006 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:13:14 +00:00
Vitor Sessak 506c47a48e Add FATE test for ScummVM DXA flavor
Originally committed as revision 25005 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-31 11:11:25 +00:00
Vitor Sessak 2d0cdf3cc0 Add fate test for Westwood SND1 codec
Originally committed as revision 24957 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 14:51:51 +00:00
Vitor Sessak 0a24503d04 Remove CCITT fax G4 tests (partial revert of r24954). This test is
corrupting memory somehow and segfaulting in the BSDs.

Originally committed as revision 24956 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 14:45:51 +00:00
Vitor Sessak 3b619cab31 CCITT Fax Group compression fate tests
Originally committed as revision 24954 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-28 11:46:03 +00:00
Vitor Sessak 4574b815cc VP3 fate test
Originally committed as revision 24928 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-25 17:23:38 +00:00
Vitor Sessak d21caa952c Renderware TeXture Dictionary FATE test
Originally committed as revision 24911 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-24 20:48:58 +00:00
Vitor Sessak 07862680b5 Add FATE test for WMV8 DRM
Originally committed as revision 24874 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 11:46:55 +00:00
Reimar Döffinger 620918e4bf Add truemotion1 tests.
Originally committed as revision 24872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-23 04:45:36 +00:00
Vitor Sessak 3d6bd1c797 Add FATE test for ANSI/ASCII animation and TTY demuxer
Originally committed as revision 24865 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-21 20:57:24 +00:00
Stefano Sabatini a1e171dfee Add hflip filter.
Originally committed as revision 24806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-17 14:59:12 +00:00
Stefano Sabatini 546017fc79 Sort lavfi pixdesc tests.
Increase readability and robustness, as the test result is not going
to differ if the order of the pixfmts codes changes.

Originally committed as revision 24665 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-02 11:56:51 +00:00
Stefano Sabatini 213a4cbb39 Add lavfi-pixfmts LE tests.
The corresponding lavfi-pixfmts BE tests are not yet added, as there
are some bugs in the scaler (scaling rgba, argb, bgra, abgr, yuva420p)
which result in differences with the LE reference, and I cannot
visually check the generated files on BE.

Originally committed as revision 24657 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-08-01 23:20:46 +00:00
Vitor Sessak a58ed9a2e7 Add VP8 sign bias code regtest. Not tested by the official conformance suite.
Originally committed as revision 24457 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-23 10:09:46 +00:00
Thierry Foucu 591db22dff gxfenc: Fix ES name in the UMF media description, by using strlen instead of sizeof
Patch by Thierry Foucu, tfoucu at gmail

Originally committed as revision 24379 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-21 07:46:02 +00:00
Måns Rullgård f729c4aea8 regtest: rename seektest ref files using alphanumeric chars only
Originally committed as revision 24345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 10:09:54 +00:00
Carl Eugen Hoyos 2d91366cc2 Make MP43 the default fourcc for msmpeg4v3:
DIV3 is not supported on default XP and Vista installations (MP43 is).

Originally committed as revision 24343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-20 09:44:21 +00:00
Måns Rullgård 7c1bb9143e Fix lavfi pixdesc test
This test verifies the pixdesc code by comparing the output with and
without a filter which should have no effect on the image.  Since the
available pixel formats depend on the byte order of the machine, a
simple reference checksum is not possible.

The test originally tried to solve this by generating a reference file
on the fly.  The problem with this is that the test framework expects
the reference file in the source tree, and writing to the source tree
is not allowed.

To avoid complicating the test framework, we instead provide two
reference files and select which to use based on the byte order.

Originally committed as revision 24330 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-19 17:17:49 +00:00
Vitor Sessak 7c06faf894 Undo my revert at r24260.
This is the only way by now to test this codec.

Originally committed as revision 24286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-17 10:50:25 +00:00
Måns Rullgård 6441d39d58 fate: update vc1 reference
Originally committed as revision 24263 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 12:37:09 +00:00
Vitor Sessak 605014ca33 Revert r24258:
Log:
Add msmpeg4v1 regtest

Added:
   trunk/tests/ref/fate/msmpeg4v1
Modified:
   trunk/tests/fate2.mak

According to Mans, "make test" tests already msmpeg4v1.

Originally committed as revision 24260 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:19:21 +00:00
Vitor Sessak 58c9c95c75 Add msmpeg4v1 regtest
Originally committed as revision 24258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 10:06:33 +00:00
Vitor Sessak abc152d78e Add MS-GSM regtest
Originally committed as revision 24257 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-16 09:58:17 +00:00
Måns Rullgård 5ee08c8531 fate: add vp8 bilinear tests
Mike added these some time ago, and I forgot to update here.

Originally committed as revision 24220 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-12 20:24:23 +00:00
Vitor Sessak bb1e597736 Add Pictor/PC Paint PIC regtest
Originally committed as revision 24193 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 12:44:32 +00:00
Vitor Sessak e798dbdd34 Psygnosis YOP demuxer and decoder test
Originally committed as revision 24181 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-11 00:07:31 +00:00
Vitor Sessak 1d9a8c347a Add MPEG2 field encoding fate2 regtest
Originally committed as revision 24175 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-10 22:57:19 +00:00
Måns Rullgård c43d77c163 tiny_psnr: skip wav headers on input files
The byte count printed excludes the header, and offsets are applied
after the the headers are skipped.

Reference files updated to reflect new output.  Some stddev/psnr values
have changed slightly due to headers no longer being compared.

Originally committed as revision 24143 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 16:06:05 +00:00
Vitor Sessak cb0067ec25 tiny_psnr: print max absolute difference between files
Regression test reference updates are due to the extra output
from tiny_psnr.

Patch by Vitor Sessak

Originally committed as revision 24132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-09 00:40:37 +00:00
Måns Rullgård a9ef1aef79 regtest: put rgb and yuv reference files in correct place
Originally committed as revision 24118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:44:00 +00:00
Måns Rullgård 42cb38632e regtest: put rgb and yuv reference files in correct place
SVN design flaw requires deleting dirs in separate step

Originally committed as revision 24117 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-08 18:43:56 +00:00
Stefano Sabatini c014631461 Update lavfitest reference after commit:
Author: bcoudurier
   Date:   Sat Jul 3 03:11:04 2010 +0000

       Set graph swscale opts before parsing it, that way opts are available
       when auto-adding scalers.

It changed the swscale flags used by the auto-added scalers, and so
the output video.

Originally committed as revision 24065 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-05 22:32:56 +00:00
Baptiste Coudurier 29054fdd0a In mxf muxer, fix last b frame temporal offset
Originally committed as revision 23967 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-07-02 08:35:47 +00:00
Måns Rullgård 27d8806986 fate: add vp8 tests
Originally committed as revision 23763 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-24 22:13:52 +00:00
Måns Rullgård 2661d65a5f FATE: update vc1 reference output
Originally committed as revision 23609 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-15 10:14:19 +00:00
Måns Rullgård 48ede394d5 regtest: add seektest reference files for rgb/yuv in avi
Originally committed as revision 23506 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 16:50:18 +00:00
Michael Niedermayer 59b847d3a9 Add simple rgb/yuv in avi regression test.
Originally committed as revision 23501 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-06 00:05:12 +00:00
David Conrad e7ddafd515 matroskaenc: Don't write a second seekhead for the clusters; mkvalidate agrees
with me that it's unnecessary.

Originally committed as revision 23478 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:41:11 +00:00
James Zern ac9baa716b matroskaenc: Mux clusters better
Start them on keyframes when reasonable, and delay writing audio packets
to help ensure that there's audio samples available for the first frame in
clusters.

Patch by James Zern <jzern at google>

Originally committed as revision 23473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-06-04 22:40:50 +00:00
David Conrad 7bb83d8ddf matroskaenc: Write codec time base as default duration for video tracks.
This isn't exactly semantically equivalent, but the field has already been
long abused to mean this, and writing it helps in determining a decent cfr
time base when transcoding from a mkv where the video codec stores none (VP8).

Originally committed as revision 23284 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 08:58:19 +00:00
David Conrad 85e86b6810 Update regression tests after removing track timecode scale from mkvenc
Originally committed as revision 23248 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-22 02:13:01 +00:00
Baptiste Coudurier 95ca3b1e20 In ogg muxer, pack multiple frames into one page, much lower overhead
Originally committed as revision 23231 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 21:38:54 +00:00
Måns Rullgård 55a95e2d42 FATE: update nsv-demux checksums
Originally committed as revision 22908 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-19 11:51:40 +00:00
Måns Rullgård 8b9ec992a7 FATE: update vqf-demux checksum
Originally committed as revision 22873 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-13 14:29:13 +00:00
Michael Niedermayer 008593be52 Change default for bidir_refine to 1.
Originally committed as revision 22778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-04-02 14:08:51 +00:00
Baptiste Coudurier ab379c671f 10l, update ref value for ffm since default flags changed and are stored in the file
Originally committed as revision 22673 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-25 20:45:26 +00:00
James Darnley 66061a1220 Add VorbisComment writing to FLAC files.
Patch by James Darnley <james darnley at gmail>.

Originally committed as revision 22605 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-20 13:36:43 +00:00
Stefano Sabatini cec96e8de3 Add some ad-hoc tests for libavfilter.
A patched version of ffmpeg supporting video filters is required for
getting this working; thus make lavfitest is supposed to work only in
the libavfilter repository for now.

Originally committed as revision 22586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-17 23:23:44 +00:00
Måns Rullgård 2fad097788 Add FATE tests
This adds a "fate" make target which runs the full FATE test suite.
Individual tests can be run with "make fate-$testname".

The location of the FATE test samples must be specified with the
--samples=PATH option to configure.

The tests/fate-update.sh script regenerates the references files and
test list from the online FATE database.  These are checked in since
generating them requires non-standard tools.

Originally committed as revision 22552 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 19:23:24 +00:00
Michael Niedermayer bd57cae86f use mpeg2 quantization bias for mjpeg.
this seems to improve RD performance.

Originally committed as revision 22550 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-15 16:37:02 +00:00
Michael Niedermayer 686c781766 Make sure all mvs of a mb are set in the error concealment code.
Originally committed as revision 22520 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-14 01:52:31 +00:00
David Conrad 873d117e4b oggdec: Determine pts and filepos on a packet basis in read_timestamp
This takes into account whether the granule defines the start or end times
of packets, and sets the correct file offset of the associated page.

Originally committed as revision 22462 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:56 +00:00
David Conrad 50a9d32310 oggdec: Set data_offset to the right value
Otherwise it gets set automatically to a page midstream and prevents seeking
to the first page.

Originally committed as revision 22454 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:29 +00:00
David Conrad 73823cb941 oggdec: Save offset of the page needed to reconstruct the current packet
Originally committed as revision 22453 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-11 07:17:24 +00:00
Baptiste Coudurier 7082ea56c8 mpegts vbr muxing, activated when muxing rate is not supplied by the
user.

Originally committed as revision 22352 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 23:46:19 +00:00
Baptiste Coudurier 677a1144b0 Start continuity counter at 0 for pmt as well
Originally committed as revision 22350 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 22:44:03 +00:00
Baptiste Coudurier d73a458f27 Start continuity counter at 0 for streams
Originally committed as revision 22344 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 20:59:00 +00:00
Baptiste Coudurier 9169174fd6 10l typo, fix ts total bit rate computation
Originally committed as revision 22343 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-08 20:57:42 +00:00
Måns Rullgård ecefc5ddbd regtest: run seektest on image sequences
Seeking on image sequences doesn't actually work, so this
test isn't very useful until that capability is added.

Originally committed as revision 22286 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 19:50:56 +00:00
Måns Rullgård d211b29e05 regtest: place image sequence outputs in separate directories
Originally committed as revision 22282 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-07 19:25:58 +00:00
David Conrad 30f06a58a0 Simplify starting and ending clusters
Originally committed as revision 22199 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-04 08:53:08 +00:00
Måns Rullgård d7096d6fdd Run seektest on all generated files
Originally committed as revision 22158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:16 +00:00
Måns Rullgård 1dd9ff871a Place regtest-pixfmt output files in separate dir
This test generates many output files, and keeping them separate
is convenient.

Originally committed as revision 22157 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:59:02 +00:00
Måns Rullgård cc3e2472f3 Place regression test output files in subdirs per family
Originally committed as revision 22155 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-03-02 21:41:52 +00:00
Yann Coupin 8d819221db Correctly increment continuity_counter in PCR packets.
Patch by Yann Coupin, yann.coupin+ffmpeg gmail

Originally committed as revision 22020 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-24 10:56:13 +00:00
Michael Niedermayer f575f08ccb Correct opts calulation in ffmpeg.c.
This correct the stop point for demuxing with -vcodec copy and -t as well as
packet interleaving. (we already diddrop packets but kept demuxing them
for too long due to opts being wrong)
the change to ffm is due to 2 packets with timestamp 0 being stored
in different order.

Originally committed as revision 21626 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-03 15:09:04 +00:00
Michael Niedermayer f8ccf72005 Check pkt.pts against the recording time.
This fixes at least ogg encoding with -t where the file was slightly too long.

Originally committed as revision 21598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-02-01 22:08:45 +00:00
Måns Rullgård c676895fd9 Separate audio-only tests so they are only run once
Originally committed as revision 21556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-30 21:47:13 +00:00
David Conrad ac1e18cb78 Update regression tests after r21372
Originally committed as revision 21374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-21 23:35:26 +00:00
Måns Rullgård 4b294c1872 regtest: split wma test into wmav1 and wmav2
Originally committed as revision 21255 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:22 +00:00
Måns Rullgård eca478c317 regtest: split reference files allowing tests to run individually
With this change, the output is checked immediately after each test
has run.  This means commands like "make regtest-mpeg2" can now be
used to run a single test and get meaningful results.

By default, make will abort if any test fails.  To run all tests
regardless, use make -k.

Originally committed as revision 21254 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-01-16 20:18:13 +00:00