Commit Graph

36 Commits

Author SHA1 Message Date
Martin Pulec
ade96e561d moved FPS indicator prefix trailing ' ' trim
moved to video_capture.cpp  - it is a bit technical and it is nicer to
have it there than in the huge main.cpp
2024-05-16 09:50:08 +02:00
Martin Pulec
64f2bb7da4 video_capture: fixed a typo in macro name 2023-06-12 13:27:13 +02:00
Martin Pulec
67385e37ae set acap to vidcap even when set after
Previous commit modified the behavior that audio connection (embedded et
al.) specification is applied to following capture. To be more
user-friendly when there is only one vidcap device, set the audio also
to previous device (similarly it has been done for -F), so:

   uv -s embedded -t testcard
   uv -t testcard -s embedded  # <- this now works again
   uv -t switcher -t testcard -s embedded # this doesn't (ambigous)
2023-06-09 16:13:39 +02:00
Martin Pulec
5b91957c7d allow capture filter spec (-F) after single vidcap
When only one vidcap device given, allow capture filter specification
following the capture because it is unambigous.
2023-06-01 15:41:16 +02:00
Martin Pulec
cac1d11190 updated copyrights of files changed in 2023 2023-02-09 09:19:50 +01:00
Martin Piatka
1f45c70c77 capabilities: Move capture printing to host.cpp 2023-01-23 15:28:32 +01:00
Martin Piatka
1691e419bb capabilities: Remove capture alias reporting 2023-01-23 15:02:09 +01:00
Martin Pulec
91691bcfd5 vidcap: renamed vidcap_generic_fps
used better descriptive name
2022-11-14 14:55:51 +01:00
Martin Pulec
c40705ff86 video capture FPS ind.: provide name by module
see previous commit description
2022-09-27 15:52:32 +02:00
Martin Piatka
68cf3f697b video_capture: Remove duplicit vidcap_params definition
The struct vidcap_params is already defined in video_capture_params.cpp
2022-08-17 16:10:48 +02:00
Martin Pulec
1b3b27eb7c Updated copyright dates for modified files 2021-11-08 15:43:14 +01:00
Martin Piatka
cdf77ffe87 capabilities: Allow reporting an extra json object 2021-03-15 14:59:54 +01:00
Martin Piatka
2255a71d67 capabilities: Make video and audio devices consistent
The .id field previously contained the module name for audio devices,
while it only contained options for video devices. To make things more
consistent there are now two fields: "module" which contains the module
name and "device" which contains only the parameters.
2021-03-12 13:48:03 +01:00
Martin Piatka
9938384929 GUI: Check if capabilities are complete and have correct version 2021-03-09 14:39:44 +01:00
Martin Pulec
2c5a9d6c3e Video capture: check pointer to nullptr 2020-11-24 10:58:59 +01:00
Martin Pulec
7ff2360e67 Video capture: print FPS generically
Centralized FPS statistics output instead of in individual vidcap
modules in order to avoid multiplicities in code.

+ removed the FPS statistics code from testcard
2019-11-27 11:40:07 +01:00
Martin Pulec
75fd88c7c3 Show hidden modules when fullhelp is given
+ updated copyrights in that files
2019-11-06 15:26:17 +01:00
Martin Pulec
9e2b0f81bc Video capture: documentation fixes
- do not include copyright in Doxygen
- fixed file names (to be included in vidcap group)
- vidcap_retval: changed to member group
2019-11-05 17:35:46 +01:00
Martin Pulec
2f2bb9fcb4 Video capture: updated documentation 2019-11-04 17:47:13 +01:00
Martin Piatka
e4fed41d10 video_capture_info: probe: pass function ptr to delete func
to prevent segfaults when linking libraries using other implementations
of malloc/free.

Same as 25e6f31662
2019-08-23 13:17:34 +02:00
Martin Piatka
a1bad784ed Capabilities: Report capturers in a more general way
Report capturers as "devices". This prepares for reporting audio devices
in the same way.
2019-08-01 12:46:17 +02:00
Martin Piatka
6c357fdfa4 capabilities: print modes as json array 2019-01-08 11:34:02 +01:00
Martin Pulec
c383f0d240 Capabilities: opt to pass modes + changed vidcap
Changed syntax of capture capability to allow including modes.
2019-01-08 11:34:02 +01:00
Martin Pulec
67083cca9c Added AJA Windows support 2018-02-01 14:34:49 +01:00
Martin Pulec
e825847b46 Fixed another leaks 2016-04-26 16:16:31 +02:00
Martin Pulec
8b14e47270 Error if unmatched --capture-filter parameter 2015-10-20 16:37:34 +02:00
Martin Pulec
4528da21c6 Vidcap: warn about unsupported SDI audio
Warn if use wants embedded/analog/AESEBU audio from vidcap that doesn't
support it.
2015-10-07 14:55:56 +02:00
Martin Pulec
ababb88aac Capabilities: prefix with "[cap] " for parsing 2015-09-18 11:07:41 +02:00
Martin Pulec
072ea8cbb5 Register modules with macro 2015-08-31 11:11:05 +02:00
Martin Pulec
2dc341d847 Video capturers: switched to new mod loading API 2015-08-31 11:11:05 +02:00
Martin Pulec
ccb2b7c36a Added AJA capture
TODO: figure out 50p/60p modes, 4K, Windows support etc.
2015-01-29 16:26:10 +01:00
Martin Pulec
66a4365bf8 Added dummy UG network capture 2014-12-05 15:48:38 +01:00
Martin Pulec
c49e0bc473 OpenSSL encryption: build as a library
+ added API for universal module
2014-10-15 15:50:25 +02:00
Martin Pulec
00ce812db3 Couple of small fixes (mainly leaks) 2014-10-08 17:39:04 +02:00
Martin Pulec
c5bddb7749 OS X: Make 64-bit build default 2014-10-01 15:18:17 +02:00
Martin Pulec
f31841189c Show in capabs also predefined aliases in ~/.ug.rc 2014-09-25 15:16:25 +02:00