aboutsummaryrefslogtreecommitdiff
path: root/example-scripts/av-source-eevblog.sh
blob: 0ed237de1fba6b42970c1979356e569e1caf8fef (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=I420,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