Commit Graph

50 Commits

Author SHA1 Message Date
Lukas Rucka
d028b69503 Rename ultragrid modules to ultragrid_* instead of module_* 2018-09-12 23:29:08 +02:00
Martin Pulec
91cb232f24 ALSA play.: use audio-buffer-len option
To be consistent with Portaudio, replace "alsa-internal-buffer" with
"audio-buffer-len".
2018-07-16 11:53:28 +02:00
Martin Pulec
44f3a9cd16 Portaudio play.: Added latency tweaks
Honor "low-latency-audio" and add "audio-buffer-len" option.
2018-07-16 11:53:28 +02:00
Martin Pulec
4c25901834 Host: removed unused cuda_device
cuda_device was replaced by array cuda_devices.
2018-07-11 11:31:06 +02:00
Martin Pulec
1a7b34e7fc Print explicitly if none config flags given 2018-07-04 10:13:55 +02:00
Martin Pulec
9bd7ecc18b Added build date to version 2018-04-24 09:59:32 +02:00
Martin Pulec
a21157fad0 Configure: get rid of hard dependency on X11 2018-02-01 14:34:49 +01: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
4a051e98dc Host: dlopen libX11.so.6 instead of libX11.so
Symlink libX11.so does not need to be present in system. However,
libX11.so.6 is very common (currently only?) SONAME.
2017-06-05 10:50:58 +02:00
Martin Pulec
ea3ad52755 Fixed GIT revision
Now print current commit hash in version string.

+ print configuration in -v option
2017-05-19 15:48:39 +02:00
Martin Pulec
feae858c65 Validate optional commandline parameters 2017-02-23 16:30:43 +01:00
Martin Pulec
ded740065c Added --param low-latency-audio
Currently modifies these values these values:
* audio pbuf delay - 32 ms -> 5 ms
* ALSA playback - minimal value
* ALSA audio buffer (internal in UG module) - 20 ms -> 5 ms
* audio mixer, internal audio buffer - 50 ms -> 5 ms
2017-02-22 16:16:07 +01:00
Martin Pulec
18154d3413 Moved some commandline parameters to --params
"ldgm-device" and "disable-keyboard-control" commandline parameters were
moved to --params. "window-title" can be as both, however as a
commandline argument it will be removed in future.
2017-02-20 11:27:30 +01:00
Martin Pulec
1c02c5e8b0 New way of documenting additional params (--param)
All parameters can now be listed with '--params help'.
2017-02-20 11:27:30 +01:00
Martin Pulec
78537aada6 Log: color output for MSW + small rewrite 2017-02-06 17:18:45 +01:00
Martin Pulec
8ebc74eaf9 Allow set AV delay from control socket 2017-01-25 11:02:55 +01:00
Martin Pulec
476d40d915 X11: use custom error handler 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
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 Pulec
571f807a68 Dynacally load XInitThreads 2016-07-26 15:06:11 +02:00
Martin Pulec
45be2f7dfc Keyboard control: show volume 2016-06-29 10:37:00 +02:00
Martin Pulec
3e3287315f Keyboard control: keybindings to control AV delay 2016-06-29 10:37:00 +02:00
Martin Pulec
880a19dd4c ALSA play.: write from thread
This is a proposed change (not yet default) to the ALSA behaviour. There
is a thread that writes to device all the time, avoiding underruns. On
the other hand there is a need to handle latency for which new buffer
was created. Alternatively, speex jitter buffer could be used.
2016-06-28 17:33:24 +02:00
Martin Pulec
57fe2cef91 Added --param cmdline param to modify UG intenals
These options are now available:
decoder - to force user selected decoder (eg. libavcodec instead
of gpujpeg, which would be chosen by default)
drop-policy - to allow non-blocking put frame (effectively drops
frames that cannot be displayed immediately, eg. when display
frame rate is lower than video frame rate)
2016-04-19 13:10:55 +02:00
Martin Pulec
cc4e4eb362 Hd-rum-transcode: added -v option 2016-04-19 13:10:54 +02:00
Martin Pulec
0f40ee2012 Use single should_exit flag. 2016-03-07 11:11:47 +01:00
Martin Pulec
4811883e9c Some cleanups 2016-01-18 11:30:19 +01:00
Martin Pulec
17625d8b66 Main: small cleanup (preinit and atexit) 2016-01-15 15:54:44 +01:00
Martin Pulec
4ae17a2085 Created common_preinit() for common setup 2016-01-13 18:11:14 +01:00
Martin Pulec
b51f132fb5 Capabilities: sleep 100 ms between queries 2016-01-07 16:25:21 +01:00
Martin Pulec
bc7ebcd380 Capabilities: query in 100 ms interval 2016-01-07 15:25:02 +01:00
Martin Pulec
a35a3b9d05 Use common type struct device_info
Use common structure to query AV devices.
2016-01-07 13:13:31 +01:00
Martin Pulec
ecaa1c9c13 Print audio playback devices in capabilities 2016-01-07 12:54:18 +01:00
Martin Pulec
31ffb44ea0 Print audio capturers in capabilities 2016-01-06 18:13:02 +01:00
Martin Pulec
d0f914a688 Colorize output also on linux VT 2016-01-05 09:06:52 +01:00
Martin Pulec
a68f4e58bb Capabilities: print available display devices 2015-12-10 14:42:29 +01:00
Martin Pulec
83c9421b4a Fixed some Coverity issues 2015-10-19 11:31:10 +02:00
Martin Pulec
ababb88aac Capabilities: prefix with "[cap] " for parsing 2015-09-18 11:07:41 +02:00
Martin Pulec
0e075bbb43 Display correct bps in caps for uncompressed 2015-08-27 16:13:31 +02:00
Martin Pulec
2cc6aab0e2 Added possibility to send message synchronously
+ in capabilities list, given bitrate is computed according to the
  detected capture format (provided that '-t' argument is given)
2015-08-25 17:05:23 +02:00
Martin Pulec
e833784756 Let audio capture driver decide about sample rate
Do not enforce 48 kHz anymore, modules can pick also another one which
fits better (eg. device cannot do such a sample rate).
2015-08-19 09:53:10 +02:00
Martin Pulec
9dc447a9c5 Audio - added option to specify capture format 2015-08-19 09:53:10 +02:00
Martin Pulec
4f328d4248 Fixed default number of captured audio channels in usage 2015-07-22 13:41:31 +02:00
Martin Pulec
cecf08ac97 Various fixes 2015-07-14 17:15:29 +02:00
Martin Pulec
625b5adc0f Rewritten logging a bit
Use logger + levels of verboseness.
2015-07-10 16:42:26 +02:00
Martin Pulec
9ddc6c8c76 Keyboard control - show help + control verbosity 2015-07-10 16:42:26 +02:00
Martin Pulec
e81f896a00 Move rxtx_mode global var to class 2014-09-22 13:58:16 +02:00
Martin Pulec
cfb1516a29 Hd-rum-transcode: added --capabilities option 2014-09-16 13:57:36 +02:00
Martin Pulec
820b95be40 Video compress capabilities - added more info
Added information about latency and resource usage for individual
compressions.
2014-09-10 14:36:46 +02:00
Martin Pulec
66641acb78 Added --capabilities option to UltraGrid 2014-09-10 12:10:36 +02:00