Commit Graph

3686 Commits

Author SHA1 Message Date
Martin Pulec
208fa4e128 Configure: Simplified OGL display configure
+ search for glew32 not GLEW in MSW
2019-09-18 13:27:54 +02:00
Martin Pulec
2caed380b7 Fixed handling of GL libraries in configure
+ fixed remaining dependency on X11 (x11_common.o) even when everything
  was disabled
2019-09-18 13:27:46 +02:00
Martin Pulec
c5a276e1cb configure: option to enable/disable all by default
Addded option to enable/disable all by default. Individual features can
be still specified explicitly.
2019-09-18 11:00:01 +02:00
Martin Pulec
58f925c947 CoreAudio play.: fixed flag name change 2019-09-17 10:44:18 +02:00
Martin Pulec
5756c50ce6 AJA disp.: macOS compilation fix 2019-09-17 10:32:54 +02:00
Martin Pulec
cab4a7bf38 NDI cap.: capture audio and video independently
* this allows to capture audio only source
+ the option is available for all vidcaps
2019-09-17 10:32:51 +02:00
Martin Piatka
2c29eec8f4 GUI: Treat all errors as fatal by default 2019-09-16 12:13:58 +02:00
Martin Piatka
3b354d7328 GUI: Fix debug build 2019-09-16 12:13:58 +02:00
Martin Piatka
0be93a11df GUI: Log process exit code 2019-09-16 12:13:58 +02:00
Martin Piatka
f0cf9e5147 GUI: Show error message when UltraGrid exits with non-zero exit code 2019-09-16 12:13:58 +02:00
Martin Pulec
5dd8bd9916 DELTACAST DV: pretty-print help 2019-09-16 11:58:45 +02:00
Martin Pulec
26bd937201 DELTACAST DVI: rename module
Renamed "deltacast-dvi" to "deltacast-dv". It is conforming to rename in
the SDK and it is actually more acurate since current DELTACAST cards
are rather HDMI (or DP) than DVI which are no longer produced.
2019-09-16 11:58:44 +02:00
Martin Pulec
31ea9411a9 Use __COUNTER__ in REGISTER_MODULE macro
This allows to use a module name containing eg. a minus sign which was
not possible before (because valid identifier must not contain a '-').

Note that __COUNTER__ is a non-standard macro. However, major compilers
(MSVC, GCC, Clang, Intel) support it. However, eg. pcc, doesn't.
2019-09-16 11:58:44 +02:00
Martin Pulec
255ad29d10 GL: handle errors with longjmp instead of throw
Use longjmp() instead of exception to handle GLUT errors (like DISPLAY
not defined) because the former did crash with some implementations.
2019-09-16 11:58:44 +02:00
Martin Pulec
5235027134 DeckLink disp.: moved opt parsing to settings_init
+ modernized a bit
2019-09-16 11:58:44 +02:00
Martin Pulec
1db06094ae DeckLink cap.: hide some options in help + restruct 2019-09-16 11:57:51 +02:00
Martin Pulec
738ac7ae23 DeckLink disp.: show usage if no drivers
Shows basic usage even if the drivers are not installed.

+ removed one level of indention in display_decklink_init() in the
  part of parsing options
2019-09-16 11:39:34 +02:00
Martin Pulec
4c07f825cb DeckLink cap.: option to send video when no signal 2019-09-16 11:32:52 +02:00
Martin Pulec
a7e7eb4e2e time_since_epoch_in_ms: fixed types for 32-bit arch 2019-09-11 15:46:18 +02:00
Martin Pulec
b027412d44 NDI play.: support for audio
+ other improvements
2019-09-11 15:46:18 +02:00
Martin Pulec
c3fc2a329d Added NDI display 2019-09-11 15:46:18 +02:00
Martin Pulec
02c51140dc utils/misc.c: added get_framerate_d/n
Added functions to determine numerator/denominator from floating point
FPS. Currently it guesses denominator either 1000 or 1001 and then
computes numerator accordingly.
2019-09-11 15:46:18 +02:00
Martin Pulec
e15dd9c663 NDI cap.: typo 2019-09-11 15:46:18 +02:00
Martin Pulec
4a53df1e29 Added hd-rum manual page
+ added cross-reference to hd-rum-transcode man
+ improved man-generating script
2019-09-11 15:46:17 +02:00
Martin Pulec
b83b58caa8 Configure: remove core dependency on swscale
Actually lavc depends on swscale, not UltraGrid core.
2019-09-11 15:46:17 +02:00
Martin Pulec
eb73e1348e Manpages: crossreferenced pages + improved generator 2019-09-11 15:46:17 +02:00
Martin Pulec
a01ead9d19 RTP UDP: don't take SO_REUSEADDR/SO_REUSEPORT fatal
This may seldom occur in non-standard environment (eg. QEMU user mode
emulated ARM on x64) and its setting is not essential while UG may
normally proceed.
2019-09-11 15:46:17 +02:00
Martin Pulec
4365d23f97 Added GL/SDL splashscreen template (GIMP source) 2019-09-11 15:46:17 +02:00
Martin Pulec
608224e5ff JACK: free memory on device listing 2019-09-11 15:46:17 +02:00
Martin Pulec
59dd8df278 Added manual page for transcoder 2019-09-11 15:46:17 +02:00
Martin Pulec
e130976f17 Install manpage for UltraGrid 2019-09-11 15:46:17 +02:00
Martin Pulec
14a42c6f47 Makefile: fixed installation of files in out-of-tree builds 2019-09-11 15:46:17 +02:00
Martin Pulec
68e3696096 AJA: audio fixes (channels, HDMI) 2019-09-11 15:46:16 +02:00
Martin Pulec
d38c1947e5 AJA cap.: check some return codes + [AJA]->[AJA cap.] 2019-09-11 15:46:16 +02:00
Martin Pulec
8c587a4250 AJA cap.: fixed interlaced input 2019-09-11 15:46:16 +02:00
Martin Pulec
bd0ceaa8be AJA cap.: fixed colorspace routing (SDI, analog) 2019-09-11 15:46:16 +02:00
Martin Pulec
2fe8080c8b AJA cap.: rewritten routing according current SDK
Rewritten the routing in SetupVideo according to
NTV2FrameGrabber::SetupInput (to improve maintainability and
compatibility with the sample).
2019-09-11 15:46:16 +02:00
Martin Pulec
2a7a2cf88e AJA cap.: reworked HDMI capture
Reworked HDMI capture according to current NTV2FrameGrabber to a
method SetupHDMI. Basically it does the same, above that it handles
correctly RGB<->YCbCr conversions (in the sample the conversion was
always to RGB).
2019-09-11 15:46:16 +02:00
Martin Pulec
1dea8b9d7b AJA disp.: fixed seting framestore playback mode
This was not currently set because it was done before actual video
signal received (therefore for 0 channels).
2019-09-11 15:46:16 +02:00
Martin Pulec
445c1a0ee6 Makefile: implicit-function-declaration is not valid for C++ (gcc 9) 2019-09-11 15:46:16 +02:00
Martin Pulec
1311eb1edc AJA disp.: updated non-multi-channel routing
* use RGB for HDMI output
* try to connect additional tiles if there is more than 1
2019-09-11 15:46:15 +02:00
Martin Pulec
288c473d22 AJA disp.: updated non-multichannel routing
Updated AJA display routing for non-multichannel setup according to
current SDK.
2019-09-11 15:46:15 +02:00
Martin Pulec
af66a0088f AJA disp.: added "multi-channel" option 2019-09-11 15:46:15 +02:00
Martin Pulec
e2b86f2841 AJA: removed hard-codec NTV2_CHANNEL1 2019-09-11 15:46:15 +02:00
Martin Pulec
bba613bc56 AJA: added option 'clear-routing' 2019-09-11 15:46:15 +02:00
Martin Pulec
3e2ae3628d AJA: warn if not setting channel number for a non-SDI
Warn if not setting channel number for a non-SDI IO.
2019-09-11 15:46:15 +02:00
Martin Pulec
1c6526648d AJA: NTV2_FBF_10BIT_DPX is correct for R10k 2019-09-11 15:46:15 +02:00
Martin Pulec
118c08a727 AJA Win: fixed prototype 2019-09-11 15:45:53 +02:00
Martin Pulec
e33c5df89f AJA cap.: add "channel" option 2019-09-09 08:20:40 +02:00
Martin Pulec
806cbcdb24 AJA disp.: set explicitly some values for HDMI 2019-09-09 08:20:36 +02:00