StreamingHelpers

From TAMI
Jump to: navigation, search

gst-launch souphttpsrc location=http://tami.servebeer.com:8081/ is-live=true ! jpegdec ! xvimagesink

  • this shows the same mangled images, so motion has a problem.

curl -i http://tami.servebeer.com:8081 | less

Server: Motion/trunkREV528
Connection: close
Max-Age: 0
Expires: 0
Cache-Control: no-cache, private
Pragma: no-cache
Content-Type: multipart/x-mixed-replace; boundary=--BoundaryString
--BoundaryString
Content-type: image/jpeg
Content-Length:       13998

Converting to WebM from a bunch of images (i.e. timelapse)

gst-launch-1.0 -v multifilesrc location=timelapse/snapshot.%06d.jpg start-index=1 caps="image/jpeg,framerate=25/1,pixel-aspect-ratio=1/1" ! jpegdec ! videorate ! video/x-raw,framerate=25/1 ! vp8enc ! queue ! w ebmmux ! filesink location='test.webm'