SHARE
TWEET

Untitled

a guest Jun 15th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command = [
  2.     "ffmpeg",
  3.     "-loglevel", "error",
  4.     "-y",
  5.     "-pix_fmt", "gray",
  6.     "-s", "%dx%d" % (data.shape[1], data.shape[0]),
  7.     "-r", "30",
  8.     "-c:v", "rawvideo",
  9.     "-f", "rawvideo",
  10.     "-i", "-", # Input from stdin
  11.     "-crf", str(crf),
  12.     "-c:v", "libx264",
  13.     "-preset", preset,
  14.     "-f", "matroska",
  15.     "-threads", "1"
  16.     "-" # Output to stdout
  17. ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top