From dcb5a8c6c233824b59ce200f656b32e3fcac609d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 28 Aug 2019 14:48:26 +0300 Subject: wbm2m: add informative prints --- utils/wbm2m.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils') diff --git a/utils/wbm2m.cpp b/utils/wbm2m.cpp index b69bb28..07074e5 100644 --- a/utils/wbm2m.cpp +++ b/utils/wbm2m.cpp @@ -101,9 +101,14 @@ int main(int argc, char** argv) exit(-1); } + printf("%ux%u-%s -> %ux%u-%s\n", src_width, src_height, PixelFormatToFourCC(src_fmt).c_str(), + dst_width, dst_height, PixelFormatToFourCC(dst_fmt).c_str()); + const string filename = sformat("wb-out-%ux%u_%4.4s.raw", dst_width, dst_height, PixelFormatToFourCC(dst_fmt).c_str()); + printf("writing to %s\n", filename.c_str()); + VideoDevice vid("/dev/video10"); Card card; -- cgit v1.2.3