summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-avsync.sh
blob: 2a8ab01c742197f1cb675ed3ee6b79727e54c017 (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=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
  12. timeoverlay valignment=bottom ! \
  13. mux. \
  14. \
  15. src. !\
  16. queue !\
  17. audioconvert !\
  18. audioresample !\
  19. audiorate !\
  20. audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
  21. mux. \
  22. \
  23. matroskamux name=mux !\
  24. tcpclientsink host=localhost port=10001