Commit Graph

4549 Commits

Author SHA1 Message Date
Martin Pulec
3bfa441a80 udp_port_pair_is_free(): better error handling 2020-09-11 13:50:59 +02:00
Martin Pulec
9976ad4617 RTP UDP: udp_port_pair_is_free() fix
Check IPv6 ports if IPv4 address was given but IPv4 mode is not forced (because
IPv6 sockets are then opened with IPv4-mapped address).

+ utilize AI_PASSIVE
2020-09-11 13:50:58 +02:00
Martin Pulec
89747981da audio_capture_channels is now 0 for default
Capturers may decide by themselves or capture DEFAULT_AUDIO_CAPTURE_CHANNELS
(as until now). This fixes default behavior of WASAPI with Realtek sound cards
that is unable to capture single channel.
2020-09-11 13:50:54 +02:00
Martin Pulec
87bd2cf368 Lavc audio: realloc codec context
Codec context needs to be realloced because avcodec_close() strips codec
specific part from the context and then eg. setting frame_duration for OPUS
fails.
2020-09-09 09:48:09 +02:00
Martin Pulec
8ea7ab09b5 Lavc aud.: print error when open fails 2020-09-09 09:14:54 +02:00
Martin Pulec
f4ac558bcf Lavc audio: frame len needs to be set before open 2020-09-09 09:11:14 +02:00
Martin Pulec
81bed14603 Added low-latency-audio=ultra 2020-09-08 16:56:54 +02:00
Martin Pulec
db7cc0e663 Audio frame size adjustable also for OPUS
Do not set the frame size by default (causes underruns for OPUS).
2020-09-08 16:47:05 +02:00
Martin Pulec
27a31d6e38 Opus encode: use 2.5 ms frame duration
Use 2.5 ms by default to reduce latency. Added option "opus-frame-duration"
2020-09-08 15:34:56 +02:00
Martin Pulec
a050ff861d File: use generic FPS indicator 2020-09-07 15:34:54 +02:00
Martin Pulec
773c526379 Fixed libavcodec audio encode 2020-08-28 15:10:29 +02:00
Martin Pulec
ed3e629c5d Fixed wrong audio libavcodec naming 2020-08-28 15:10:29 +02:00
Martin Pulec
15df3f7268 Video display: get_property->ctl_property
Renamed display_get_property to display_ctl_property to indicate that
the function can be used as a setter as well.
2020-08-28 15:10:28 +02:00
Martin Pulec
7a1c2bcf7e Audio codec: use vector to hold tmp data 2020-08-28 15:10:28 +02:00
Martin Pulec
5a8531916d Reintroduce C++-17
Use statically linked libstdc++ in Linux. This may have other advantages by
taking "our" version and not risking a clash with potentially incompatible
system one (provided that we do not use C++ API - DeckLink/AJA does, hopefully
it will be safe)
2020-08-28 15:10:28 +02:00
Martin Pulec
13f3073651 Jack play.: fixed missing NL 2020-08-28 15:10:28 +02:00
Martin Pulec
c8a979a14e Decompress multiple tile: fixes
- fixed decompress deinit when one init fails
- fixed a crash when number of substream changes - destroyed the new
  number of substreams but old was allocated
2020-08-28 15:10:28 +02:00
Martin Pulec
2389a74d1b lavc: fixed bitrate overflow with eg. 8K@120 FPS 2020-08-28 15:10:28 +02:00
Martin Pulec
b85d437e70 Bump to new GPUJPEG 2020-08-28 15:10:25 +02:00
Martin Pulec
9063ea7509 GitHub CI ARM: bootstrap.sh fixes
- missing command delimiter
- cannot cd to $HOME in chroot
2020-08-28 15:10:10 +02:00
Ben Roeder
3b24efae16 hold -> held 2020-08-26 23:22:50 +01:00
Ben Roeder
59d8a0a379 fix formatting and typo 2020-08-26 23:13:22 +01:00
Martin Pulec
fec1603e3c Lavc audio: fixed a typo 2020-08-26 09:06:50 +02:00
Martin Pulec
13c907ebf8 Fixed Windows RTP network warnings
Fixed "ERROR: connect, (10049 - WSAEADDRNOTAVAIL)"
2020-08-25 17:16:04 +02:00
Martin Pulec
355d098ad5 Lavc audio: prevent overflows
+ print encoder error string represenation
2020-08-25 17:16:01 +02:00
Martin Pulec
60ff852fa8 Fixed /usr/bin/ldd: line 41: printf: write error: Broken pipe 2020-08-25 16:10:34 +02:00
Martin Pulec
4f3576c180 AppImage: take list from AppImage exclude list
Refers to issue #81
2020-08-25 16:10:27 +02:00
Martin Pulec
f81219e17c Makefile: fixed out-of-tree install 2020-08-25 13:10:51 +02:00
Martin Pulec
9316d8c737 RTP: send RTCP to origin only if remote addr is not given 2020-08-24 16:17:04 +02:00
Martin Pulec
4132666cf2 Control socket: fixes
Fixed Win + fail on all errors
2020-08-24 16:17:01 +02:00
Martin Pulec
aa03b5d26f Control socket: perror->socket_error 2020-08-24 16:16:10 +02:00
Martin Pulec
24d88276a7 Configure: file cap. needs now also libavcodec_common.o 2020-08-24 16:15:12 +02:00
Martin Pulec
c7497754b0 Autogen.sh: small fix 2020-08-21 18:56:57 +02:00
Martin Pulec
a76979ab80 DeckLink disp.: allow setting some HDR values 2020-08-17 10:08:24 +02:00
Martin Pulec
9e4b317e8f File cap.: use UG conversion + codec opt
Use UltraGrid covnversion if available instead of swscale. Added codec option
2020-08-14 15:11:21 +02:00
Martin Pulec
c9c1afeaf1 File: register codecs
This is needed for old FFmpeg versions.
2020-08-14 13:40:04 +02:00
Martin Pulec
b7ecffd066 File: print error failures 2020-08-14 13:13:44 +02:00
Martin Pulec
b3a954f130 DeckLink disp.: check color space metadata in HDR mode
Only display a warning if not supported
2020-08-14 11:37:08 +02:00
Martin Pulec
cdb462ae64 DeckLink disp.: HDR PQ typo 2020-08-14 10:10:32 +02:00
Martin Pulec
150ac8a714 Adapt some more capture filters as vo pp
Adapt those capture filters where it makes sense to postprocessors.
2020-08-13 16:25:21 +02:00
Martin Pulec
81fabcb61b Implement vo_postprocess filter chain
Currently it is intended rather only for simple filters that do not change
format much (especially tiling mode). When combining filters that change
video properties some issues may occur.
2020-08-13 15:22:41 +02:00
Martin Pulec
27cee0338f Resize cap. f.: added vo pp wrapper 2020-08-13 14:16:34 +02:00
Martin Pulec
63ade2aefc capture_filter_wrapper.h: fix 2020-08-13 14:16:34 +02:00
Martin Pulec
300345afa8 GitHub CI: FFmpeg SVT-AV1 - use tag v0.8.4
In master branch of SVT-AV1 repo, the patch is no longer present
2020-08-12 20:36:07 +02:00
Martin Pulec
32a9bc0442 Gamma cap. f.: added vo pp wrapper 2020-08-12 15:54:05 +02:00
Martin Pulec
85d339fede Matrix cap. f.: added vo pp wrapper 2020-08-12 15:54:05 +02:00
Martin Pulec
113f791c43 Change_pixfmt cap. f.: use cap. f. vo pp wrapper 2020-08-12 15:54:05 +02:00
Martin Pulec
03d6fb7285 Added vo postprocess wrapper for cap. f. 2020-08-12 15:54:05 +02:00
Martin Pulec
6aa17ab6eb Video display: support VIDEO_CODEC_COUNT codecs for PP
Some displays (dump) support more than previously hardcoded 20 codecs for which
the postprocess did not work
2020-08-12 15:54:04 +02:00
Martin Pulec
6183c2c580 GitHub CI: added support for SVT to FFmpeg [Linux] 2020-08-12 15:54:04 +02:00