Commit Graph

3191 Commits

Author SHA1 Message Date
Martin Pulec
1798011661 PCP: use sockaddr_in instead of sockaddr_storage
We currently use IPv4 only. But there was some odd behavior that it
didn't work with sockaddr_in (pcp_new_flow() didn't allocate the
stream, no output was print). Now it seems to work OK but look at it
again if there will be some problem.
2020-11-30 16:31:25 +01:00
Martin Pulec
8f09b9d227 Added PCP NAT traversal 2020-11-30 16:31:25 +01:00
Martin Pulec
9867242252 SDL2: added dummy audio callbacks
To avoid NULL pointers in callback structure. Not sure if needed,
anyway, however also other modules do have dummy callbacks there.
2020-11-26 15:42:28 +01:00
Martin Pulec
c50a0384ea URL encode according to RFC 3986
+ option for HTML 5 encoding
2020-11-26 09:30:18 +01:00
Martin Pulec
294c5fd66f SPOUT: prefix URL encoded name with urlencoded= 2020-11-26 08:31:00 +01:00
Martin Pulec
5565c569e4 SPOUT: escape potentially harmful symbols for probe
Escape potentially harmful symbols for probe (eg. space would make
problems when passed to GUI).
2020-11-25 16:27:55 +01:00
Martin Pulec
7a3b7a9a7a SPOUT: probe devices 2020-11-25 13:29:07 +01:00
Martin Pulec
51b05f5a31 SPOUT: use shared_ptrs for SpoutReceiver instances 2020-11-25 10:50:28 +01:00
Martin Pulec
c42d6c5bbd GUI: AJA, DELTA, NDI, Syphon, XIMEA - pass opaque cfg
This partially reverts f8d9ac9d. Device configuration is now passed as
an opaques string rather than to be decorated by GUI (prepended
"device=" etc.).
2020-11-25 10:50:27 +01:00
Martin Pulec
1da8831c1d SPOUT: list servers
+ option to pass index - use index 0 by default (allows implicit
  initialization without arguments - "-t spout")
2020-11-25 10:50:27 +01:00
Martin Pulec
c085f74947 SPOUT: color output 2020-11-25 10:50:27 +01:00
Martin Pulec
fc7746aaca SPOUT: move receiver code to capture 2020-11-25 10:50:26 +01:00
Martin Pulec
987bdd5fc6 Get rid of SPOUT wrapper 2020-11-25 10:50:24 +01:00
Martin Pulec
51f2bda963 Plaform pipe: fixed getsockopt len 2020-11-24 15:47:18 +01:00
Martin Pulec
0596ff95b0 DeckLink probe: very slight simplification 2020-11-24 15:37:52 +01:00
Martin Pulec
391d927766 Reindent probes in capturers 2020-11-24 10:59:02 +01:00
Martin Pulec
f8d9ac9d30 GUI: fix passing options for other capturers 2020-11-24 10:59:02 +01:00
Martin Pulec
70f98b5ee8 NDI cap.: release correctly lib 2020-11-24 10:59:02 +01:00
Martin Pulec
2c5a9d6c3e Video capture: check pointer to nullptr 2020-11-24 10:58:59 +01:00
thpryrchn
f8bfcca28e Update Capabilities to have Auto-detect modes.
This allows GUI to easily select the Autodetect by connection.

The first does Auto by the Decklink, then the UltraGrid is also available for cards that Auto-detect doesn't work on.
2020-11-23 12:11:20 -05:00
Martin Pulec
8b81ab5736 Fix passing NDI device IDs to GUI 2020-11-23 13:49:52 +01:00
Martin Pulec
9db6fa6c83 NDI send: handle 16-bit audio "natively" 2020-11-23 09:15:40 +01:00
Martin Pulec
f364cc0a8c Added NAT PMP 2020-11-23 09:12:43 +01:00
Martin Pulec
87d3d370e0 NDI audio playback: fixed multiple channels playback
Refers to GitHub issue #101.
2020-11-20 14:00:19 +01:00
Martin Pulec
b888e09800 Key control: shortcut to control repeating of msgs 2020-11-13 14:50:29 +01:00
Martin Pulec
a0f48ad255 Lavc: try to set CQP or CRF for all codecs
Try to set CQP or CRF for all codecs if user requests it. Eg. NVENC
positively supports QP.
2020-11-13 14:50:27 +01:00
Martin Pulec
49dd332639 SDP: Set correct IP version
+ some documentation
2020-11-11 15:56:23 +01:00
Martin Pulec
efd2c70235 Platform pipe: use plain pipe if TCP compat fails
Use plain pipe if the TCP compat fails in Linux. This fixes a problem
when there is unavailable loopback connection (eg. running in a separate
network namespace with unassigned loopback address).
2020-11-10 14:04:28 +01:00
Martin Pulec
4554f956ef Platform pipe: add timeouts
Do not hang if anything goes wrong (eg. loopback doesn't connect).
2020-11-10 12:53:29 +01:00
Martin Pulec
8f296fb815 Transmit: do not exceed MTU for audio with encryption
Encryption overhead (nonce etc.) was not taken into account when
computing package sizes.
2020-11-06 16:01:08 +01:00
Martin Pulec
af9aa46115 Print cumulative audio playback stats on exit
* removed that summary from ALSA
2020-11-06 16:01:01 +01:00
Martin Pulec
bd552be430 Allow verbosity increase with -V
+ small updates
2020-11-05 09:30:15 +01:00
Martin Pulec
820d5c9c83 Logger: new line after last repeat count
To keep track about repetitions in output.
2020-11-05 09:26:09 +01:00
Martin Pulec
266b87fe09 Logger: force color output if both out&err are term
Force color output if both stdout and stderr are connected to terminal.
The setting is global and it is possible that only stdout is redirected
(eg. to pager) while the check here was for clog (cerr) only. Thus
escape sequences had been unintentionally output to the pipe.
2020-11-05 09:24:54 +01:00
Martin Pulec
024494f4b8 Option to disable message repeats suppressing 2020-11-05 09:21:33 +01:00
Martin Pulec
c2ff176904 Logger: suppress repeated messages 2020-11-05 09:07:45 +01:00
Martin Pulec
a36d5a008e Rang: force control
In order to control sequences work with ostringstream logger.
2020-11-05 09:07:04 +01:00
Martin Pulec
b1c96985d6 Logger: use ostringstream + clog 2020-11-05 09:06:07 +01:00
Martin Pulec
932f96b62a rang.hpp: suppress compiler warning 2020-11-03 11:59:01 +01:00
Martin Pulec
913d026649 Traffic shaper: correctly clear fixed-rate flag 2020-11-03 11:01:56 +01:00
Martin Pulec
bda23ce4df Fixed % in URL 2020-11-03 08:48:16 +01:00
Martin Pulec
35a90038f3 Dshow: convert ABGR to RGBA and from bottom-top 2020-11-02 12:08:02 +01:00
Martin Pulec
2af03f79ca Dshow: compute data len
Screen capture returns wrong buffer length so we override it with the
expected value.
2020-11-02 11:44:02 +01:00
Martin Pulec
e80c7321e9 Libavcodec: more fine grain verbosity setting 2020-11-02 10:12:03 +01:00
Ben Roeder
8aa20b599f LDGM to Reed–Solomon 2020-10-29 19:50:40 +00:00
Martin Pulec
7a6def6327 Merge pull request #95 from benroeder/increase-number-of-audio-channels-in-wav
increase hardcoded limit to the number of audio channels in wav header from 100 -> 128 in wav reader
2020-10-26 08:16:41 +01:00
Martin Pulec
fd97253105 Pipe: option to specify output pixfmt 2020-10-26 08:10:35 +01:00
Ben Roeder
9f19f26572 increase hardcoded limit to 128
seems that the actual max is 65535
2020-10-24 23:47:07 +01:00
Martin Pulec
c5ead73271 Libavcodec conv.: fixed another typo 2020-10-20 16:06:16 +02:00
Martin Pulec
eb64060593 Libavcodec convs: fixed copy&paste error
Fixed wrong conversions in uv to av list.

+ tests for 10, 12 bits to R12L
+ test on lower resolution image to reduce test time
2020-10-20 15:00:00 +02:00