Commit Graph

2795 Commits

Author SHA1 Message Date
Martin Pulec
b0895ed71c Main: fixed parsing of --audio-capture-format
sample_rate was incorrectly parsed.
2017-10-17 10:44:01 +02:00
Martin Pulec
3d14c8f68e DeckLink disp.: fixed single-/dual-/quad-link
The previously used FourCC had wrong endianity, used enum member
instead. Also removed related old compatibility code.
2017-10-11 14:10:34 +02:00
Martin Pulec
81a831c71e SDL: audio small fixes (crash with -r analog) 2017-10-11 14:10:26 +02:00
Martin Pulec
5b3488ff8b Audio: compute RMS - fixed
Fixed incorrectly computed normalized value of sample (depending on char
signedness).
2017-10-11 14:09:35 +02:00
Martin Piatka
5f8626020b Conference: Switching between gpu and cpu implementation
Conference: some refactoring

Conference: fix display name in some places
2017-10-10 12:43:07 +02:00
Martin Piatka
c0bdbec13c Reflector: Avoid parsing conference params twice 2017-10-10 12:43:07 +02:00
Martin Piatka
c1962e7f8c Conference Display: stop using shared_ptr where unnecessary 2017-10-10 12:43:06 +02:00
Martin Piatka
e80ebe36ce Fix typo in warning message 2017-10-06 11:51:55 +02:00
Martin Piatka
240d75b412 Export: Fix crash when exporter == NULL
This fixes reflector crashing when transcoding
2017-09-25 13:27:46 +02:00
Martin Pulec
85d5faf4a7 Libavcodec: fixed pkt->size == 0 (crash in export)
This fixes a crash in video_export.c on assertion data_len != 0.
2017-09-21 10:34:12 +02:00
Martin Pulec
67a37a1dfc Statistics: report error correction time 2017-09-20 16:18:28 +02:00
Martin Pulec
a09a1d6454 Export: use more human readable dir names
Use directory names with date.
2017-09-20 16:18:24 +02:00
Martin Pulec
17f48392d7 ALSA play.: fixed previous commit
For silence, 100 ms frame size was incorrectly computed.
2017-09-11 11:25:58 +02:00
Martin Pulec
2259d32fe8 ALSA play.: fixed odd number of channels/Bps
Fixed problem when frame size (ch_count*bps) is not power of two. We
had read fixed-size chunks (256 bytes) from buffer and if size of frame
was not power of two we read incomplete frame (while the rest remained
in the buffer).
2017-09-09 21:17:30 +02:00
Martin Pulec
3effd30b04 Fixed crash when using FEC 2017-09-05 10:11:22 +02:00
Martin Pulec
2a990f695d Small fixes 2017-09-05 10:11:22 +02:00
Martin Pulec
af099bfe6d Revert "Configure: workaround to use Clang with CUDA 8"
This reverts commit 3fa2dd7f14.
2017-09-05 10:11:22 +02:00
Martin Pulec
d83b1911d2 AJA: fixed not detected SDI input 2017-08-16 16:10:12 +02:00
Martin Pulec
421e1f62f2 Keyboard control: print start time 2017-08-16 16:10:12 +02:00
Martin Pulec
49e8f02d16 DeckLink cap.: output c-string instead of BMD_STR
In MSW, BMD_STR is BSTR which is array of wide chars. We however
normally use narrow characters.
2017-08-16 16:10:12 +02:00
Martin Pulec
fbfb255222 AJA: allow to override FourCC 2017-08-16 16:10:12 +02:00
Martin Pulec
b15229ccdd UYVY: Support for macOS and MSW 2017-08-16 16:10:12 +02:00
Martin Piatka
f565d46d6d Fixed typo 2017-08-15 13:50:19 +02:00
Martin Pulec
54e7a7b421 Added Spout support to OpenGL display 2017-07-13 16:41:41 +02:00
Martin Pulec
50815b5b82 AJA: readded audio 2017-07-13 16:41:37 +02:00
Martin Pulec
88e5eeb0ed AJA: support for OX X + NTV2 13 2017-07-11 15:03:58 +02:00
Martin Pulec
e248ab4318 Video decoder: always set nanoPerFrameExpected 2017-06-28 16:28:11 +02:00
Martin Pulec
d67cad98ea Keyboard control: show info also when pressing 'i' 2017-06-28 16:28:11 +02:00
Martin Pulec
6f3e88fca8 Keyboard control: show captured format 2017-06-28 16:28:11 +02:00
Martin Pulec
2a74a77992 DeckLink cap.: opt. to override interlacing (I->P)
Can be used when incoming signal is PsF interpreted as interlaced and
should be reinterpreted as progressive.
2017-06-28 16:28:11 +02:00
Martin Pulec
67400f50cb Syphon: added output to UYVY and use it by default
+ missing dealloc
2017-06-28 16:27:58 +02:00
Martin Pulec
585abe4bc5 GL: shader compilation improvements
* cleaned the code a bit
* allow only vertex or only fragment shader compilation
2017-06-21 10:12:14 +02:00
Martin Pulec
02ae9f6e57 ALSA: allow to specify internal buffer size 2017-06-21 10:12:14 +02:00
Martin Pulec
cf234ef3a8 Keyboard control: print whether we are exporting 2017-06-21 10:12:14 +02:00
Martin Pulec
41c70dc9ae Main: print protocols with --audio-protocol help 2017-06-21 10:12:14 +02:00
Martin Pulec
c65a90d7c5 Keyboard control: show port of control socket 2017-06-21 10:12:14 +02:00
Martin Pulec
cca00cfdb3 Main: always start control socket 2017-06-21 10:12:14 +02:00
Martin Pulec
28390a9dda Modules: added new_message callback
The callback (if set) is called when module receives a new message -
this allows it trigger some internal action in order to process it
in real time (not only when eg. frame is processed).
2017-06-21 10:12:14 +02:00
Martin Pulec
0d6f2a3ca9 Libavcodec: get rid of multiple cpu_count
Was duplicitly in state_video_compress_libav and setparam_param.
2017-06-21 10:12:14 +02:00
Martin Pulec
649882d972 DeckLink: renamed audioConsumerLev. to audio_level 2017-06-21 10:12:14 +02:00
Martin Pulec
5db5e08a46 Syphon: allow to override default FPS
Overrides default FPS in metadata (but not the actual rate). Currently
FPS is by default hardcoded at 30 because Syphon doesn't give the number
explicitly.
2017-06-21 10:12:14 +02:00
Martin Pulec
97c24ef508 Added Syphon client (capturer) 2017-06-21 10:12:14 +02:00
Martin Pulec
bf7fb05184 Allow custom mainloop
Intended mainly for modules that need to run or be run from mainloop
(eg. Syphon client).
2017-06-21 10:12:14 +02:00
Martin Pulec
031b2b5d40 Libavcodec: compile fix 2017-06-21 10:11:37 +02:00
Martin Piatka
af8c478a38 SSE vectorisation for to_nv12 and yuv420p_to_yuv422 2017-06-20 12:55:14 +02:00
Martin Pulec
07745f3ffb ALSA play.: fixes
* fixed wrong latency in non/low-latency-mode (was reversed)
* bad unit (ns instead of us)
2017-06-13 17:30:54 +02:00
Martin Piatka
747f230024 VAAPI hw accelerated encoding support 2017-06-13 14:27:14 +02:00
Martin Pulec
8000612571 Configure: lavc hw dec - small changes 2017-06-12 14:04:57 +02:00
Lukas Rucka
c5d964e98c Fix PATH detection (local file with same name as binary no longer considered binary) 2017-06-09 16:58:20 +02:00
Martin Pulec
246c76c137 Messaging: fixed a leak 2017-06-07 15:43:15 +02:00