aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/av-source-avsync.sh
blob: 208e9c0068978f831169f0efaef065a5902cf27f (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. 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