aboutsummaryrefslogtreecommitdiff
path: root/voctocore/experiments/video-grabber-src.sh
blob: e592940cffc286f3478fe1d15cf050a07bee5445 (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. uridecodebin \
  4. uri=http://video.blendertestbuilds.de/download.blender.org/ED/ED_1280.avi \
  5. name=src \
  6. \
  7. src. !\
  8. queue !\
  9. progressreport !\
  10. videoconvert !\
  11. videorate !\
  12. videoscale !\
  13. video/x-raw,format=RGBx,width=1280,height=720,framerate=25/1 !\
  14. shmsink \
  15. sync=true \
  16. socket-path=/tmp/voctomix-sockets/v-cam1 \
  17. wait-for-connection=false \
  18. shm-size=100000000
  19. \
  20. src. !\
  21. queue !\
  22. audioconvert !\
  23. audiorate !\
  24. audio/x-raw,format=S16LE,layout=interleaved,rate=44100,channels=2 !\
  25. shmsink \
  26. sync=true \
  27. socket-path=/tmp/voctomix-sockets/a-cam1 \
  28. wait-for-connection=false \
  29. shm-size=10000000