Commit Graph

4477 Commits

Author SHA1 Message Date
Martin Pulec
ba44dc5a35 DeckLink disp.: fixed parsing of "hdr=" option 2020-08-04 15:47:58 +02:00
Martin Pulec
b6a45ebc3f Configure: fixed macOS version detection
os_version_major actually reflects Darwin version, not macOS version directly.
2020-08-04 11:50:32 +02:00
Martin Pulec
f8fe0ab9fa Cineform dec.: removed unneeded code
+ created std::array from C-style array to satisfy clang-tidy
2020-08-04 10:07:22 +02:00
Martin Pulec
2df938894e Cineform: allow also decoding 12-bit RGB to 10-bit 2020-08-04 10:07:14 +02:00
Martin Pulec
1341e50b2d Cineform: encode/decode R10k natively
+ added additional decoder codecs
2020-08-03 14:08:49 +02:00
Martin Pulec
a02725a94b Lavc: changed pixfmt selection
Changed sorting preference of FFmpeg input pixel formats - now nearest higher
(or equal) are most preferred and furthest lesser least preferred.
2020-08-03 13:17:39 +02:00
Martin Pulec
40cc678088 Lavc: added yuv444p16le_to_v210() 2020-08-03 12:12:37 +02:00
Martin Pulec
e32ddfdb7a Lavc: added v210_to_yuv444p16le()
This allows flawless encoding of v210 for nvenc without additional options like
"lavc-use-codec".
2020-08-03 10:29:48 +02:00
Martin Pulec
0c8d0afa00 Main: check port value 2020-08-03 10:06:03 +02:00
Martin Pulec
302dcdd4ee DeckLink disp.: mark interface impl as override
+ compare IIDs with ==
2020-08-03 09:41:16 +02:00
Martin Pulec
cf0d06365c Testcard: fixed a crash with v210 2020-08-03 09:41:11 +02:00
Martin Pulec
80651114af DeckLink: fixes
- mac/Win compile fixes
- fixed freeze introduced by c1a1f83b when there is no signal
2020-07-30 23:05:48 +02:00
Martin Pulec
1b65abae95 DeckLink disp.: make conversion setting non-fatal
Some devices (eg. DeckLink 8K Pro) doesn't implement that.
2020-07-30 22:55:51 +02:00
Martin Pulec
730d634631 DeckLink disp.: added HDR option 2020-07-30 14:57:52 +02:00
Martin Pulec
e87da3d0d4 RTP: macro to suppress unresolved bug in debug mode
Suppress supposed race condition resulting in crash on abort in
check_database().
2020-07-29 14:36:12 +02:00
Martin Pulec
c1a1f83b99 DeckLink cap.: return audio even if there is no video
This allows to keep the audio stream intact even if video pipeline is
struggling without dropping audio frames.
2020-07-29 13:47:49 +02:00
Martin Pulec
a465f681f8 Lavc: fixed codec init with swscale
Pixel format needs to be set before the codec initialization.

Fixes command: uv -t testcard:1920:1080:25:R12L -c libavcodec:encoder=mjpeg
2020-07-29 10:40:13 +02:00
Martin Pulec
f5ebbbc167 DeckLink cap.: clear bmdVideoInputFieldDominanceChanged
This allows also skipping then a color space change if both events are
triggered.
2020-07-29 10:40:13 +02:00
Martin Pulec
e401f0e9fa CI ARM: reduced FFmpeg flags
Only a little subset of features is really needed
2020-07-29 10:40:13 +02:00
Martin Pulec
4e4dd83696 Compressions: warn for 8-bit compressions
Warn if the user can better capture 8 bits.
2020-07-29 10:40:13 +02:00
Martin Pulec
b291aae745 Configure: use C++ 17 2020-07-29 10:40:12 +02:00
Martin Pulec
6e29aeef29 GitHub CI: use clang-9 for Linux build
This allows to use C++ 17.
2020-07-29 10:40:12 +02:00
Martin Pulec
3130eea11d Configure: --enable-debug -> enable '-O0'
Disable optimization when debugging enabled (+ explicity turn on
debugging symbols /which are currently always enabled in Makefile/).
2020-07-29 10:40:12 +02:00
Martin Pulec
05c70b163e DeckLink cap.: warn on 10-/12-bit capture + probe 8-bit 2020-07-29 10:40:11 +02:00
Martin Pulec
b9ea962040 1.6+ branding 2020-07-29 10:40:11 +02:00
Martin Pulec
41b95e5a84 DeckLink: separate format-change desc formatting 2020-07-29 10:40:11 +02:00
Martin Pulec
3595802a32 DeckLink cap.: respect color space change 2020-07-29 10:40:03 +02:00
Martin Pulec
8aa948f01f DeckLink: updated to API 11.6 2020-07-29 08:56:14 +02:00
Martin Pulec
e0885fe05c Updated DeckLink API to 11.6 2020-07-29 08:56:14 +02:00
Martin Pulec
254accce1c Configure: fixed missing space [NDI] 2020-07-29 08:55:36 +02:00
Martin Pulec
25eef88ccf CI ARM: build own FFmpeg with OMX fix
This fixes a problem when the H.264 stream includes PPS/SPS only at the
beginning which effectively makes it unusable with UltraGrid.
2020-07-28 12:06:01 +02:00
Martin Pulec
cc4a1ed0a6 Testcard: another cleanup
- removed size (== s->frame->tiles[0].data_len)
- moved common code out of branches (frame malloc/free)
2020-07-28 08:46:09 +02:00
Martin Pulec
49e56237e6 Testcard: another simplification 2020-07-28 08:40:52 +02:00
Martin Pulec
0009b71a02 Testcard: do not require fmt when other opts given 2020-07-28 08:40:52 +02:00
Martin Pulec
27a7aee52a Testcard: parse_fmt only parses format 2020-07-28 08:40:50 +02:00
Martin Pulec
11ff50a036 Simplified tov210 2020-07-28 08:39:27 +02:00
Martin Pulec
c797ed5fec Testcard: get rid of some needless vars in init 2020-07-28 08:39:27 +02:00
Martin Pulec
8b071e9419 Testcard: refactor parsing to sep. function
+ remove codec variable (that is the same as s->frame->color_spec after
  the parse_fmt() function)
2020-07-28 08:39:21 +02:00
Martin Pulec
5bb7e99025 Testcard: reenabled pan
+ removed the respective obsolete code
2020-07-23 16:34:57 +02:00
Martin Pulec
9a81e9af6e Autogen: fixed quotation 2020-07-23 10:36:56 +02:00
Martin Pulec
3a1ed41ec4 Testcard: added gradient2 pattern 2020-07-23 10:18:21 +02:00
Martin Pulec
d48430969d Testcard: pretty-print help 2020-07-22 15:45:37 +02:00
Martin Pulec
15cfadf294 Lavd: allow decoding to supported codecs
With swscale present, report ability to convert arbitrary (supported)
codec.
2020-07-22 15:45:37 +02:00
Martin Pulec
508524bdc2 Multiplier: fixes needs_mainloop
* return error if some of displays needs mainloop but is not given as the
  first one
* return the need according to the first display given
2020-07-22 15:45:12 +02:00
Martin Pulec
6651695c1e Video display: added needs_mainloop callback
This allows more fine-grained evaluation if the display really needs to
be run in the main thread or not (eg. for multiplier)
2020-07-22 15:45:10 +02:00
Martin Pulec
3fe1fd881e Autogen: do not use non-standard "uname -s" 2020-07-22 15:44:25 +02:00
Martin Pulec
d59050b384 Lavcd/sws: use full-range color-space transformations 2020-07-22 11:06:38 +02:00
Martin Pulec
0f0e943c0d Configure: accept NDI_SDK_PATH if present 2020-07-21 15:58:44 +02:00
Martin Pulec
bb34d74c1c Install screen-capture-recorder-x64.dll as a dll 2020-07-21 15:44:27 +02:00
Martin Pulec
eaed3011d5 Autogen.sh: try to find cl if CUDA is present [Win] 2020-07-21 15:44:11 +02:00