- document return code (non-intuitive)
- set cuda devices even if GPUJPEG is not compiled in. The code is used
to enumerate CUDA devices but now not only GPUJPEG uses the value, it
is eg. used to identify GPU for NVENC
- restructuralize (exit in help block) + return EXIT_FAILURE instead of
EXIT_FAIL_USAGE if GPUJPEG not compiled in (perhaps more eligible --
the usage is actually correct, just GJ is not compiled in)
This effectively reverts 3c9b8293.
libjack.so.0 is a dependency also for different modules like portaudio
so if we do not want to depend on instance in the system, we must ship
our version.
SDL_mixer has some nasty dependency on JACK so remove it altogether
since it is perhaps seldom used (the MIDI playback may be added later
eg. as a standalone audio capture).
(see GH discussion #241)
Use inline ANSI escape sequences instead of modifiers.
This allows more convenient formatting without the need to use multiple
calls (possibly interleaving).
ANSI escape sequences are nowadays supported also in Windows terminals
(PS, cmd).
Use UYVY as a fallback intermediate if no eligible pixfmt is reported.
This could eg. happen if no conversion fullfill constraint (eg.
currently R10k to anything WRT subsampling 4:2:0).
For a reason, this sometime fail resulting to following error:
[DeckLink capture] set_display_mode_properties: out of memory
+ release_bmd_api_str: NOOP if nullptr passed (can be now the case since
the code is more permissive)
In the second iteration of for cycle, $NAME was derived from something
like "/usr/lib/libva.so.2:/usr/lib/libva-drm.so.2" (s/libva/libva-x11),
which obviously didn't exist as a file.
Fixes:
$ <AppImage> --list-modules | grep -A 2 'Errors:'
Errors:
ultragrid_acompress_libavcodec.so
./squashfs-root2/usr/lib/libva-x11.so.2: undefined symbol: va_fool_postp
Added a rate limiter that occasionally allows excessive frames.
It permits using 1.5x frame time for frame 2x bigger that moving
average if 4 normal frames (using .75x frame time) were emitted
inbetween.
This mode is now default (for video, audio doesn't use rate limiter).