Marton Balint
f9840cd2b5
avformat/mxfdec: use operational_pattern_ul instead of operational_pattern for metadata
...
This makes it more consistent with other metadata keys.
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-04-14 21:54:35 +02:00
Marton Balint
6ed7df5b20
avformat/mxfdec: export operational pattern UL as file metadata
...
Can be useful for API users as ffmpeg/libavformat can't properly support some
operational patterns.
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-04-11 21:17:57 +02:00
Derek Buitenhuis
772c73e61f
FATE: Add test for HEVC files that claim to have two first slices
...
This makes sure we don't regress on 70c8c8a818
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2019-04-05 14:16:52 +01:00
Gyan Doshi
8161ac2902
lavf/movenc: fix tmcd writing for non-MP4/MOV modes
...
write_tmcd allows tmcd track to be created with any mode but in
mov_write_header, index for first tmcd track is only set for modes
MP4 or MOV, causing a crash if tmcd creation is attempted with other
modes.
2019-04-03 15:50:22 +05:30
Gyan Doshi
b131a07e4b
fate: unbreak fate with custom binary names
2019-04-03 10:05:50 +05:30
James Almer
f8075b2c91
tests/fate-run: fix regression in encoding options
...
Set threads back to 1. Fixes fate when run in multi threaded mode.
Regression since d0c43e3242
.
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-19 01:08:16 -03:00
Carl Eugen Hoyos
def18ac43b
tests/fate/ffmpeg: Check for apng codec for fate-copy-apng.
...
The file has to be created first, fixes fate without zlib.
2019-03-15 01:41:22 +01:00
James Almer
85649b6523
fate/lavf-image: fix passed arguments for some high bit depth tests
...
Should fix fate failures on big endian targets.
Signed-off-by: James Almer <jamrial@gmail.com>
2019-03-14 17:15:28 -03:00
James Almer
0dda0f3bdb
Merge commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc'
...
* commit 'f8abf7d4dfa0504f7f65e4f1fd9d22e01cb371cc':
checkasm/h264: test 4:2:2 chroma loop filter functions
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 16:31:41 -03:00
James Almer
ac4b5d8622
Merge commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b'
...
* commit 'f8df5e2f31a5ba7b30a0e1caaaf5a03c753b3f9b':
tests: Add a convenience function for video-only lavf tests
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:59:45 -03:00
James Almer
a200bf8094
tests: Convert lavf container tests with samples to non-legacy test scripts
2019-03-14 14:37:44 -03:00
James Almer
fda424b300
Merge commit '618d02c1fa9e74d490cace64a7d15762656b521c'
...
* commit '618d02c1fa9e74d490cace64a7d15762656b521c':
tests: Convert lavf container tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:36:24 -03:00
James Almer
ace96d2e69
Merge commit '896fe15dbb7b78de495c4a7dd75e7faec66778da'
...
* commit '896fe15dbb7b78de495c4a7dd75e7faec66778da':
tests: Convert lavf pixfmt conversion tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:31:48 -03:00
James Almer
c2631dfd0a
Merge commit 'a957e9379d11f2982d615f92c30580a57ea8bb40'
...
* commit 'a957e9379d11f2982d615f92c30580a57ea8bb40':
tests: Convert lavf image tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:30:08 -03:00
James Almer
29929fc8e2
Merge commit 'eb8a8115994434b548523cf0bca6a4a74784e79c'
...
* commit 'eb8a8115994434b548523cf0bca6a4a74784e79c':
tests: Convert audio-only lavf tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:19:03 -03:00
James Almer
d0c43e3242
Merge commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363'
...
* commit 'a70eac7a9b193e8434b5bed90bd72aa4cb688363':
tests: Convert image2pipe tests to non-legacy test scripts
Merged-by: James Almer <jamrial@gmail.com>
2019-03-14 14:15:46 -03:00
Mark Reid
7ff89574c7
fate/mxf: add mxf user comments tests
...
Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-03-13 12:39:51 +01:00
James Almer
5ab44ff20c
Merge commit '5846b496f0a1dd5be4ef714622940674305ec00f'
...
* commit '5846b496f0a1dd5be4ef714622940674305ec00f':
tests: Use a predefined function for lavf-rm test
Merged-by: James Almer <jamrial@gmail.com>
2019-03-10 22:28:03 -03:00
James Almer
bad70b7af6
Merge commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01'
...
* commit 'dad5fd59f3d6a8311365314cfcde0ebcd15c2b01':
tests: Enable CRC test for yuv4mpeg
Merged-by: James Almer <jamrial@gmail.com>
2019-03-10 22:22:50 -03:00
James Almer
1c9ac700dd
Merge commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915'
...
* commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915':
tests: Unify output directory creation
Merged-by: James Almer <jamrial@gmail.com>
2019-03-10 21:15:38 -03:00
James Almer
06476249cd
Merge commit '7e5bde93a1e7641e1622814dafac0be3f413d79b'
...
* commit '7e5bde93a1e7641e1622814dafac0be3f413d79b':
build: Rename OBJDIRS variable to OUTDIRS
Merged-by: James Almer <jamrial@gmail.com>
2019-03-10 19:31:13 -03:00
Martin Vignali
26cf50404d
avcodec/proresenc_aw : fix interlace encoding for unsafe height
...
fix the call of the unsafe version of slice encoding in interlace mode
fix padding line count in sub image with fill in interlace mode
2019-03-09 20:46:50 +01:00
Martin Vignali
9cb576fc1e
fate/qtrle : change 32b test to output bgra instead of rgb24
2019-03-04 13:03:34 +01:00
Janne Grunau
f8abf7d4df
checkasm/h264: test 4:2:2 chroma loop filter functions
2019-02-27 21:57:05 +01:00
Martin Vignali
b38dd2d219
fate/proresenc_aw : add test for interlace and 444 encoding
2019-02-27 17:59:53 +01:00
Adam Sampson
bfa33f548d
lavf/jacosubdec: compute subtitle duration correctly
...
When a JACOsub subtitle has two timestamps, they represent its start and
end times (http://unicorn.us.com/jacosub/jscripts.html#l_times ); the
duration is the difference between the two, not the sum of the two.
The subtitle end times in the FATE test for this were wrong as a result;
fix them too. (This test is based on JACOsub's demo.txt, and the end
time computed for the last line using @ now matches what the comments
there say it should be.)
Also tested in practice using MPV, a LaserDisc, and some authentic 1993
JACOsub files.
Signed-off-by: Adam Sampson <ats@offog.org>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-20 21:15:07 +01:00
James Almer
f32d293955
Merge commit 'd7f4f5c4a18a0c9e62635cfa6fe8a9302b413c01'
...
* commit 'd7f4f5c4a18a0c9e62635cfa6fe8a9302b413c01':
checkasm/h264: add loop filter tests
Merged-by: James Almer <jamrial@gmail.com>
2019-02-20 15:28:25 -03:00
Tomas Härdin
abc5ac3cf5
palettegen: Fill with last color, not black
...
If we fill with black then the generated palette will have one color more
than what the user requested. This also resulted in unwanted black specks in
the output of paletteuse, especially when generating small palettes.
2019-02-19 21:29:03 +01:00
Diego Biurrun
f8df5e2f31
tests: Add a convenience function for video-only lavf tests
...
Rename a test in the process for consistency and simplicity and
remove the remnants of the now-unused lavf regression test scripts.
2019-02-16 18:15:55 +01:00
Diego Biurrun
618d02c1fa
tests: Convert lavf container tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
2019-02-16 18:15:46 +01:00
Diego Biurrun
896fe15dbb
tests: Convert lavf pixfmt conversion tests to non-legacy test scripts
...
Also split monolithic lavf-pixfmt test into individual tests.
2019-02-16 18:15:38 +01:00
Diego Biurrun
a957e9379d
tests: Convert lavf image tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
2019-02-16 18:15:30 +01:00
Diego Biurrun
eb8a811599
tests: Convert audio-only lavf tests to non-legacy test scripts
...
Rename some tests in the process for consistency and simplicity.
2019-02-16 18:15:22 +01:00
Diego Biurrun
a70eac7a9b
tests: Convert image2pipe tests to non-legacy test scripts
2019-02-16 18:15:11 +01:00
Diego Biurrun
5846b496f0
tests: Use a predefined function for lavf-rm test
2019-02-16 13:09:35 +01:00
Diego Biurrun
dad5fd59f3
tests: Enable CRC test for yuv4mpeg
2019-02-16 13:09:35 +01:00
Diego Biurrun
e22ffb3805
tests: Unify output directory creation
2019-02-16 13:09:35 +01:00
Diego Biurrun
7e5bde93a1
build: Rename OBJDIRS variable to OUTDIRS
...
These directories are not just for object files.
2019-02-16 13:09:35 +01:00
Diego Biurrun
8629149816
tests: Drop duplicate variable declaration
2019-02-16 13:09:35 +01:00
Timo Rothenpieler
15c6390139
avutil/cuda_check: avoid pointlessly exporting same symbol from two libraries
2019-02-14 13:21:07 +01:00
Jun Zhao
84e7aff608
tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts
...
Use av_ts2str() for AVFrame.pkt_dts/pts to avoid print the
pkt_dts/pts as negative number like:
"0, 3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65"
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
2019-02-12 22:28:15 +08:00
Carl Eugen Hoyos
608572ce84
tests/checkasm/checkasm: Do not define an unused function.
...
Fixes the following warning:
tests/checkasm/checkasm.c:615:12: warning: 'bench_init_ffmpeg' defined but not used
2019-01-31 20:16:17 +01:00
Michael Niedermayer
5bcefceec8
avcodec: Add discard_sample_percentage
...
Suggested-by: BBB
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-28 01:09:38 +01:00
Peter Ross
d8ebfd1bdf
avcodec/vp6: select idct based (loosely) on number of coefficients decoded
...
The VP3/4/5/6 reference decoders all use three IDCT versions: one for the
DC-only case, another for blocks with more than 10 coefficients, and an
optimised one for blocks with up to 10 AC coefficents. VP6 relies on the
sparse 10 coefficient version, and without it, IDCT drift occurs.
Fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26 23:49:09 +11:00
Peter Ross
160ebe0a8d
avcodec/vp6: use ff_vp3dsp_[hv]_loop_filter_12
...
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26 23:49:04 +11:00
Peter Ross
10a57f55e6
avcodec/vp6: use rounded shift for chroma motion vector calculation
...
Partially fixes: https://trac.ffmpeg.org/ticket/1282
Signed-off-by: Peter Ross <pross@xvid.org>
2019-01-26 23:48:59 +11:00
Janne Grunau
d7f4f5c4a1
checkasm/h264: add loop filter tests
2019-01-26 12:05:10 +01:00
Rafaël Carré
75ea329b78
api-h264-slice-test: fix arguments and help
...
This program only takes 2 arguments
Remove comment that was never right
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-14 17:16:55 +01:00
James Almer
f477ee3e89
checkasm/af_afir: relax the max allowed absolute difference
...
Should fix failures on x86_32.
Signed-off-by: James Almer <jamrial@gmail.com>
2019-01-13 15:00:20 -03:00
Steven Liu
2780cd33d9
fate: add tests/fate/hlsenc.mak for hls FATE
...
init add three test examples:
1. check no endlist at the end
2. check endlist at the end
3. check hls_list_size 0 full list
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2019-01-04 11:16:13 +08:00