Commit Graph

3474 Commits

Author SHA1 Message Date
Martin Pulec
f625f8529f DeckLink: correctly set duplex mode for quad-link
Correctly set the duplex mode for quad-link (implies
bmdProfileOneSubDevicesHalfDuplex).

* changed the duplex options
+ slightly modified usage
2019-06-14 08:55:07 +02:00
Martin Pulec
4151df3d90 DeckLink disp.: print used device
+ moved the common code for querying name to a common file
2019-06-14 08:55:07 +02:00
Martin Pulec
920c9c3c0b Sanitize input of audio capture format 2019-06-14 08:55:07 +02:00
Martin Piatka
4313a10b49 Lavc: Set intra-refresh and gop_size for x265 using x265-params 2019-06-14 08:55:07 +02:00
Martin Pulec
828ed95873 JPEG: incorrectly used #ifdef 2019-06-14 08:55:07 +02:00
Martin Pulec
8a45c78314 Fixed warnings
- added (const char *) attribute to param_u union to avoid casting away
  const warnings
- added also (const void *) and (volatile void *) for the rest
- there was a typo in computing requested_mtu causing violating sequence
  point evaluation order
- alsa_get_pcm_state_name: added attribute unused
- audio/utils.cpp: different signdness
- audio/utils.cpp: different signdness
- split capture filter: useless dispose_frame
- video_compress: not copying whole string (with strncpy)
2019-06-14 08:55:07 +02:00
Martin Pulec
352518a4f2 Added option to list available video codecs 2019-06-14 08:55:07 +02:00
Martin Pulec
863cf1111e Added option to list available pixfmts 2019-06-14 08:55:07 +02:00
Martin Pulec
6ae4c6e1ca Lavc: allow UG pix fmt to force 2019-06-14 08:55:07 +02:00
Martin Pulec
d2bc11d5cd Lavd: added conversion from AV_PIX_FMT_P010LE
Cuvid may use this format (NVENC uses it).
2019-06-14 08:55:07 +02:00
Martin Pulec
8660bda2ca Video codec: added R12L->RGB conversion 2019-06-14 08:55:07 +02:00
Martin Pulec
5deed4760d Lavd: fixed decoding of VP9
VP9 stopped working with probing. It is perhaps because some data
remained in decoder causing an EAGAIN error (waiting for a read).
2019-06-14 08:55:07 +02:00
Martin Pulec
e285a2318f Lavd: print text representation of error 2019-06-14 08:55:04 +02:00
Martin Pulec
dee943122b Lavc: support also RGBA on input 2019-06-13 14:31:28 +02:00
Martin Pulec
f560110621 CMPTO J2K dec.: modified priorities
This decoder should have lower priorities (more preferred) than
libavcodec.
2019-06-13 14:31:28 +02:00
Martin Pulec
d3debe7653 Lavd: support RG48 (for higher bit depth J2K) 2019-06-13 14:31:28 +02:00
Martin Pulec
8c04528fa0 GL: fixed printing error 2019-06-13 14:31:28 +02:00
Martin Pulec
fe1e4c8d1d Libavcodec: added support for 12-bit RGB 2019-06-13 14:31:28 +02:00
Martin Pulec
23137ca4b6 Libavcodec: added support for 10-bit RGB 2019-06-13 14:31:28 +02:00
Martin Pulec
6569548e32 Lavc: support for BGR0 and GBRP 2019-06-13 14:31:28 +02:00
Martin Pulec
b32356cd29 Lavc: support for 10-bit YCbCr with NVENC
+ fixed a warning
2019-06-13 14:31:28 +02:00
Martin Pulec
6cbdcbd82a Lavc: fixed an infinite loop 2019-06-13 14:31:28 +02:00
Martin Pulec
a14b81e41d Lavc nvenc: fallback RC is CBR 2019-06-13 14:31:28 +02:00
Martin Pulec
3caa8496e5 Lavc: fixed hard-coded UYVY BPS 2019-06-13 14:31:20 +02:00
Martin Pulec
593b0bae77 Video decoder statistics highlited 2019-06-13 14:01:50 +02:00
Martin Pulec
35703188b1 Lavc: select libx264rgb for RGB formats 2019-06-13 14:01:50 +02:00
Martin Pulec
680364d5d1 Lavc: select internal format more sensibly
Now it takes into account also codec bit depth (if offered by the
encoder).
2019-06-13 14:01:50 +02:00
Martin Pulec
79531ceacf Lavc: codec ordering to a separate function 2019-06-13 14:01:50 +02:00
Martin Pulec
fd869ea034 Lavc: table for pixfmt conversions 2019-06-13 14:01:50 +02:00
Martin Pulec
5df956826c Cmpto_j2k: support encoding from RGBA 2019-06-13 14:01:50 +02:00
Martin Pulec
65c75d2c9d Host: version red + a plus sign in devel version 2019-06-13 14:01:50 +02:00
Martin Pulec
47c0d66393 DeckLink disp.: query mode support after changes
Query if display mode is supported after applying changes that may
influence the availability of modes (link-mode, duplexness,
subsampling).
2019-06-13 14:01:50 +02:00
Martin Pulec
ecab2ea98e DeckLink disp.: correct duplex mode for quad-link 2019-06-13 14:01:50 +02:00
Martin Pulec
44fdeae5fb Pbuf: modified counting of packets
Packets are now counted in a bit-map to better handle packet
duplication, out-of-order etc.

+ print <100% red
2019-06-13 14:01:47 +02:00
Martin Pulec
5c2539b59d Audio: highlight audio levels in output 2019-06-07 15:17:27 +02:00
Martin Pulec
4617198df6 GPUJPEG: keep color space if the input is in RGB 2019-06-07 15:17:27 +02:00
Martin Pulec
c94064c4db Video decoder: do not exit on unknown vid mod
Do not fail on unknow video mode by default.

+ added function error() for these errors that may be treated as fatal
  or non-fatal
2019-06-07 15:17:27 +02:00
Martin Pulec
cba809e293 Control socket: respect IP version selection
If user requests either -4 or -6 from command-line, the same value is
used for the control socket.
2019-06-07 15:13:08 +02:00
Martin Pulec
47f7d6ef25 Default to IPv4 if IPv6 not supported 2019-06-07 15:13:04 +02:00
Martin Pulec
467cb49bd0 Control socket: use IPv4 if IPv6 not available 2019-06-07 15:12:59 +02:00
Martin Pulec
4b62a27aa3 GPUJPEG: decompress to RGBA 2019-06-07 13:44:33 +02:00
Martin Pulec
7a28ba37db Lavd: decompress to RGBA
DeckLinks do not support RGB, therefore it is desirable to be allowed to
decode to RGBA.
2019-06-07 13:44:33 +02:00
Martin Pulec
d4dded81ca Video codec: fixed some warnings 2019-06-07 13:44:33 +02:00
Martin Piatka
3ddb3b3e40 Cineform: Determine internal codec from metadata 2019-06-07 10:34:22 +02:00
Martin Piatka
461622d703 Cineform internal codec probing
This can only distinguish between YUV422 and RGB444.
To determine the bit-depth it will be necessary to embed it to metadata.
2019-06-04 10:29:36 +02:00
Martin Pulec
bcf2e76403 Video dec.: updated documentation 2019-05-30 11:38:18 +02:00
Martin Pulec
72f9675ce6 Doxyfile: updated 2019-05-30 11:38:18 +02:00
Martin Pulec
59f4183df7 Lavc: use libx264 params also for libx264rgb 2019-05-30 11:38:18 +02:00
Martin Pulec
5550da86cf Video dec.: sort display codecs 2019-05-30 11:38:18 +02:00
Martin Pulec
e5d7fd1314 Video decompress: option to force module
Readded option to force specified decompress module.

+ option to force output codec
2019-05-30 11:38:18 +02:00