Created
August 8, 2020 03:10
-
-
Save mondain/21c7ab6b60967000877bf5b6502a4d8d to your computer and use it in GitHub Desktop.
Save a series of raw yuv420p files from a video source
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 -r 1 -i $1 -an -s 640x480 -pixel_format yuv420p -f image2 image-%3d.raw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment