aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-videotestsrc-as-cam2.sh
blob: e51dd09d6ac1863fa48bf41ea741cab69e2586b9 (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. videotestsrc pattern=green !\
  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=10001