aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-record-cam1-mirror.sh
blob: 0a33a9778ef3c45b0c243914552a133d2eda50a2 (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. tcpclientsrc host=localhost port=13000 !\
  4. gdpdepay !\
  5. queue !\
  6. timeoverlay !\
  7. videoconvert !\
  8. avenc_mpeg2video bitrate=5000000 max-key-interval=0 !\
  9. queue !\
  10. mux. \
  11. \
  12. tcpclientsrc host=localhost port=23000 !\
  13. gdpdepay !\
  14. queue !\
  15. avenc_mp2 bitrate=192000 !\
  16. queue !\
  17. mux. \
  18. \
  19. mpegtsmux name=mux !\
  20. filesink location=foo.ts