Commit Graph

2673 Commits

Author SHA1 Message Date
Martin Pulec
ea7b331019 V4L2: missing newline 2017-02-15 14:25:43 +01:00
Lukas Rucka
f133691b5f Packaging: Merged package specification into git, OSC _service modified to download from git 2017-02-15 10:56:43 +01:00
Martin Pulec
5fe7f6bcb9 Use GPUJPEG submodule from GITHUB 2017-02-15 10:44:34 +01:00
Martin Pulec
2a27d1d0e3 Small changes: silence some warnings 2017-02-15 10:19:25 +01:00
Martin Pulec
c16a74d135 MSW: compat
Cleared mainly harmless warnings.
2017-02-15 10:19:12 +01:00
Martin Pulec
50dee46441 Configure: omit --static-libgcc --static-libstdc++
Do not use --static-libgcc and --static-libstdc++ under MSW. With recent
versions of GCC it caused strange behavior - crash during exception
handling.
2017-02-15 10:18:58 +01:00
Martin Pulec
38b6a4a28d Configure: small fixes
* fixed undefined variable
* use freeglut for MSW
* handle correctly --disable-gl (MSW)
2017-02-15 10:18:44 +01:00
Martin Pulec
4950bf95e8 Libavcodec: small cleanups
* denote which identifiers are 8-bit
* simplify pixel format conversions lookup in decoder
* if encoder could not have been initialized, writes for which pixel
  format (useful for NVENC where HW may not support all pixel formats)
2017-02-15 10:18:30 +01:00
Martin Pulec
c76b4f95e9 Libavcodec: experimental support for 10-bit 2017-02-15 10:17:59 +01:00
Martin Pulec
ed92b66757 Configure: fixed RTDXT compilation 2017-02-15 10:16:34 +01:00
Martin Pulec
a3fe60ca96 Libavcodec dec.: added missing transformations 2017-02-15 10:16:21 +01:00
Martin Pulec
0bff18d80f Libavcodec enc.: make functions static 2017-02-15 10:16:07 +01:00
Martin Pulec
4495563559 Libavcodec dec.: store codec metadata in a struct 2017-02-15 10:15:58 +01:00
Martin Pulec
427f0362c9 Libavcodec decoder: skip frames only for VP8
Skip frames after missing frames only for VP8 where it creates ugly
artifacts.

Also, decoder mjpeg_cuvid can be now used, because it produces
AV_PICTURE_TYPE_NONE frames which are no longer skipped.

Two small changes added - use correct wrapping for frame sequence number
(22-bit unsigned integer) and fixed debug print of time consumed by
decompression.
2017-02-15 10:14:05 +01:00
Martin Pulec
541f5727d7 Libavcodec: use CBR for QSV 2017-02-15 10:12:51 +01:00
Martin Pulec
4005feeee8 DVS: accept parameters in usual format 2017-02-15 10:02:30 +01:00
Martin Pulec
964fa6aa76 DShow: accept usual parameters
Accept parameters in usual syntax (device, mode).
2017-02-15 10:02:30 +01:00
Martin Pulec
1b110373f1 V4L2: rename cmdline parameters 2017-02-15 10:02:30 +01:00
Martin Pulec
835eea9490 ALSA: use audio buffer by default
Use audio buffer instead of nonblocking behavior by default. This will
reduce underruns etc.
2017-02-15 10:02:30 +01:00
Martin Pulec
a4ae392dff DeckLink disp.: use low-latency mode by default 2017-02-15 10:02:24 +01:00
Martin Pulec
37fac85d02 Libavcodec: do not use VP9 where not available 2017-02-14 21:27:26 +01:00
MartinPulec
f7fc7ab36a Merge pull request #4 from xrucka/master
CUDA detection and settings (configure.ac - host code compiler + path priority)
2017-02-13 10:15:05 +01:00
Lukas Rucka
c212f70790 configure.ac: fixed nvcc lookup order (preffer CUDA_PATH) 2017-02-10 15:24:53 +01:00
Lukas Rucka
553ec65111 configure.ac: support non-default host code compiler for cuda 2017-02-10 15:10:12 +01:00
Martin Pulec
6391458921 DeckLink disp.: print list of output conversions 2017-02-06 17:18:45 +01:00
Martin Pulec
78537aada6 Log: color output for MSW + small rewrite 2017-02-06 17:18:45 +01:00
Martin Pulec
8beab28cac Log: use write and lock internally 2017-02-06 17:18:45 +01:00
Martin Pulec
6ce07747a8 RTP UDP: do not rely on kernel buffers
Use queue for between reading and processing thread long enough to
accommodate an uncompressed frame (either 1080p with 1500B Ethernet
frames or 4K with Jumobos). This reduces the need to have extended
kernel buffers.
2017-02-06 17:18:45 +01:00
Martin Pulec
7b5e7e5c6f RTP UDP: use C++ queue 2017-02-06 17:18:45 +01:00
Martin Pulec
e7e878ac98 README: remove the information about JPEG2000
Do not mention JPEG2000 anymore since it is not standard part of
UltraGrid, give GPUJPEG requirements instead.
2017-02-06 16:54:16 +01:00
Martin Pulec
58d2cb8ec8 Fixed commit d12f99
Errorneously taken uninitialized packet_rate value instead of given
bitrate.
2017-01-27 11:13:53 +01:00
Martin Pulec
9c0d08526a Libavcodec NVENC: disable spatial AQ by default
AQ requires more computational power from decoder. Currently NVENC from
libavcodec uses only one slice, therefore the decoder isn't much
parallelized. Consequently, the use of AQ can be the difference if the
decoder is sufficiently powerful to decode the stream or not.
2017-01-26 14:55:16 +01:00
Martin Pulec
6f4733d617 DeckLink cap.: fixed >1 audio channel regression 2017-01-25 15:31:10 +01:00
Martin Pulec
8ebc74eaf9 Allow set AV delay from control socket 2017-01-25 11:02:55 +01:00
Martin Pulec
d4a4de497c TV: display warning instead of assertion
This prevents abort of UltraGrid in case of system time backwards shift.
2017-01-24 18:06:57 +01:00
Martin Pulec
d12f9932b6 Transmit: packet rate changes
* video: compute packet rate from actual (average) size of packet, not
         MTU, because it may be different from MTU when using FEC to
         align the size to size of FEC symbol
* audio: disable traffic shaping at all
2017-01-24 16:51:02 +01:00
Martin Pulec
cdf865394f Transmit: use bitrate instead of packet rate
Packet rate is now computed in transmit.cpp
2017-01-24 16:26:01 +01:00
Martin Pulec
00bb07667f Libavcodec: opt to enable interlaced DCT (H.264) 2017-01-23 19:01:52 +01:00
Martin Pulec
b63e19c164 Video dec.: use callback for reporting decoders 2017-01-23 14:46:56 +01:00
Martin Pulec
70604bed21 DeckLink capture: keep codec bit depth during format change 2017-01-23 11:49:35 +01:00
Martin Pulec
64ecc16121 DeckLink capture: processing of incoming audio fix
Fixed processing of audio packets - now all are processed regardless
video frame is received or older packets are already consumed.
2017-01-19 17:43:25 +01:00
Martin Pulec
171ad1635a Keyboard control: allow changes only after Ctrl-x
Added Ctrl-x shortcut to lock/unlock changes to prevent user from
unintentionally pressing some behavior modifiers (like mute).
2017-01-18 11:14:02 +01:00
Martin Pulec
d9f816bb11 Libavcodec video decompress: note why not cuvid
Added a comment why cuvid decoders cannot be used by default (because
they support only 4:2:0 subsampling).
2017-01-18 11:13:25 +01:00
Martin Pulec
627fb669a6 DeckLink capture: allow input conversions 2017-01-18 11:13:24 +01:00
Martin Pulec
5277fb36ff DeckLink capture: rewritten vidcap_decklink_init()
Only cosmetic changes (reindent + use LOG() instead of (f)printf).
2017-01-18 11:13:24 +01:00
Martin Pulec
8256f21fd4 DeckLink capture: added detect-format option 2017-01-18 11:13:24 +01:00
Martin Pulec
b0b28cba52 DeckLink capture: fixed a leak 2017-01-18 11:13:24 +01:00
Martin Pulec
f01f8b3029 Libavcodec: variable rename in audio 2017-01-18 11:13:24 +01:00
Martin Pulec
973c008c24 Libavcodec: prefer Fraunhofer FDK Codec for AAC 2017-01-18 11:13:24 +01:00
Martin Pulec
e7673158f2 Libavcodec: added VP9 2017-01-18 11:13:24 +01:00