Created
February 6, 2020 11:47
-
-
Save peyanski/faa2cfe99f447cde3584a0a6aa3dc0b1 to your computer and use it in GitHub Desktop.
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
[{"id":"41a577c9.ee6c5","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"7edc8975.a2ca2","type":"exec","z":"41a577c9.ee6c5","command":"ffmpeg -f rtsp -i \"rtsp://rtsp:[email protected]:554/av_stream/ch0\" -f image2pipe pipe:1","addpay":false,"append":"","useSpawn":"true","timer":"","oldrc":false,"name":"Decode RTSP stream","x":520,"y":240,"wires":[["738531db.a89da","e2a11b69.d66c88"],["c8fa95b2.b7b268"],["412f5cc8.fc89ec"]]},{"id":"87089176.96e53","type":"inject","z":"41a577c9.ee6c5","name":"Start stream","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":240,"wires":[["7edc8975.a2ca2"]]},{"id":"a8a37b87.1047c8","type":"inject","z":"41a577c9.ee6c5","name":"Pause all streams","topic":"","payload":"SIGSTOP","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":280,"wires":[["b72b3fe3.c933c8"]]},{"id":"a29eac62.280ae8","type":"inject","z":"41a577c9.ee6c5","name":"Resume all streams","topic":"","payload":"SIGCONT","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":320,"wires":[["b72b3fe3.c933c8"]]},{"id":"b72b3fe3.c933c8","type":"change","z":"41a577c9.ee6c5","name":"","rules":[{"t":"set","p":"kill","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":320,"wires":[["7edc8975.a2ca2"]]},{"id":"febfdc6f.9c1e98","type":"inject","z":"41a577c9.ee6c5","name":"Stop all streams","topic":"","payload":"SIGTERM","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":200,"y":360,"wires":[["b72b3fe3.c933c8"]]},{"id":"738531db.a89da","type":"debug","z":"41a577c9.ee6c5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","x":710,"y":100,"wires":[]},{"id":"c8fa95b2.b7b268","type":"debug","z":"41a577c9.ee6c5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","x":770,"y":320,"wires":[]},{"id":"412f5cc8.fc89ec","type":"debug","z":"41a577c9.ee6c5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","x":710,"y":380,"wires":[]},{"id":"e2a11b69.d66c88","type":"jimp-image","z":"41a577c9.ee6c5","name":"","data":"payload","dataType":"msg","ret":"img","parameter1":"","parameter1Type":"msg","parameter2":"","parameter2Type":"msg","parameter3":"","parameter3Type":"msg","parameter4":"","parameter4Type":"msg","parameter5":"","parameter5Type":"msg","parameter6":"","parameter6Type":"msg","parameter7":"","parameter7Type":"msg","parameter8":"","parameter8Type":"msg","parameterCount":0,"jimpFunction":"none","selectedJimpFunction":{"name":"none","fn":"none","description":"Just loads the image.","parameters":[]},"x":710,"y":160,"wires":[["c898e769.05149"]]},{"id":"c898e769.05149","type":"image","z":"41a577c9.ee6c5","name":"","width":160,"data":"payload","dataType":"msg","thumbnail":true,"active":true,"x":860,"y":160,"wires":[]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment