Martin Pulec
01e4d1b432
tools/convert benchmark: convert per-line
...
The measured performance should more representative because it
approximates more closely how it is done in UltraGrid.
2024-09-26 14:30:11 +02:00
Martin Pulec
96373a1e73
tools/convert: support for storing PNM/Y4M
2023-11-09 16:00:21 +01:00
Martin Pulec
62f143f939
config_common.h: removed macros.h include
2022-11-22 14:50:19 +01:00
Martin Pulec
46c9c04461
tools/convert: help updates
...
Added basic description & return 0 if help was requested.
2022-11-22 11:49:06 +01:00
Martin Pulec
9135d4fc72
tools/convert: fixed a message
2022-11-22 10:23:04 +01:00
Martin Pulec
22edea5903
tools/convert: print reasonable error error
...
if eg. input file doesn't exist, something like:
terminate called after throwing an instance of 'std::__ios_failure'
what(): basic_ios::clear: iostream error
was presented which isn't much helpful so catch the error and print
textual representation of errno so that the error becomes:
ERROR: basic_ios::clear: iostream error: No such file or directory
2022-11-22 10:23:04 +01:00
Martin Pulec
db02374999
tools/convert: added benchmark
2022-08-18 14:21:51 +02:00
Martin Pulec
3b4a0d7511
tools/convert: compilation fixes
2022-07-27 10:23:50 +02:00
Martin Pulec
e6a92e2cc4
Tool convert: small improvents
...
- use $(CXX) instead of hard-codec g++ in Makefile.convert
- conversion -> list-conversions + brief usage
2021-10-14 10:31:28 +02:00
Martin Pulec
5e768dd654
Convert tool: option to print available conversions
2021-08-09 16:39:58 +02:00
Martin Pulec
94a5e69c8d
Added command-line tool convert
2021-08-09 11:59:39 +02:00