summaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-background-loop.sh
blob: b8895178c9f4f26fc226914195c55c171d4fa5f1 (plain)
  1. #!/bin/sh
  2. confdir="`dirname "$0"`/../"
  3. . $confdir/default-config.sh
  4. if [ -f $confdir/config.sh ]; then
  5. . $confdir/config.sh
  6. fi
  7. gst-launch-1.0 \
  8. videotestsrc pattern=smpte !\
  9. video/x-raw,format=I420,width=$WIDTH,height=$HEIGHT,framerate=$FRAMERATE/1,pixel-aspect-ratio=1/1 ! \
  10. mux. \
  11. \
  12. matroskamux name=mux !\
  13. tcpclientsink host=localhost port=16000