aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/av-record-output.sh
blob: ef306ed12957529f27c8e50228f55d435d5268e0 (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. 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