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