Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
avdoc
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
yids
avdoc
Commits
fcfacf46
Commit
fcfacf46
authored
1 year ago
by
yids
Browse files
Options
Downloads
Patches
Plain Diff
update script
parent
e29cf62f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/ossia2laser.sh
+8
-5
8 additions, 5 deletions
scripts/ossia2laser.sh
with
8 additions
and
5 deletions
scripts/ossia2laser.sh
+
8
−
5
View file @
fcfacf46
#!/bin/bash
WIDTH
=
800
HEIGHT
=
600
VIDEO_DEV
=
/dev/video0
WIDTH
=
640
HEIGHT
=
480
VIDEO_DEV1
=
/dev/video0
VIDEO_DEV2
=
/dev/video1
gst-launch-1.0 shmdatasrc socket-path
=
/tmp/
score_shm_
video
\
GST_DEBUG
=
3
gst-launch-1.0 shmdatasrc socket-path
=
/tmp/video
1
\
!
videoconvert
\
!
video/x-raw,format
=
NV12
\
!
videoscale
\
!
video/x-raw,
width
=
$WIDTH
,
height
=
$HEIGHT
\
!
queue
\
!
v4l2sink
device
=
$VIDEO_DEV
!
v4l2sink
device
=
$VIDEO_DEV1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment