summaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
blob: ca7fc276eb32a03420534e7ba15d8327c9cec84d (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 \
  3. uridecodebin \
  4. uri=http://c3voc.mazdermind.de/testfiles/avsync.mp4 \
  5. name=src \
  6. \
  7. src. !\
  8. queue !\
  9. videoconvert !\
  10. videoscale !\
  11. video/x-raw,format=UYVY,width=1920,height=1080,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=10000