tests: add Makefile.am for ffmpeg smoke tests

parent c2dc19bb
......@@ -36,10 +36,7 @@ main (gint argc,
gegl_enc = gegl_node_new ();
load_buf = gegl_node_new_child (gegl_enc, "operation", "gegl:buffer-source", NULL);
//invert = gegl_node_new_child (gegl_enc, "operation", "gegl:snn-mean", NULL);
invert = gegl_node_new_child (gegl_enc, "operation", "gegl:mblur", NULL);
invert2 = gegl_node_new_child (gegl_enc, "operation", "gegl:snn-mean", NULL);
invert3 = gegl_node_new_child (gegl_enc, "operation", "gegl:snn-mean", NULL);
invert = gegl_node_new_child (gegl_enc, "operation", "gegl:gray", NULL);
encode = gegl_node_new_child (gegl_dec, "operation", "gegl:ff-save", "path", output_path, NULL);
gegl_node_link_many (load_buf, invert, /*invert2, invert3,*/ encode, NULL);
......
if HAVE_AVFORMAT
# List of tests.
TESTS:
EXTRA_DIST = $(TESTS)
check: vids images
images:
for a in *.avi *.mp4 *.ogv *.webm;do \
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/gegl-video \
$$a -s 74 -e 74 -of $$a- ;\
done
vids: $(TESTS) $(top_builddir)/examples/frame-counter
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--video-codec mpeg4 --video-bit-rate 128 mpeg4-128kb.avi
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--video-codec mpeg4 --video-bit-rate 512 mpeg4-512kb.avi
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--video-codec mpeg4 --video-bit-rate 512 512kb.mp4
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--video-codec mpeg4 --video-bit-rate 128 128kb.mp4
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--video-codec mpeg4 --fps 12 --video-bit-rate 128 128kb-12fps.mp4
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--video-codec mpeg4 --fps 100 --video-bit-rate 128 128kb-100fps.mp4
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--fps 28 --video-bit-rate 512 512kb-28fps.ogv
GEGL_PATH=$(top_builddir)/operations $(top_builddir)/examples/frame-counter \
--fps 28 --video-bit-rate 512 512kb-28fps.webm
clean-local:
rm -f *.png *.avi *.ogv *.mp4 *.webm
endif # HAVE_AVFORMAT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment