Created
May 8, 2016 20:12
-
-
Save ebachter/ecdde603853343c0746538afd95224b7 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
cameras[cam].liveffmpeg = child_process.spawn("ffmpeg", [ | |
"-rtsp_transport", "tcp", //"udp" | |
"-i", "rtsp://root:[email protected]:554/mpeg4/media.amp", //cameras[cam].rtsp, | |
"-vcodec", "libx264", | |
"-c:v", "libvpx", | |
"-s", "320x240", | |
"-r", "10", | |
"-f","ffm", | |
"-an", | |
"http://mediain.example.com:8090/v1/user742/secret" | |
], {detached: false}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment