[RFC] fate: Add exif test.
Hi, to add a test for exif metadata, I need to know if we can somehow check these better than by console output? Do we have tests for MP3 tags or similar? I need a little guidance through the Makefile-magic... What I have done until now (see attached) is including a new .mak file into tests/Makefile, and how get the corresponding target called. What could the target execute to test for metatdata? (CMD = ...?) How generate a corresponding reference file? Thanks, Thilo p.s. is IFF the correct demuxer for TIFF files? --- tests/Makefile | 1 + tests/fate/exif.mak | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 tests/fate/exif.mak diff --git a/tests/Makefile b/tests/Makefile index 914448e..61423f4 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -93,6 +93,7 @@ include $(SRC_PATH)/tests/fate/demux.mak include $(SRC_PATH)/tests/fate/dfa.mak include $(SRC_PATH)/tests/fate/dpcm.mak include $(SRC_PATH)/tests/fate/ea.mak +include $(SRC_PATH)/tests/fate/exif.mak include $(SRC_PATH)/tests/fate/ffmpeg.mak include $(SRC_PATH)/tests/fate/ffprobe.mak include $(SRC_PATH)/tests/fate/filter-audio.mak diff --git a/tests/fate/exif.mak b/tests/fate/exif.mak new file mode 100644 index 0000000..8295b18 --- /dev/null +++ b/tests/fate/exif.mak @@ -0,0 +1,5 @@ +FATE_SAMPLES_EXIF-$(call DEMDEC, IFF, TIFF) += fate-exif-image +fate-exif-iamge: CMD = framecrc -i $(TARGET_SAMPLES)/exif/image_small.tiff + +FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_EXIF-yes) +fate-exif: $(FATE_SAMPLES_EXIF-yes) -- 1.8.3.2
On 8/17/13, Thilo Borgmann <thilo.borgmann@mail.de> wrote:
Hi,
to add a test for exif metadata, I need to know if we can somehow check these better than by console output? Do we have tests for MP3 tags or similar?
I need a little guidance through the Makefile-magic... What I have done until now (see attached) is including a new .mak file into tests/Makefile, and how get the corresponding target called.
What could the target execute to test for metatdata? (CMD = ...?) How generate a corresponding reference file?
Thanks, Thilo
p.s. is IFF the correct demuxer for TIFF files?
omg, by what logic? You need IMAGE2.
Am 17.08.13 21:21, schrieb Paul B Mahol:
On 8/17/13, Thilo Borgmann <thilo.borgmann@mail.de> wrote:
Hi,
to add a test for exif metadata, I need to know if we can somehow check these better than by console output? Do we have tests for MP3 tags or similar?
I need a little guidance through the Makefile-magic... What I have done until now (see attached) is including a new .mak file into tests/Makefile, and how get the corresponding target called.
What could the target execute to test for metatdata? (CMD = ...?) How generate a corresponding reference file?
Thanks, Thilo
p.s. is IFF the correct demuxer for TIFF files?
omg,
not helpful
by what logic?
s/T//
You need IMAGE2.
Thanks. -Thilo
participants (2)
-
Paul B Mahol -
Thilo Borgmann