aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-grabber.sh
blob: 37d89618dff30cbd8f3b8054e3c2acf2ef942ecd (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. videotestsrc pattern=blue !\
  4. video/x-raw,format=I420,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1 !\
  5. mux. \
  6. \
  7. audiotestsrc !\
  8. audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
  9. mux. \
  10. \
  11. matroskamux name=mux !\
  12. tcpclientsink host=localhost port=10002