Created
August 1, 2017 15:17
-
-
Save kirkins/5d69c491e933fe13242dcd7fdeea6667 to your computer and use it in GitHub Desktop.
ffmpeg notes
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
# output to a video file | |
ffmpeg -re -f video4linux2 -i /dev/video0 out.mp4 | |
# output format flash to local live stream | |
# this requires RTMP server to be running | |
ffmpeg -re -f video4linux2 -i /dev/video0 -f flv rtmp://localhost/live/test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment