summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
George Kiagiadakis [Wed, 8 Nov 2023 14:54:05 +0000 (16:54 +0200)]
Port to gst-wayland changes in gst 1.22, maintaining backwards compatibility
This will be relevant when AGL switches to a more recent yocto.
Bug-AGL: SPEC-4881
Change-Id: I8a1ae6dcf3099914c961a5b4c0fe702a5ab7cd12
Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
Ashok Sidipotu [Thu, 12 Oct 2023 06:26:21 +0000 (11:56 +0530)]
camera-gstreamer: Add fallback sink
Add a still image fallback sink when the intended camera's are not available.
Still image indicates that the camera devices are not available.
This should help towards the better user experience of the app.
Bug-AGL: SPEC-4881
Change-Id: Id0e4689861fead763366eac4de506f298a0de5e2
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Ashok Sidipotu [Mon, 14 Aug 2023 03:52:54 +0000 (09:22 +0530)]
camera-gstreamer: Add pipewire source to capture video streams
Pipewire can be used for capturing camera video streams, add it as one of the
sources and make it the default source.
V4L2 path can be chosen with an env variable.
Enhance the README file with info that helps with the usage of the app.
Bug-AGL: SPEC-4881
Change-Id: Ia1d989da229304b1b514d6b25ebbc2530503d370
Signed-off-by: Ashok Sidipotu <ashok.sidipotu@collabora.com>
Marius Vlad [Mon, 28 Aug 2023 08:57:32 +0000 (11:57 +0300)]
main: Redo buffer handling in camera-gstreamer
Using this time a buffer list, similar to what simple-shm is doing to avoid
getting back that a buffer is busy, due to *not* prunning older buffers.
As such, double buffering seems to be sufficient so we don't need to
resort to having 3 buffers.
This should fix switching back and forth between other applications and
the camera application. Tested with vivid module.
Bug-AGL: SPEC-4884
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ia3987782b3e107a0055f9680fecfed0f9a96eec6
Marius Vlad [Wed, 9 Aug 2023 09:58:36 +0000 (12:58 +0300)]
main: Destroy the pipeline before window/display
Bug-AGL: SPEC-4878
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ided754172557d9c9f92fe7c0e27b08c11f9a81ac
Marius Vlad [Wed, 9 Aug 2023 09:58:17 +0000 (12:58 +0300)]
main: Allow to pass different devices and height/width
Bug-AGL: SPEC-4877
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic35267e93a95589be6af0b3d2e0bb9839303b519
Scott Murray [Mon, 7 Mar 2022 20:56:17 +0000 (15:56 -0500)]
Update for app framework removal
Changes:
- Remove the autobuild scripts and config.xml used by the app
framework widget build.
- Update the CMake files to just build a "camera-gstreamer" binary
and install it into /usr/bin by default.
- Remove the code in main.cpp that handled reading the WebSocket
command-line arguments and passing them to binding related
code.
- Added installation of a minimal .desktop file to work with the
new applaunchd.
Bug-AGL: SPEC-4284
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I87816800c117a243a107eecb8895f07d6c90f23a
Vasyl Vavrychuk [Sun, 16 Jan 2022 07:50:03 +0000 (08:50 +0100)]
Fix code review comments from https://gerrit.automotivelinux.org/gerrit/c/apps/camera-gstreamer/+/26934.
Bug-AGL: SPEC-4148
Change-Id: I18b3029eb91d4c693f1848c0e7eeedcdaae14e7f
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Vasyl Vavrychuk [Sun, 16 Jan 2022 07:38:44 +0000 (08:38 +0100)]
Explain why need to check for buffer valid.
Fixes https://gerrit.automotivelinux.org/gerrit/c/apps/camera-gstreamer/+/26935/2//COMMIT_MSG#7
Bug-AGL: SPEC-4148
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I99e5cfb31e24a95b5b9062999a46a962ee8ea9a7
Vasyl Vavrychuk [Sun, 16 Jan 2022 07:33:14 +0000 (08:33 +0100)]
Rearrange buffer valid and busy check.
It is more natural to check buffer validity first before buffer
busyness.
Fixes https://gerrit.automotivelinux.org/gerrit/c/apps/camera-gstreamer/+/26935/2/app/main.cpp#161
Bug-AGL: SPEC-4148
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I0df3dd48c183429b55f49915e6722342a97bd2c5
Vasyl Vavrychuk [Wed, 15 Sep 2021 07:50:29 +0000 (09:50 +0200)]
Freeing main argv is not needed and must not be done.
Was getting:
free(): invalid pointer
Bug-AGL: SPEC-4148
Change-Id: I81bc58f647c0d4cb57a2d1bd7cecb80e943c05d2
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Vasyl Vavrychuk [Tue, 14 Sep 2021 21:25:51 +0000 (23:25 +0200)]
Fix crash due to 'window->buffers[0].buffer' NULL pointer.
Bug-AGL: SPEC-4148
Change-Id: I353deeea5ef00c6b69f381becd720d517e5a51df
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Vasyl Vavrychuk [Tue, 14 Sep 2021 05:08:22 +0000 (07:08 +0200)]
Automatically detect camera capable v4l2 device.
Bug-AGL: SPEC-4148
Change-Id: I42cf0adf9e55679069992d73f079b916684f8e8b
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Andriy Tryshnivskyy [Thu, 2 Dec 2021 11:07:58 +0000 (13:07 +0200)]
Disable buffering on stdout.
It fix a problem when prints to sdtout are not visible in journalctl.
Bug-AGL: SPEC-4166
Change-Id: I5652e84bdfd3307edf53d2d7d07c532f41faa909
Signed-off-by: Andriy Tryshnivskyy <andriy.tryshnivskyy@opensynergy.com>
Marius Vlad [Tue, 2 Mar 2021 16:30:32 +0000 (18:30 +0200)]
Init camera-gstreamer
Bug-AGL: SPEC-3629
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ib1a221f03dfac3114bbd3477dc488dd90c86ba35
Jan-Simon Moeller [Fri, 26 Feb 2021 16:28:01 +0000 (16:28 +0000)]
Initial empty repository