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
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
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
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
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
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
Sasi Inguva
5e965582d5
lavf/mov.c: Use the correct timescale when seeking for audio.
...
Signed-off-by: Sasi Inguva <isasi@google.com>
Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
James Almer
eabbc64728
avformat/matroskaenc: fix cue relative position values when CRC32 is enabled
...
The dynamic buffer does not contain the CRC32 element so calls to avio_tell()
don't take it into account. This resulted in CueRelativePosition values being
six bytes short.
This is a regression since 6724525a15
Instead of adding yet another custom check for CRC32 to fix a size or an offset,
remove the existing ones and reserve the six bytes in the dynamic buffer.
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Tobias Rapp
03a6feb213
fate: Add MXF D10/DNXHD/DV25 probe tests
...
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rodger Combs
73ead477dd
lavf: add AV_DISPOSITION_TIMED_THUMBNAILS
...
Reviewed-By: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Rodger Combs
54350f06e1
ffprobe: report field order for video streams
8 years ago
Mark Reid
0cfd6ccede
tests/fate: add mxf metadata streams test
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Derek Buitenhuis
dfe7e5501d
FATE: Add test for muxing discontinuous MP4 fragments with large timestamps
...
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
8 years ago
James Almer
90826031a2
avformat/matroskaenc: write a DisplayUnit element when aspect ratio is unknown
...
We don't currently support values 1 (centimeters), 2 (inches) or 3 (DAR),
only the default value 0 (pixels) which doesn't need to be written.
The fate refs are updated as unknown SAR is now signaled in the output
files with the addition of the new element.
Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
Thomas Turner
09d39177dc
avutil: Improved selftest coverage for libavutil/fifo.c
...
Tested functions: av_fifo_generic_peek(), av_fifo_grow()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
Michael Niedermayer
21bffa93a6
avformat/movenc: Switch mov_write_uuidprof_tag() to avg_frame_rate
...
Using the stream timebase simply overflows
Fix integer overflow in psp framerate computation
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
8 years ago
James Almer
3bcadf8227
avformat/matroskaenc: write a CRC32 element on Info
...
Finishes implementing ticket #4347
Tested-by: Dave Rice <dave@dericed.com>
Tested-by: Jerome Martinez <jerome@mediaarea.net>
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago