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