90 Commits
Author SHA1 Message Date
VainockandRyan Foster 7ae66c72fd Update translations from Crowdin 2024-02-28 14:20:05 -05:00
Translation UpdaterandTranslation Updater ac484a066f Update translations from Crowdin 2024-01-29 20:47:38 +00:00
PatTheMavandRyan Foster 087353eb3f aja: Add shared interface library for plugin and frontend-plugin 2023-12-19 17:59:44 -05:00
PatTheMav e27b013d47 aja: Disable deprecated declarations warnings on macOS and Linux
Deprecation warnings have been investigated and have been deemed
non-malicious for the time being.
2023-12-06 17:27:12 +01:00
Translation UpdaterandTranslation Updater f674d17168 Update translations from Crowdin 2023-12-05 22:04:31 +00:00
Translation UpdaterandTranslation Updater 0d450a34a0 Update translations from Crowdin 2023-10-10 13:34:41 +00:00
PatTheMavandRyan Foster 13a23f6471 plugins: Suppress warnings about implicit integer downcasts
Returned values are usually 64-bit in length but commonly stored in
16-bit integers anyway.
2023-08-31 17:52:08 -04:00
Translation UpdaterandTranslation Updater ecf914dd67 Update translations from Crowdin 2023-08-13 14:09:15 +00:00
Ryan Foster 64139a6bbd CI: Update to clang-format 16
This commit also modifies UI, libobs, and plugins.
2023-08-10 16:07:25 -04:00
Ryan FosterandLain d00068cb6c plugins: Update CMake minimum to 3.22
Since Ubuntu 22.04 is now our minimum supported Ubuntu version, and it
has CMake 3.22, let's make CMake 3.22 the minimum CMake version.
2023-08-05 16:45:46 -07:00
Norihiro KamaeandLain df70743385 aja: Ignore return value from aja-common functions
The functions `aja::lower` and `aja::replace` overwrite the 1st argument
and just return the reference to the 1st argument. It is not necessary
to use the return value.
2023-07-29 16:04:16 -07:00
PatTheMavandRyan Foster 50a4e83251 cmake: Remove Info.plist template files for macOS builds
Creation of Info.plist files through Xcode is more canonical and
future-proof, as it will automatically pick up changes/updates
introduced by Apple. Non-standard keys can still be added via a
template file, which will then be extended by Xcode with the default
keys.
2023-06-17 12:23:33 -04:00
gxalphaandLain 79822a58c3 libobs,plugins: Remove new obs_output_*2 functions
Effectively reverting parts of d314d47, this commit removes the new
functions that got added to remove the flags parameter. Instead, it just
marks the parameter as unused and documents this. Having what is
effectively an API break just to remove a parameter is a bit overkill.
The other parts of d314d47 which cleaned up the usage of the flags
parameter are untouched here.
2023-06-10 16:13:05 -07:00
tt2468andLain d314d4725d libobs, plugins: Deprecate obs_output_t functions with flag parameters
This deprecates the following functions, replacing them with new
versions:
- `obs_output_can_begin_data_capture()` - now `*capture2()`
- `obs_output_initialize_encoders()` - now `*encoders2()`
- `obs_output_begin_data_capture()` - now `*capture2()`

The flags parameter was initially designed to support audio-only or
video-only operation of an output which had the `OBS_OUTPUT_AV` flag,
however, full support for that was never implemented, and there are
likely fundamental issues with an implementation, mainly that most
outputs are programmed assuming that there will always be at least one
audio and one video track. This requires new flags specifying support
for optional audio/video, among other things.

An implementation to allow audio/video to be optional is best done
using the flag technique above, with audio/video enablement specified
by whether media (raw, `video_t/audio_t`) or encoder (`obs_encoder_t`)
objects are specified.

Since every implementation I could find always specifies `flags` as 0,
I was able to safely conclude that immediately removing the parameter's
functionality is safe to do.
2023-05-20 16:41:55 -07:00
Lain 106c7aa61f Update copyrights/names 2023-05-20 01:31:18 -07:00
Translation UpdaterandTranslation Updater a0fbdc3c34 Update translations from Crowdin 2023-05-01 23:11:13 +00:00
Translation UpdaterandTranslation Updater 7c5560bf1b Update translations from Crowdin 2023-03-27 13:39:03 +00:00
PatTheMavandRyan Foster 349372b3b3 cmake: Add changes for CMake build framework 3.0
New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
greater, old functionality remains unchanged.
2023-03-26 18:20:38 -04:00
Norihiro KamaeandJim b742938a6f aja: Remove an empty clause
Remove an `if` statement that test a variable `rd`, which is an `enum
class RasterDefinition` type .
2023-03-18 15:16:44 -07:00
PatTheMavandJim ce9854a11b aja: Remove unused variables 2023-02-18 15:22:33 -08:00
Paul HindtandRyan Foster 003241511c aja: Add audio channel selection to capture
Adapted audio repacker for 32-bit samples,

with an ifdef to use SIMD or C version.
2023-02-15 10:38:39 -05:00
tytan652andRyan Foster 77a174ddac aja,aja-output-ui: Calm deprecation warnings on Clang and GCC 2023-01-19 13:08:46 -05:00
tytan652andRyan Foster ba92da8d74 aja: Fix compilation warnings on Clang and GCC
- Fix format warning
  On Linux uint64_t is a unsigned long and on macOS it is
  a unsigned long long.
- Fix macro-redefine warning on macOS
2023-01-19 13:08:46 -05:00
Translation UpdaterandTranslation Updater 783bd52197 Update translations from Crowdin 2023-01-08 04:10:37 +00:00
Paul HindtandJim d851f1d916 aja: Fix capturing UHD/4K YUV on Kona HDMI.
Added missing routing preset for KonaHDMI UHD/4K.

Calculate framebuffer index based on framestore index.
2022-11-09 23:08:10 -08:00
Translation UpdaterandTranslation Updater f065f20ce1 Update translations from Crowdin 2022-10-25 22:32:14 +00:00
Translation UpdaterandTranslation Updater cc2d0791ca Update translations from Crowdin 2022-08-30 09:00:44 +00:00
Translation UpdaterandTranslation Updater 4aaa07f93d Update translations from Crowdin 2022-08-17 04:22:50 +00:00
Ed MasteandRyan Foster c3097f4ee9 aja: Correct typos in README.md 2022-08-16 14:08:21 -04:00
Paul HindtandJim 44acdd68b0 aja: Fix output of garbage video during preroll
Add additional logging of card frame counts/indices
2022-08-02 09:46:58 -07:00
davidsandJim 33081419e7 aja: Adjust delay when sending frames to card
The plugin will try to maintain a hardware queue depth of 4 frames,

adjusting video and audio delay dynamically.
2022-08-02 09:46:58 -07:00
Paul HindtandJim fd7c23b200 aja: Remove unused code from output plugin 2022-08-01 13:34:56 -07:00
Translation UpdaterandTranslation Updater 81734be37c Update translations from Crowdin 2022-07-31 23:40:53 +00:00
Paul HindtandJim 7095f0dd70 aja: Only allow output formats matching OBS framerate 2022-07-30 16:39:20 -07:00
tytan652 79480c98d9 aja: Remove unused parameters 2022-07-20 08:22:08 +02:00
Norihiro KamaeandRyan Foster 317780ca1b aja: Remove unnecessary .keepme files
Since the directory contains some files, .keepme, which is intended to
keep an empty directory on a git repository, is unnecessary.
2022-07-19 14:40:32 -04:00
Norihiro KamaeandRyan Foster 7e3656ab33 plugins: Cleanup unused-parameters
- Remove unnecessary UNUSED_PARAMETER
- Add OBS_UNUSED attribute to unused parameters
- Also removes unused variables
2022-07-19 11:01:00 -04:00
jpark37andJim f85d71abe8 aja: Suppress C4996
NTV2TestPatternGen::DrawTestPattern overloads are deprecated.
2022-07-18 03:52:04 -07:00
Norihiro KamaeandJim d7b363a7c4 aja: Increment aja-source version for buffering setting
Add aja-source version 2 to differentiate buffering settings, which is
implemented in a255b0f74.
To register two versions, remove to return obs_source_info and register
the source inside aja-source.cpp.
Also revise aja-output.cpp to register aja-output to keep consistency of
function type.
2022-07-16 16:47:19 -07:00
jpark37andJim df96e68ca6 cmake: Disable LNK4099 warning
We are very unlikely to ship PDBs for deps.
2022-07-11 22:07:10 -07:00
jpark37andJim 1c58d4402d aja: Fix warnings about type usage 2022-07-11 22:07:10 -07:00
Norihiro KamaeandMatt Gajownik c1d1526b24 aja: Split audio part in CaptureThread to function
To improve readability of the capture thread function
`AJASource::CaptureThread`, audio part is split into two functions.
Behavior is not changed.
Also fixed one of warnings.
2022-07-10 10:01:58 +10:00
Norihiro KamaeandMatt Gajownik 08a071d7a5 aja: Fix memory overrun on aja-source
When too many audio frames are captured and at the same time the ring
buffer on the card is wrapped, memory overrun was not captured before
DMA transfer, which resulted in corruption of memory contents. This
commit moves the overrun check before the DMA transfer.
2022-07-10 10:01:58 +10:00
PatTheMavandMatt Gajownik ed9cc5c0dd aja: Explicitly mark variables as unused 2022-07-10 09:59:55 +10:00
Paul HindtandJim e390252540 aja: Fix audio capture sometimes offset by a channel 2022-07-09 16:20:23 -07:00
Norihiro KamaeandJim a255b0f742 aja: Implement buffering property
Buffering inside libobs is enabled by default and it causes latency of
video. This commit provides a property to switch the buffering.
Since the latency of the buffering changes every startup, set the
default to unbuffered mode, though the previous implementation was
enabled buffering.
2022-06-18 16:12:20 -07:00
Paul HindtandJim 61dc1d7bcf aja: Fix UHD/4K HDMI output on Kona5-8K firmware 2022-04-30 16:29:56 -07:00
Norihiro KamaeandJim 34e570c5bc Fix indent on multiline comments 2022-04-30 16:06:23 -07:00
Norihiro KamaeandJim c5154cc317 aja: Subtract packet time from audio timestamp
When calling `obs_source_output_audio`, timestamp should be the starting
time of the audio packet.
2022-04-23 07:04:59 -07:00
jpark37andJim 848e128435 libobs,plugins: Replace video matrix function
video_format_get_parameters_for_format provides a more accurate matrix
than video_format_get_parameters.
2022-04-07 19:28:51 -07:00