aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/gstreamer/source-avsync-test-clip-as-cam1.sh
blob: 14d9f6c664f94abd21f336375f648bb13c5ba104 (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=I420,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