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
from subprocess import Popen, PIPE, STDOUT | |
import subprocess | |
import math, sys | |
from time import sleep | |
from os import path, access, W_OK, R_OK, F_OK | |
def cut(movie, start, clip): | |
subprocess.Popen(["ffmpeg", #Calls ffmpeg program | |
"-ss",str(start), #Begining of recording, must be string | |
"-t", '30', #How long to record clip for, must be a string |
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/bash | |
# CS 343 - A#Q# Test Script | |
# by m9chang | |
# based on progtest.sh by m9chang | |
# based on progdiff.sh by jlfwong (available at https://gist.github.com/3829517) | |
retval1=0 retval2=0 retcode=0 | |
# Method: run |