Commit Graph

3025 Commits

Author SHA1 Message Date
Martin Pulec
78304d0769 DeckLink disp.: fixed HDR check 2020-08-07 10:12:43 +02:00
Martin Pulec
710b1d7652 Revert to C++14
C++17 causes problems in Ubuntu 16.04 because increased C++ ABI version
(rather problem with GitHub runner compilers that were downloaded from
outside official repos - official clang-8 looked to work well).
2020-08-06 15:52:45 +02:00
Martin Pulec
8fa5ce2d28 Removed QuickTime
The API is no longer present in macOS Catalina
2020-08-06 15:48:07 +02:00
Martin Pulec
9ae26f0e1c Removed get_halign, get_aligned_length
No longer used and its use is rather obscure
2020-08-05 16:14:39 +02:00
Martin Pulec
62eed32425 Testcard2: do not use get_halign 2020-08-05 16:06:52 +02:00
Martin Pulec
84d143d3d0 RTP UDP: replace all perror() with socket_error()
No WSA function set errno, the error should be retrieved with WSAGetLastError()
instead
2020-08-05 15:29:10 +02:00
Martin Pulec
cd1cfac5e6 Consider also tags/vXXX to be a release
Currently GIT_BRANCH refers to rather tag than release name, it would be needed
rather "git rev-parse --abbrev-ref HEAD" instead of "git name-rev --name-only
HEAD". But with shellow clones (as in GitHub) it would also require the
repository to be unshallowed.
2020-08-05 14:48:31 +02:00
Martin Pulec
1a6aa97339 DeckLink disp.: use vector for states 2020-08-05 14:03:37 +02:00
Martin Pulec
4cce89cf06 DeckLink disp.: debug print also other metadata
This is companion to fe1fa2c7 which printed only ints.
2020-08-05 14:03:37 +02:00
Martin Pulec
987ab568cc DeckLink disp.: check if HDR is available if requested 2020-08-05 09:40:30 +02:00
Martin Pulec
fe1fa2c72b DeckLink disp.: debug HDR metadata query 2020-08-05 09:23:41 +02:00
Martin Pulec
9307a8a8ca Lavc: list avail pixfmts also in "-c libavcodec:encoder=libx264:help" 2020-08-05 08:44:48 +02:00
Martin Pulec
321d6985f6 Lavc/lavd: decrease avail codecs print log level 2020-08-05 08:26:54 +02:00
Martin Pulec
ba44dc5a35 DeckLink disp.: fixed parsing of "hdr=" option 2020-08-04 15:47:58 +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
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
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
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
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
d59050b384 Lavcd/sws: use full-range color-space transformations 2020-07-22 11:06:38 +02:00