summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-avsync.sh
blob: 02762021565aa6bb761baa621ebcaffd4e8d6bb1 (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 -vm \
  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. tcpclientsrc host=localhost port=10000