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