Created
January 9, 2016 02:13
-
-
Save micolous/df4d794d71de7b8a441f to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/sh | |
ffmpeg -y \ | |
-f v4l2 \ | |
-input_format mjpeg \ | |
-i /dev/video0 \ | |
-framerate 25 \ | |
-video_size 640x360 \ | |
-s 1280x720 \ | |
-c:v rawvideo -c:a pcm_s16le \ | |
-pix_fmt yuv420p \ | |
-f matroska \ | |
-r 25 \ | |
tcp://localhost:10000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment