Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic GStreamer pipelines for testing cameras (New) #1676

Draft
wants to merge 79 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
a34037e
feat: initial impl of taking photos automatically for all gst sources
tomli380576 Nov 20, 2024
b0050db
fix: avoid creating a new main loop over and over
tomli380576 Nov 21, 2024
9b59700
fix: missing handling for deocdebin linking
tomli380576 Nov 21, 2024
8ca0d3b
feat: simplify caps fixation, add a timeout in case the pipeline hangs
tomli380576 Nov 21, 2024
e603d8c
fix: raise an error if state change failed
tomli380576 Nov 21, 2024
8d86116
feat: simplify all static elemnt creation
tomli380576 Nov 21, 2024
81aec83
fix: add timeout to handle pipeline hangs
tomli380576 Nov 21, 2024
20774de
feat: display preview
tomli380576 Nov 21, 2024
6297a2b
style: err message
tomli380576 Nov 22, 2024
204cfcf
feat: video recording
tomli380576 Dec 6, 2024
0ef5e5e
feat: video playback
tomli380576 Dec 6, 2024
eb3b4d3
fix: gracefull shutdown, implement parser
tomli380576 Dec 10, 2024
a5bdd05
fix: graceful shotdown pipelines
tomli380576 Dec 10, 2024
27101b6
fix: remove videorate and add unref
tomli380576 Dec 10, 2024
a07897d
fix: temp workaround for weird err message after program is done
tomli380576 Dec 11, 2024
28390fb
feat: play video handler
tomli380576 Dec 11, 2024
75694b6
fix: remove unnecessary bus.add_signal_watch call
tomli380576 Dec 11, 2024
ce2b449
fix: add all timeouts before running
tomli380576 Dec 11, 2024
206ca64
fix: snapshot=True doesn't exist on 16
tomli380576 Dec 11, 2024
7ca20dc
feat: dimension validation for photos
tomli380576 Dec 11, 2024
798b97a
feat: validate video info
tomli380576 Dec 11, 2024
41e90c0
fix: add a cap for get_all_caps
tomli380576 Dec 11, 2024
19f6c5f
fix: remove print
tomli380576 Dec 11, 2024
9e8cdf3
fix: logger bad args
tomli380576 Dec 11, 2024
f75e28d
fix: consistent param style
tomli380576 Dec 11, 2024
f2db3b9
feat: skip validation flag
tomli380576 Dec 12, 2024
770f87c
fix: wait 1 more second for eos
tomli380576 Dec 12, 2024
78135d9
style:formatting
tomli380576 Dec 12, 2024
945d6a5
fix: add missing gi require
tomli380576 Dec 16, 2024
d5b387b
feat: workaround for Gst.IntRange
tomli380576 Dec 17, 2024
27b50e3
feat: add caps resolver
tomli380576 Dec 18, 2024
455b86d
fix: handle GValueArray to GstValueList conversion
tomli380576 Dec 18, 2024
6fd2e0f
fix: workaround for list[Gst.Fraction]
tomli380576 Dec 18, 2024
cf73e67
fix: import Gtk only when necessary
tomli380576 Dec 18, 2024
720d2ec
style: consistent naming
tomli380576 Dec 18, 2024
be88eac
fix: bad timeout value
tomli380576 Dec 18, 2024
7bdc1b0
fix: remove fstrings
tomli380576 Dec 18, 2024
f6fff38
feat: add fps validation, fix bad filesink
tomli380576 Dec 18, 2024
bebcd7b
fix: only check the state of the source because multifilesink does no…
tomli380576 Dec 19, 2024
c9b5d3e
refactor: various cleanups
tomli380576 Dec 19, 2024
84bf76a
style: make flake8 happy
tomli380576 Dec 19, 2024
f6aa1f4
style:spelling
tomli380576 Dec 23, 2024
b7fe37a
style: couple default value with their description
tomli380576 Dec 26, 2024
0ae9f84
fix: incorrect pipeline start and stop
tomli380576 Dec 26, 2024
181f7b3
fix: add import error check
tomli380576 Dec 26, 2024
7edf608
style: cleanups
tomli380576 Jan 1, 2025
01e35a4
refactor: move core pipeline to checkbox support, fix segfault on ear…
tomli380576 Jan 1, 2025
a6e94ed
style: remove print
tomli380576 Jan 1, 2025
543cd32
fix: always use an upper limit for caps resolver
tomli380576 Jan 2, 2025
340005c
test: caps resolver tests
tomli380576 Jan 2, 2025
824a854
fix: typing.Literal doesn't exist in 3.5
tomli380576 Jan 2, 2025
0582a49
fix: formatter returned incompatible syntax
tomli380576 Jan 2, 2025
88a0000
fix: handle x-bayer
tomli380576 Jan 2, 2025
ba3b443
fix: dangling parent object, support encoding choice
tomli380576 Jan 2, 2025
2e33e08
fix: no more remove source warnings
tomli380576 Jan 2, 2025
1a84ff9
style: update comments
tomli380576 Jan 2, 2025
81d4211
refactor: minor refactor for msg handler
tomli380576 Jan 2, 2025
6469f08
style: rename remap to known_values
tomli380576 Jan 3, 2025
acfd78a
test: test job tests
tomli380576 Jan 3, 2025
180454a
fix: support custom file format, always use abs path
tomli380576 Jan 6, 2025
d7eae4e
fix: do not check file path for viewfinder, comments
tomli380576 Jan 6, 2025
713e47d
refactor: remove unused video player
tomli380576 Jan 6, 2025
d221878
test: image validator tests
tomli380576 Jan 6, 2025
9001932
style: bad log message ordering
tomli380576 Jan 6, 2025
41fc8f6
feat: allow 0 second photo pipelines
tomli380576 Jan 6, 2025
b75dcd9
fix: disallow 0 second pipeline in video recording
tomli380576 Jan 6, 2025
3f7bcbe
feat: only 1 image write when taking photos
tomli380576 Jan 7, 2025
931d157
style: comments
tomli380576 Jan 7, 2025
05ba217
refactor: use discoverer for images too
tomli380576 Jan 7, 2025
ceaea0a
fix: py3.5 quirks, error handling
tomli380576 Jan 8, 2025
d107ab2
fix: custom handler should have lowest precedence
tomli380576 Jan 8, 2025
5784fc5
fix: remove timeout earlier
tomli380576 Jan 8, 2025
a8ca59a
refactor: use path object
tomli380576 Jan 8, 2025
22cdc67
test: new test fixture
tomli380576 Jan 8, 2025
1cd3bcd
test: more tests
tomli380576 Jan 8, 2025
7e32164
test: increase coverage
tomli380576 Jan 8, 2025
88a9ba9
fix: 3.5 doesn't have pathlike
tomli380576 Jan 8, 2025
ed59080
fix: removed broken tests
tomli380576 Jan 8, 2025
92e954d
fix: nullcontext doesn't exist in 3.5
tomli380576 Jan 8, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading