ffmpeg -r 24 -pattern_type glob -i '*.JPG' -s hd1080 -vcodec libx264 timelapse.mp4
-r 24- output frame rate-pattern_type glob -i '*.JPG'- all JPG files in the current directory-s hd1080- 1920x1080 resolution
| use std::sync::{Arc, Mutex}; | |
| pub struct Foo { | |
| pub a: i32, | |
| pub b: i32, | |
| } | |
| pub fn function(foo: Arc<Mutex<Foo>>){ | |
| let foo = &mut *(foo.lock().unwrap()); | |
| inner(&mut foo.a, &mut foo.b); |
| #!/usr/bin/env python3 | |
| import os | |
| import sys | |
| import subprocess | |
| import re | |
| import argparse | |
| import hashlib | |
| args = None |