Commit Graph

63 Commits

Author SHA1 Message Date
Martin Piatka
c96a20dec8 Capabilities: Print supported audio compressions 2019-07-30 11:01:20 +02:00
Martin Pulec
352518a4f2 Added option to list available video codecs 2019-06-14 08:55:07 +02:00
Martin Pulec
863cf1111e Added option to list available pixfmts 2019-06-14 08:55:07 +02:00
Martin Pulec
65c75d2c9d Host: version red + a plus sign in devel version 2019-06-13 14:01:50 +02:00
Martin Pulec
c94064c4db Video decoder: do not exit on unknown vid mod
Do not fail on unknow video mode by default.

+ added function error() for these errors that may be treated as fatal
  or non-fatal
2019-06-07 15:17:27 +02:00
Martin Pulec
470628cb90 Added WASAPI playback 2019-04-24 14:46:20 +02:00
Martin Piatka
25e6f31662 video_display_info: probe: pass function ptr to deleter func 2019-03-15 13:00:59 +01:00
Martin Pulec
6981cefcd1 CoreAudio: capture 128 frames
Capture only 128 frames at once (implicit value was 512).

+ param to allow user to set it manually
2019-02-22 18:34:32 +01:00
Martin Pulec
0e783cfea4 Coreaudio play.: option to specify buffer size 2019-02-21 15:53:58 +01:00
Martin Pulec
50efa3f683 Host: print also build branch 2019-02-14 14:55:21 +01:00
Martin Piatka
5e9128e357 capabilities: change output format 2019-01-08 11:34:02 +01:00
Martin Pulec
921d094444 Debug: use the rang library for color output 2018-09-20 16:33:33 +02:00
Martin Pulec
28699bac9c Added rang library for color term output
+ use it for UG title
2018-09-20 16:33:33 +02:00
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