Created
June 11, 2015 03:48
-
-
Save soulslicer/c9b7503b3eac504f0257 to your computer and use it in GitHub Desktop.
Gstreamer-1
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
/usr/local/bin/gst-launch-1.0 uvch264src fixed-framerate=1 iframe-period=30000 | |
initial-bitrate=500000 peak-bitrate=500000 num-reorder-frames=20 device=/dev/video0 name=src auto-start=true num-buffers=300 src.vfsrc ! queue ! fakesink src.vidsrc ! queue ! video/x-h264,width=1280,height=720,framerate=30/1,format=GRAY8 ! h264parse ! qtmux ! filesink location=video.mp4 | |
gst-launch-1.0 uvch264src fixed-framerate=1 iframe-period=30000 initial-bitrate=500000 peak-bitrate=500000 num-reorder-frames=20 -e filesrc location="output.raw" ! h264parse ! qtmux ! filesink location=video.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment