aboutsummaryrefslogtreecommitdiff
path: root/voctocore/scripts/av-source-eevblog.sh
blob: 373cb77ee7a6e4f3911169d25a6da144ff2bdace (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. textoverlay halignment=left valignment=top ypad=300 text=Playback !\
  12. timeoverlay halignment=left valignment=top ypad=300 xpad=400 !\
  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. tcpclientsink host=localhost port=10000