summaryrefslogtreecommitdiff
path: root/voctocore/experiments/video-grabber-src.sh
blob: b3feb1648ee587d501c0b0ee73ade5098466cd01 (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 -v \
  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=BGRA,width=1280,height=720,framerate=25/1 !\
  14. shmsink \
  15. sync=true \
  16. socket-path=/tmp/grabber-v \
  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/grabber-a \
  28. wait-for-connection=false \
  29. shm-size=10000000