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