Created
April 10, 2015 08:09
-
-
Save aborilov/bc225b86002c95cb5340 to your computer and use it in GitHub Desktop.
motiondetector
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rtspsrc location=rtsp://rtsp.eng:4000/4OQTZhK9ht1zVsoFvtFd3u ! application/x-rtp, media=video ! rtph264depay ! avdec_h264 | |
| ! tee name=copy ! queue ! video/x-raw ! metamux name=mmux | |
| copy. ! queue ! video/x-raw ! videorate ! video/x-raw, framerate=5/1 ! videoconvert ! video/x-raw, format=GRAY8 ! motiondetector learningRate=0.001 sensitivity=0.9 statesFrequency=0 ! video/x-raw ! mmux. | |
| mmux. ! video/x-raw ! metaenc name=menc | |
| menc. ! queue max-size-buffers=1000 max-size-bytes=0 max-size-time=0 ! application/xml ! rtpxmlpay pt=98 name=pay | |
| menc. ! queue max-size-buffers=1000 max-size-bytes=0 max-size-time=0 ! video/x-raw ! videoconvert ! x264enc speed-preset=1 tune=zerolatency ! rtph264pay name=pay0 pt=96 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment