Paul B Mahol
dbc7f02a72
avfilter/aeval: trim last frame's number of samples to match requested duration
...
Fixes #6181 .
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Michael Niedermayer
d34bf886e9
avcodec/vp56: Implement very basic error concealment
...
This should fix the fate failure due to a truncated last frame.
Alternatively the frame could be dropped.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
513a349439
avcodec/vp56: Fix sign typo
...
Fixes: 664/clusterfuzz-testcase-4917047475568640
The change to fate is due to a truncated last frames which is now detected as damaged.
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Diego Biurrun
8e4d4efc67
fate: Add another SVQ3 test to increase coverage
8 years ago
Mark Thompson
156bc0193b
fate: Add webp alpha test
8 years ago
Michael Niedermayer
ed69cb83f8
fate/source: Check for cases that could use av_clip_uintp2() and av_clip_intp2()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
72864547f9
avfilter/vf_lut: do not always explicitly clip pixels
...
Old behaviour was not useful at all. New behaviour only emulate
old behaviour with default options.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
erankor
37557b28b9
mov: add fate test for decryption with edit list
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
d1df72a702
fate: add SCC test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Marton Balint
977fd88419
avfilter/formats: do not allow unknown layouts in ff_parse_channel_layout if nret is not set
...
Current code returned the number of channels as channel layout in that case,
and if nret is not set then unknown layouts are typically not supported.
Also use the common parsing code. Use a temporary workaround to parse an
unknown channel layout such as '13c', after a 1 year grace period only '13C'
will work.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 years ago
Carl Eugen Hoyos
c723108e25
lavf/matroskaenc: Do not write two CodecID elements for rawvideo.
...
Fixes ticket #6068 .
8 years ago
Martin Vignali
1412e5a004
fate/psd : add test for bitmap and duotone
...
The duotone file is interpreted as gray
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Martin Vignali
682769d3d3
fate/psd : add test for 256 color
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Paul B Mahol
49abd5dbb8
avfilter/avf_aphasemeter: make video output optional
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Thomas Turner
8dcb28cf6d
avutil/tests: Improved code coverage for random_seed
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Pavel Koshevoy
47cd8effea
fate: Add test for ticket 6024, truncated decoding mode
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Thomas Turner
9f76ad2a46
avutil: Added selftest for libavutil/audio_fifo.c
...
Signed-off-by: Thomas Turner <thomastdt@googlemail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Martin Vignali
6672a49e5a
fate/psd: add tests for uncompress and rle samples
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Derek Buitenhuis
e94b9313b2
fate: Add h264 test for frame num gaps
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
8 years ago
Derek Buitenhuis
b7e4ea0c80
fate: Add h264 test for frame num gaps
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
Michael Niedermayer
2f07830e69
avcodec: Add max_pixels options
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
1b39a30247
fate: add av_image_check_size() test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
06c62ce09c
fate: add a monoscopic spherical matroska test
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Vittorio Giovara
0c0da45f0f
fate: Add a monoscopic spherical mov test
8 years ago
Vittorio Giovara
cf1cae58b0
fate: Add spherical and stereo3d mov tests
8 years ago
James Almer
b5a0b85721
fate: rename fate-mov-init-nonkeyframe ref file
...
Fixes the test. Regression since 059a786c20
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Paul B Mahol
6427c9ffee
swscale: add gbr(a)p16 output support
8 years ago
Vittorio Giovara
115b834dcf
fate: Add test for mov displaymatrix
8 years ago
Paul B Mahol
94d3d98246
fate: update after addition of gray10 to lavc/raw
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years ago
Martin Vignali
c9d1f4883d
fate/exr: add test for pxr24 with half and uint32 channel
...
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
8 years ago
James Almer
42ae9c6654
fate: update fate-source ref file
...
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Vittorio Giovara
481ff3cf01
fate: Add h264 and hevc extradata reload tests
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Vittorio Giovara
00c8079816
fate: Add h264 extradata reload tests
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Carl Eugen Hoyos
b5177c7051
lsws: Add GRAY10 conversion.
...
Based on 19be5fb7
by Luca Barbato.
8 years ago
Nicolas George
22aa649c13
fate/colorkey: disable audio stream.
...
The test is not supposed to cover audio.
Also, using -vframes along with an audio stream depends on
the exact order the frames are processed by filters, it is
too much constraint to guarantee.
8 years ago
Sasi Inguva
c8dc11bb9e
lavf/mov.c: Fallback to finding non-keyframe in fix_index, if keyframe search fails.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Steven Liu
863ebe6f83
avformat/flvenc: add add_keyframe_index option
...
Add keyframe index metadata
Used to facilitate seeking; particularly for HTTP pseudo streaming.
1. read live streaming or file by sequence
2. if use add_keyframe_index option, add a mark flag at the position,
use to insert new context at the last step.
3. add the keyframes *offset* and *timestamp* into a list
4. if use add_keyframe_index option, shift the metadata data from
mark flag offset
5. insert the keyframes *offset* and *timestamp* from the list by
sequence
6. free the list
7. end.
Add FATE test case;
Reviewed-by: Lou Logan <lou@lrcd.com>
Signed-off-by: Steven Liu <liuqi@gosun.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
2bc66d9e43
nut: add gray12 support
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Luca Barbato
19be5fb728
swscale: Add GRAY12
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
b828788d58
swscale: Add GBRAP10 output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Luca Barbato
2c7d8cbd66
swscale: Add the GBRAP12 output
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Luca Barbato
ab839054e6
swscale: Add GRAY12
8 years ago
James Almer
e8a39f584a
avformat/framehash: also print channel layout as a string
...
This should be more useful for users since numerical values for channel
layout can be confusing and unintuitive.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Michael Niedermayer
26e9efab1e
fate: Remove show_formats for fate-mov-zombie test
...
This includes the absolute path
Found-by: jamrial
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
5dc237aaaa
fate: add zombie test
...
This test tests some odd sample with odd aspect ratio
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
7e603fb322
fate: add bsf tests for ticket 5927
...
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Rodger Combs
d401c37ef5
tests/fate/avformat: add segment.c tests
8 years ago
Vittorio Giovara
ecd2ec69ce
mov: Evaluate the movie display matrix
...
This matrix needs to be applied after all others have (currently only
display matrix from trak), but cannot be handled in movie box, since
streams are not allocated yet. So store it in main context, and apply
it when appropriate, that is after parsing the tkhd one.
Fate tests are updated accordingly.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago
Martin Vignali
584f509a4b
fate filter metadata : add test for aphasemeter - Test a mono file (in phase) -> 1. as result - Test a out of phase 1000 Hz -> -1. as result
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Vittorio Giovara
b90c8a3d08
fate: Add tests for mov display matrix
...
Rotation, sample/display aspect ratio and pure matrix export.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
8 years ago