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