summaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-eevblog.sh
blob: 1175b88e36a23f5ef9d4957e1394c295344dfc7b (plain)
  1. #!/bin/sh
  2. gst-launch-1.0 -vm \
  3. filesrc location=$HOME/eevblog.mp4 !\
  4. decodebin name=src \
  5. \
  6. src. !\
  7. queue !\
  8. videoconvert !\
  9. videoscale !\
  10. video/x-raw,format=I420,width=1280,height=720,framerate=25/1,pixel-aspect-ratio=1/1 ! \
  11. timeoverlay valignment=bottom ! \
  12. gdppay ! \
  13. tcpclientsink host=localhost port=10000 \
  14. \
  15. src. !\
  16. queue !\
  17. audioconvert !\
  18. audioresample !\
  19. audiorate !\
  20. audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !\
  21. gdppay !\
  22. tcpclientsink host=localhost port=20000