summaryrefslogtreecommitdiff
path: root/example-scripts/av-source-avsync.sh
blob: 1e8d1eb57ba8ab70606d2f3d7ede4a5b0ae8a058 (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. uridecodebin \
  4. uri=http://c3voc.mazdermind.de/avsync.mp4 \
  5. name=src \
  6. \
  7. src. !\
  8. queue !\
  9. videoconvert !\
  10. videoscale !\
  11. video/x-raw,format=UYVY,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
  12. mux. \
  13. \
  14. src. !\
  15. queue !\
  16. audioconvert !\
  17. audioresample !\
  18. audiorate !\
  19. audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
  20. mux. \
  21. \
  22. matroskamux name=mux !\
  23. tcpclientsink host=localhost port=10001