summaryrefslogtreecommitdiff
path: root/voctocore/scripts/videosrc1.sh
blob: 39e52121606e5b1f2795cf68d4e1411f3e512307 (plain)
  1. #!/bin/sh
  2. rm -f /tmp/voctomix-sockets/v-cam1 /tmp/voctomix-sockets/a-cam1
  3. gst-launch-1.0 -v \
  4. uridecodebin \
  5. uri=file:///home/peter/ED_1280.avi \
  6. name=src \
  7. \
  8. src. !\
  9. queue !\
  10. progressreport !\
  11. videoconvert !\
  12. videorate !\
  13. videoscale !\
  14. video/x-raw,format=RGBx,width=1280,height=720,framerate=25/1 !\
  15. shmsink \
  16. sync=true \
  17. socket-path=/tmp/voctomix-sockets/v-cam1 \
  18. wait-for-connection=false \
  19. shm-size=100000000 \
  20. \
  21. src. !\
  22. queue !\
  23. audioconvert !\
  24. audiorate !\
  25. audio/x-raw,format=F32LE,layout=interleaved,channels=2,rate=48000 !\
  26. shmsink \
  27. sync=true \
  28. socket-path=/tmp/voctomix-sockets/a-cam1 \
  29. wait-for-connection=false \
  30. shm-size=10000000