Commit Graph

1667 Commits

Author SHA1 Message Date
Martin Pulec
787b6edfc0 Audio: print volume also in dB 2016-11-02 16:42:33 +01:00
Martin Pulec
f210acdd0a DeckLink disp.: enable audio after video
This is a workaround for situations when the sound falls silent if video
is enabled after audio.
2016-11-02 10:55:29 +01:00
Martin Pulec
8f46a8bb4d Libavcodec: fixed x264/x265 ban in BSD build
Use of libx264/libx265 is forbidded even if given with 'encoder' option.
On the other hand, alternative encoders are allowed for H.264/H.265 in
BSD build.
2016-10-27 16:00:39 +02:00
Martin Pulec
b4e313706d SDL: use event queue for both events and frames
SDL events and new frames are now dispatched from the same queue. This
allows removing CV for frames and timed wait on that condition variable
(which allowed responsivity even if no data arrived).
2016-10-20 20:34:32 +02:00
Martin Piatka
ce0559bc3d Added conference display
*Combines video inputs from multiple sources
2016-10-19 14:36:12 +02:00
Martin Pulec
dea75d100d Readded compatibility with macOS 10.11 and earlier
CLOCK_REALTIME is available only since macOS 10.12 and was used just in
the platform_time.c file (under macOS).
2016-10-13 14:10:34 +02:00
Martin Pulec
ae9e393d22 GL: print info when video is paused 2016-10-12 16:41:18 +02:00
Martin Pulec
6c58b5afa6 V4L2: added fps option
Added a FPS option as a more common alternative to TFP.
2016-10-12 16:41:18 +02:00
Martin Pulec
272539d6ca V4L2: fixed mapping of interlaced formats 2016-10-12 16:41:18 +02:00
Martin Pulec
ca87fe72a2 RTP UDP: do not abort if unable to leave mcast grp 2016-10-12 16:41:18 +02:00
Martin Pulec
3244c580a0 V4L2: fixed buffer enqueueing
It looks like that with some devices (Magewell, Epiphany), it is not
safe to enqueue buffers in different thread than it was dequeued.
Therefore, now it is done from within the same thread.
2016-10-12 16:41:18 +02:00
Martin Pulec
b21f4dd97f Dummy display: do not count discarded frames 2016-10-12 16:41:18 +02:00
Martin Pulec
5200683e2e Simple linked list: return NULL when queue empty 2016-10-12 16:41:18 +02:00
Martin Pulec
116f99fd4d Main: use Jumbos when sending to ourselves
Use Jumbos when sending and receirver run in one process and communicate
through loopback.
2016-10-12 16:41:18 +02:00
Martin Pulec
020d9e24a0 Libavcodec: use zerolatency for NVENC 2016-10-12 16:41:18 +02:00
Martin Pulec
3f09072aba CoreAudio: remove unused include
QuickTime seems to be entirelly dropped from macOS Sierra.
2016-10-12 16:41:18 +02:00
Martin Pulec
9d4c7aae2d Removed some compat function
For compatibility with macOS Sierra which has conflicting version of
these.
2016-10-12 16:41:18 +02:00
Martin Pulec
75324bd178 Testcard: added YUYV 2016-10-12 16:41:18 +02:00
Martin Pulec
c3e7187cc9 RTP UDP: do not use pthread_cancel to stop worker
Do not kill the reader thread anymore - it caused some problems with
current GCC versions (inconsistent state of a condition variable).
Moreover, it was a bit ugly.
2016-10-12 16:41:18 +02:00
Martin Piatka
5f14fcc3ab Added SSE conversion from RGB to Grayscale 2016-10-12 14:38:25 +02:00
Martin Pulec
f54a356c8a Hd-rum-translator: compat with older CoU versions
Accept both <host>:<port> and '<host> <port>' as a parameter to
create-port command for a compatibility with older CoUniverse versions.
2016-10-10 20:44:37 +02:00
Martin Pulec
8977fd4249 UltraGrid RTP: use longer timeouts when idle
Use longer timeouts when we are not receiving any data to preserve
CPU cycles.
2016-10-10 20:44:37 +02:00
Martin Pulec
bbab5b0093 Hd-rum-translator: fixed small leak 2016-10-10 20:44:37 +02:00
Martin Pulec
aa8892e87d ALSA: exit if device was removed
This allows some kind of recovery (eg. from within a script).
2016-10-10 20:44:37 +02:00
Martin Pulec
39b7c0053e Audio testcard: option to generate silence 2016-10-10 20:44:37 +02:00
Martin Pulec
1559345727 Libavcodec: use regex to match encoder names
* use regex to match encoder names - this is mainly due to often NVENC
  encoders' renaming (nvenc, nvenc_h264, h264_nvenc)
* do not enforce AV_PIX_FMT_NV12 for NVENC anymore, instead there is a
  generic command-line parameter (lavc-use-codec) to allow user select
  one desired encdoer pixel format.
* set default preset for h264_qsv/hevc_qsv to medium - it is implicit
  but to be consistent with other similar encoders
2016-10-10 20:44:37 +02:00
Martin Pulec
f5238d8b42 Modules: added name field and allow indexing with
* Modules can now be addressed by their (optional) name identifier
  instead of numerical indices.
* This applies namely to port indexing (reflector) - ports can be now
  indexed by <host>:<port> identifiers. If <host> is a colon-separated
  IPv6 address, it is enclosed in pair of square brackets.
2016-10-10 20:44:37 +02:00
Martin Pulec
eae680fe85 Libavcodec: use tune zerolatency for x265
x265 supports only single tune parameter (in opposite to x264, where we
currently use "zerolatency,fastdecode").
2016-10-10 20:44:37 +02:00
Martin Pulec
1f8dc0e738 Hd-rum-transcode: packet reflector reports stats 2016-10-10 20:44:37 +02:00
Martin Pulec
476d40d915 X11: use custom error handler 2016-10-10 20:44:37 +02:00
Martin Pulec
0fed77941e Use error code 1 for general errors
Return 1 instead of 127/128 which is allocated for something else.
2016-10-10 20:44:37 +02:00
Martin Pulec
2db29c3707 DeckLink disp.: small improvement 2016-10-10 20:44:37 +02:00
Martin Pulec
71009b5e31 Capabilities: improved waiting for video fmt 2016-10-10 20:44:37 +02:00
Martin Pulec
47d1cb4014 Libavcodec: removed deprecated functions (encoder)
+ fixed leaked codec in audio
+ fixed warnings in codec listing (--audio-codec help)
2016-10-10 20:44:37 +02:00
Martin Pulec
a88bff8116 AJA: use ping-pong instead of AutoCirculate 2016-10-10 20:44:37 +02:00
Martin Pulec
8ee29f095f Removed postprocess code from decoder 2016-10-10 20:44:37 +02:00
Martin Pulec
5197a11c85 Video postprocess: moved from decoder to display
This allows postprocess replacement without reconfiguring the whole
decoder (under smoe circumstances).
2016-10-10 20:44:37 +02:00
Milos Liska
c356176219 Print actual video mode after vidcap_v4l2_init. 2016-10-10 13:26:58 +02:00
Martin Pulec
43c1dfa463 SSSE3 compat 2016-10-06 10:50:44 +02:00
Martin Pulec
6258423635 Video decoder: fixes 2016-10-06 09:18:31 +02:00
Martin Pulec
d774026e78 Libavcodec: updated default presets for H.264/HEVC
Use following default presets:
* x264 - veryfast (very good performance)
* x265 - ultrafast (best performance, H.265 is still a bit demanding)
* nvenc - llhq (low-latency high-quality)
2016-10-06 09:18:31 +02:00
Martin Pulec
8ca246c9af RTP UDP: fixed double closing socket
Caused occasional random socket failures within different contexts as
described here:
https://support.microsoft.com/en-us/kb/155738
2016-10-06 09:18:31 +02:00
Martin Pulec
e4a31eec9f Small fixes
* format string in debug
* quit SDL subsystem
* some assertions in src/video_frame.c to check allocation success
2016-10-06 09:18:31 +02:00
Martin Pulec
2d79d418ec Added param to specify buffering of output streams
+ parameters can be now delimited also by comma (in addition to colon)
2016-10-06 09:18:31 +02:00
Martin
fe6f5f92dc Added SSE versions of conversions between RGB and UYVY 2016-10-05 16:26:07 +02:00
Martin Pulec
681ebc4ad0 Added vc_copylineUYVYtoGrayscale 2016-09-09 17:35:28 +02:00
Martin Pulec
eaf05574b6 GL: fixed gl:fixed_size=WxH 2016-08-25 23:20:02 +02:00
Martin Pulec
253fac9218 Revert "Display: do not put frame if disp not started"
This reverts commit 18e6e42c65.
2016-08-03 13:59:15 +02:00
Martin Pulec
86eb848b2c Libavcodec: fixed avcodec_free_context compat
+ compute bitrate tolerance differently (now it is at most 6 frames)
2016-08-01 14:19:19 +02:00
Martin Pulec
37999c083d DeckLink disp.: refactorize a bit
* improved error handling
* some reconfiguration fixes
2016-07-26 15:06:11 +02:00