aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-cam1.sh
blob: 5026260892684d24956c84890f0aa626441daccd (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. videotestsrc pattern=ball foreground-color=0x00ff0000 background-color=0x00440000 !\
  4. video/x-raw,format=I420,width=1920,height=1080,framerate=25/1,pixel-aspect-ratio=1/1 !\
  5. mux. \
  6. \
  7. audiotestsrc freq=440 !\
  8. audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
  9. mux. \
  10. \
  11. matroskamux name=mux !\
  12. tcpclientsink host=localhost port=10000