Commit Graph

3018 Commits

Author SHA1 Message Date
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
Martin Pulec
f34a522854 Testcard: use C++ random to surpass warnings
Use C++ random to surpass warnings to use of insecure function rand()
(which was quite pointless still, since the use here is not in any way
related to security).
2020-07-21 13:04:41 +02:00
Martin Pulec
437b921375 Matrix cap. f.: prevent overflow on incorrect input 2020-07-21 13:04:41 +02:00
Martin Pulec
712b4294eb Lavc: mapping RG48<->AV_PIX_FMT_RGB48LE 2020-07-17 16:35:48 +02:00
Martin Pulec
88f6ebc6f2 Dump: do not override data_len if known
The metadata overriding is a bit broken in decoder for line-decoders.
2020-07-17 16:35:48 +02:00
Martin Pulec
9647133b40 Lavc: show list of codecs on "--param lavc-use-codec=help" 2020-07-17 16:35:47 +02:00
Martin Pulec
a70152bd04 Testcard: added RG48 capture
+ fixed mismatched malloc/delete
+ slight rewrite
2020-07-17 16:35:37 +02:00
Martin Pulec
7eac912140 Removed banner capture
Its functionality is actually a subset of testacard.
2020-07-17 14:24:35 +02:00