aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref
Commit message (Collapse)AuthorAgeFilesLines
* avfilter/vf_telecine: Make frame writable before writing into itMichael Niedermayer2016-08-131-1/+1
| | | | | | | | | Fixes Ticket 5627 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit fa0097e008a145ea8324879d4e24c1881bb86279) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/utils: fix dts from pts code in compute_pkt_fields() during ↵Michael Niedermayer2016-03-261-1/+1
| | | | | | | | | ascending delay Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit de1de4932419d0fb49c9c23f62e68cdbe90d0ee3) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/parseutils: remove 2112 date from fate testMarton Balint2016-02-141-1/+1
| | | | | | It is not supported on 32bit. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/parseutils: accept everything in av_parse_time that ↵Marton Balint2016-02-141-0/+3
| | | | | | | | ff_iso8601_to_unix_time accepts Also parse timezone information previously ignored in ff_iso8601_to_unix_time. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/parseutils: use microsecond precision when parsing "now" in ↵Marton Balint2016-02-141-2/+2
| | | | | | | | av_parse_time() Use av_gettime() instead of time(0) for querying current time. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil: Remove x86_cpu.hTimothy Gu2016-02-131-2/+0
| | | | It is private (uninstalled) and unused.
* fate: Update fate-sub2video for 5486d7fa91f7233e6d9aa9ba8de7fe9287402637Michael Niedermayer2016-02-111-1/+84
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* sws/output: fix ordered dither threshold for mono outputMichael Niedermayer2016-02-1021-52/+52
| | | | | | This makes sure that white stays white and black black Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests: Add test for proper header guardTimothy Gu2016-02-101-0/+12
| | | | Reviewed-by: Clément Bœsch <u@pkh.me>
* nut: Add PAL8 supportMichael Niedermayer2016-02-097-7/+7
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* dca_parser: ensure frame duration matches the actual sample rateHendrik Leppkes2016-02-0412-60/+60
| | | | | | | The parser only parses the core, and thus has a duration relative to the core sample rate only, not the actual stream sample rate. FATE references changed due to now correct timestamps.
* dca: add new fate tests based on the dcadec-samples test suiteHendrik Leppkes2016-02-0227-0/+288
|
* Revert "do not write f2 if not interlaced"Sebastian Dröge2016-02-012-4/+4
| | | | | | | | | | | | | | | This reverts commit 8ed82d8174a666f80ab8834e3617cbe91ae740a9. SMPTE S377-1-2009c defines in F.4.1 that the Video Line Map should always be an array with two 32 bit integers as elements. This is repeated in G.2.12 with actual examples for progressive content, where the second value would always be 0. Additionally, the IRT MXF analyser also lists this as the only error in the MXF output from ffmpeg: https://mxf-analyser-cloud.irt.de Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: re-enable dca-xll testJames Almer2016-02-011-0/+1
| | | | | | | And check for bitexact output instead Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* fate/ffm: Update test refDerek Buitenhuis2016-01-311-1/+1
| | | | | | | Since timecode_frame)start is a private option now, it stays at the default, and is no longer written to the file. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avcodec/rawdec: Switch to monowhite if there is no palette & bpp=1Michael Niedermayer2016-01-314-8/+8
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/rawdec: Use AV_PIX_FMT_PAL8 for raw 1 bpp video in AVIMats Peterson2016-01-294-8/+8
| | | | | | | | | | | | | | | | | From https://msdn.microsoft.com/en-us/library/windows/desktop/dd318229%28v=vs.85%29.aspx: "If biCompression equals BI_RGB and the bitmap uses 8 bpp or less, the bitmap has a color table immediatelly following the BITMAPINFOHEADER structure. The color table consists of an array of RGBQUAD values. The size of the array is given by the biClrUsed member. If biClrUsed is zero, the array contains the maximum number of colors for the given bitdepth; that is, 2^biBitCount colors." Nothing about "monochrome" here. Unfortunately, pal8 to monow conversion seems a bit flaky, but that's another story. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Add a small number of rawvideo in mov testsMichael Niedermayer2016-01-2212-0/+48
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: add 1 and 15BPP rawvideo in avi testsMichael Niedermayer2016-01-228-0/+32
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Add test for colorkeyMichael Niedermayer2016-01-211-0/+16
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/nut: Add forgotten fourccs for YUV4xxP9.Carl Eugen Hoyos2016-01-2117-67/+67
|
* fate: add 10-bit v210 encoder testsJames Darnley2016-01-174-0/+16
|
* fate: add test for realtime ccaption decoderAman Gupta2016-01-141-0/+42
|
* fate: fix sub-cc fontClément Bœsch2016-01-101-1/+1
|
* lavc/ccaption_dec: improve default styleClément Bœsch2016-01-101-1/+1
| | | | Use monospaced font, and a black box outline.
* lavc/ccaption_dec: fix ASS tagsClément Bœsch2016-01-101-2/+2
|
* lavc/ccaption_dec: implement font stylesAman Gupta2016-01-091-2/+2
|
* lavc/qtrle: Use AV_PIX_FMT_PAL8 for 1-bit videoMats Peterson2016-01-041-38/+38
| | | | | | | | | | | | | | | | | | | | | | This commit fixes the lack of palettized display of 1-bit video in the qtrle decoder. It is related to my commit of lavf/qtpalette, which added 1-bit video to the "palettized video" category. As far as I can see, everything works fine, but comments are of course welcome. Below are links to sample files, which should now be displayed properly with bluish colors, but which were previously displayed in black & white. Matroska: https://drive.google.com/open?id=0B3_pEBoLs0faNjI0cHBMWDhYY2c Earth Spin 1-bit qtrle.mkv QuickTime (mov): https://drive.google.com/open?id=0B3_pEBoLs0faUlItWm9KaGJSTEE Earth Spin 1-bit qtrle.mov Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/srtdec: rewrite parsing logicClément Bœsch2016-01-013-0/+2173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes Ticket #5032 The samples in Ticket #5032 is using \r\r\n as line breaks. Since we already are handling \r, or \n, or \r\n as line breaks, \r\n\n will be considered as a double line breaks. This is an issue because ff_subtitles_read_text_chunk() will as a result stop extracting a chunk after just one line. So instead of parsing the SRT by "chunks" (which means splitting every double LB), this new parser is detecting timing lines, and split the events on this basis. While this sounds safe and simple, it needs to take into account the event number preceding the timing line while handling situations such as: - event number starting at 0 or actually any number instead of 1 - event numbers not being ordered at all - event number being followed by text garbage (this really happened, see Ticket #4898) - event payload containing one or multiple number (a protagonist saying a count-down, a date or whatever) which could be confused with a chapter number - event number being empty (see Ticket #2167) - all kind of weird line breaks can appear randomly like wild pokémons - untrustable line breaks (Ticket #5032) The sample madness.srt tries to sum up most of this into one sample, ticket5032-rrn.srt is the file containing \r\r\n line breaks. and empty-events-2167.srt contains empty events.
* lavc: add text encoderClément Bœsch2015-12-211-0/+213
|
* avfilter/vf_delogo: round to the closest valueJean Delvare2015-12-091-109/+109
| | | | | | | | | | | | | When the interpolated value is divided by the sum of weights, no rounding is done, which means the value is truncated. This results in a slight bias towards dark green in the interpolated area. Rounding properly removes the bias. I measured this change to reduce the interpolation error by 1 to 2 % on average on a number of sample input and logo area combinations. Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/api-jpeg-codec-param: rename to api-mjpeg-codec-paramMatthieu Bouron2015-12-081-0/+0
|
* fate: add limited_input_seek testsSimon Thelen2015-12-072-0/+2
| | | | | Signed-off-by: Simon Thelen <ffmpeg-dev@c-14.de> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/concatdec: Use -bitexactTimothy Gu2015-12-065-8/+8
| | | | | | Fixes FATE failures on --enable-small builds. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* Merge commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3'Hendrik Leppkes2015-11-2911-8/+14
|\ | | | | | | | | | | | | * commit '823fa7004571cb8404ca5785f9fa6e85f0f9f3d3': fate: Rework sgi tests into a suite and add the missing ones Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * fate: Rework sgi tests into a suite and add the missing onesVittorio Giovara2015-11-246-2/+8
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '99f40fd02f1870c2dee70977b672da9cb198f0be'Hendrik Leppkes2015-11-292-6/+6
|\| | | | | | | | | | | | | * commit '99f40fd02f1870c2dee70977b672da9cb198f0be': sgienc: Do not end RLE lines with 0s Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * sgienc: Do not end RLE lines with 0sVittorio Giovara2015-11-242-3/+3
| | | | | | | | | | | | | | | | This is never mentioned in the specifications, and decoders work just as fine without it. Update the fate references since the compressed file is smaller. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | fate: add FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM testsMatthieu Bouron2015-11-262-0/+620
| |
* | avformat/movenc-test: Fix integer overflowsMichael Niedermayer2015-11-231-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avutil/motion_vector: export subpel motion informationClément Bœsch2015-11-231-18/+18
| | | | | | | | FATE test changes because of the switch from shift to division.
* | Merge commit '1d62ee38894afb696674db78cee8f8d89204a8fe'Derek Buitenhuis2015-11-181-0/+4
|\| | | | | | | | | | | | | * commit '1d62ee38894afb696674db78cee8f8d89204a8fe': movenc: Add a unit test for signaling of the track start times Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * movenc: Add a unit test for signaling of the track start timesMartin Storsjö2015-11-111-0/+4
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | movenc-test: Pad the packet data start with 0sDerek Buitenhuis2015-11-181-20/+20
| | | | | | | | | | | | | | This way, it never starts with 0xFFF0, and never trips the ADTS "Detection" code in movenc.c. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | Merge commit '3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b'Derek Buitenhuis2015-11-171-0/+4
|\| | | | | | | | | | | | | * commit '3eeb7edfc2a1157b7b0e0ce21ac2cd44d55d405b': movenc: Add a unit test for frag_discont with edit lists Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * movenc: Add a unit test for frag_discont with edit listsMartin Storsjö2015-11-111-0/+4
| | | | | | | | | | | | | | This tests the case where the muxer correctly guesses that a stream starts at pts=0. Signed-off-by: Martin Storsjö <martin@martin.st>
* | fate: update fate-source reference fileJames Almer2015-11-161-1/+0
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge commit '59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead'Derek Buitenhuis2015-11-162-0/+21
|\| | | | | | | | | | | | | | | | | All diferences in unit tests have been acounted for. * commit '59e8ec0aa8ab174701d01a3bfe96fedd0b7fcead': movenc: Add an API unit test for fragmenting options/calls Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * movenc: Add an API unit test for fragmenting options/callsMartin Storsjö2015-11-101-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Contrary to the normal fate tests that run via avconv, this tests nontrivial call sequences that are only doable via the API (mainly for different corner cases when using the muxer for segmenting). The test muxes fake packet data (with extradata that looks enough like proper data to make the file be viewable with e.g. boxdumper) and checks the hash of the produced files. The test also verifies that fragments produced via different call sequences remain identical (to avoid e.g. updating the output hashes and suddenly having fragments that used to be identical suddenly diverging), for fragments written with frag_discont and/or delay_moov. Signed-off-by: Martin Storsjö <martin@martin.st>
* | fate: add concat demuxer testsMarton Balint2015-11-155-0/+359
| | | | | | | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Marton Balint <cus@passwd.hu>