Created
December 21, 2017 03:56
-
-
Save junjuew/ad307ba89e11f4f9450596b480dcbd56 to your computer and use it in GitHub Desktop.
ffmpeg cheatsheet
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
mkfifo /tmp/testpipe | |
while true; do ffmpeg -f v4l2 -s 1280x720 -i /dev/video0 -f rawvideo -video_size 1280x720 -pix_fmt rgb24 - | ffmpeg -f rawvideo -video_size 1280x720 -pix_fmt rgb24 -i - -f rawvideo -pix_fmt rgb24 -video_size 1280x720 - > /tmp/testpipe; wait; done | |
cat /tmp/testpipe | mplayer -nosound -framedrop -benchmark -nostop-xscreensaver -nolirc -demuxer rawvideo -rawvideo w=1280:h=720:format=rgb24 - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment