Guest User

Untitled

a guest
Jun 15th, 2022
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. PW_STREAM=$(pw-dump -N | grep -A6 "Rift Tracking"| grep object.id | cut -c22-)
  4. echo $PW_STREAM
  5.  
  6. GST_PIPE=""
  7.  
  8. for path in $PW_STREAM; do
  9. echo $path
  10. GST_PIPE="$GST_PIPE pipewiresrc path=$path ! glimagesink sync=false"
  11. done
  12. echo $GST_PIPE
  13.  
  14. gst-launch-1.0 --no-position $GST_PIPE
  15.  
Advertisement
Add Comment
Please, Sign In to add comment