Framework that turns video into silly putty.
Created by Robert Ochshorn on 2008-5-30.
Refactored by Ben Lacker on 2009-6-18.
Copyright (c) 2008 The Echo Nest Corporation. All rights reserved.
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          loadavfromyoutube(url,
        verbose=True) 
      returns an editable sequence from a youtube video | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          youtubedl(url,
        verbose=True) 
      downloads a video from youtube and returns the file object | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
        
          sequencefromyoutube(url,
        settings=None,
        dir=None,
        pre='frame-',
        verbose=True) 
      returns an editable sequence from a youtube video | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          sequencefromdir(dir,
        ext=None,
        settings=None) 
      returns an image sequence with lexographically-ordered images from
a directory | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          sequencefrommov(mov,
        settings=None,
        direc=None,
        pre='frame-',
        verbose=True) 
      full-quality video import from stills. will save frames to
tempspace if no directory is given | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          sequencetomovie(outfile,
        seq,
        audio=None,
        verbose=True) 
      renders sequence to a movie file, perhaps with an audio track | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          convertmov(infile,
        outfile=None,
        settings=None,
        verbose=True) 
      Converts a movie file to a new movie file with different settings. | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          settingsfromffmpeg(parsestring) 
      takes ffmpeg output and returns a VideoSettings object mimicking
the input video | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
        ALLOW_THREADS = 1
     | 
  
    | 
       
     | 
        BUFSIZE = 8192
     | 
  
    | 
       
     | 
        CLIP = 0
     | 
  
    | 
       
     | 
        ERR_CALL = 3
     | 
  
    | 
       
     | 
        ERR_DEFAULT = 0
     | 
  
    | 
       
     | 
        ERR_DEFAULT2 = 521
     | 
  
    | 
       
     | 
        ERR_IGNORE = 0
     | 
  
    | 
       
     | 
        ERR_LOG = 5
     | 
  
    | 
       
     | 
        ERR_PRINT = 4
     | 
  
    | 
       
     | 
        ERR_RAISE = 2
     | 
  
    | 
       
     | 
        ERR_WARN = 1
     | 
  
    | 
       
     | 
        FLOATING_POINT_SUPPORT = 1
     | 
  
    | 
       
     | 
        FPE_DIVIDEBYZERO = 1
     | 
  
    | 
       
     | 
        FPE_INVALID = 8
     | 
  
    | 
       
     | 
        FPE_OVERFLOW = 2
     | 
  
    | 
       
     | 
        FPE_UNDERFLOW = 4
     | 
  
    | 
       
     | 
        False_ = False
     | 
  
    | 
       
     | 
        Inf = inf
     | 
  
    | 
       
     | 
        Infinity = inf
     | 
  
    | 
       
     | 
        MAXDIMS = 32
     | 
  
    | 
       
     | 
        NAN = nan
     | 
  
    | 
       
     | 
        NINF = -inf
     | 
  
    | 
       
     | 
        NZERO = -0.0
     | 
  
    | 
       
     | 
        NaN = nan
     | 
  
    | 
       
     | 
        PINF = inf
     | 
  
    | 
       
     | 
        PZERO = 0.0
     | 
  
    | 
       
     | 
        RAISE = 2
     | 
  
    | 
       
     | 
        SHIFT_DIVIDEBYZERO = 0
     | 
  
    | 
       
     | 
        SHIFT_INVALID = 9
     | 
  
    | 
       
     | 
        SHIFT_OVERFLOW = 3
     | 
  
    | 
       
     | 
        SHIFT_UNDERFLOW = 6
     | 
  
    | 
       
     | 
        ScalarType = (<type 'int'>, <type 'float'>, <type 'complex'>, ...
     | 
  
    | 
       
     | 
        True_ = True
     | 
  
    | 
       
     | 
        UFUNC_BUFSIZE_DEFAULT = 8192
     | 
  
    | 
       
     | 
        UFUNC_PYVALS_NAME = 'UFUNC_PYVALS'
     | 
  
    | 
       
     | 
        WRAP = 1
     | 
  
    | 
       
     | 
        __package__ = 'echonest.remix'
     | 
  
    | 
       
     | 
        absolute = <ufunc 'absolute'>
     | 
  
    | 
       
     | 
        add = <ufunc 'add'>
     | 
  
    | 
       
     | 
        arccos = <ufunc 'arccos'>
     | 
  
    | 
       
     | 
        arccosh = <ufunc 'arccosh'>
     | 
  
    | 
       
     | 
        arcsin = <ufunc 'arcsin'>
     | 
  
    | 
       
     | 
        arcsinh = <ufunc 'arcsinh'>
     | 
  
    | 
       
     | 
        arctan = <ufunc 'arctan'>
     | 
  
    | 
       
     | 
        arctan2 = <ufunc 'arctan2'>
     | 
  
    | 
       
     | 
        arctanh = <ufunc 'arctanh'>
     | 
  
    | 
       
     | 
        bitwise_and = <ufunc 'bitwise_and'>
     | 
  
    | 
       
     | 
        bitwise_not = <ufunc 'invert'>
     | 
  
    | 
       
     | 
        bitwise_or = <ufunc 'bitwise_or'>
     | 
  
    | 
       
     | 
        bitwise_xor = <ufunc 'bitwise_xor'>
     | 
  
    | 
       
     | 
        c_ = <numpy.lib.index_tricks.CClass object at 0x1690510>
     | 
  
    | 
       
     | 
        cast = {<type 'numpy.int16'>: <function <lambda> at 0x155a7d0>...
     | 
  
    | 
       
     | 
        ceil = <ufunc 'ceil'>
     | 
  
    | 
       
     | 
        conj = <ufunc 'conjugate'>
     | 
  
    | 
       
     | 
        conjugate = <ufunc 'conjugate'>
     | 
  
    | 
       
     | 
        copysign = <ufunc 'copysign'>
     | 
  
    | 
       
     | 
        cos = <ufunc 'cos'>
     | 
  
    | 
       
     | 
        cosh = <ufunc 'cosh'>
     | 
  
    | 
       
     | 
        deg2rad = <ufunc 'deg2rad'>
     | 
  
    | 
       
     | 
        degrees = <ufunc 'degrees'>
     | 
  
    | 
       
     | 
        divide = <ufunc 'divide'>
     | 
  
    | 
       
     | 
        e = 2.71828182846
     | 
  
    | 
       
     | 
        equal = <ufunc 'equal'>
     | 
  
    | 
       
     | 
        exp = <ufunc 'exp'>
     | 
  
    | 
       
     | 
        exp2 = <ufunc 'exp2'>
     | 
  
    | 
       
     | 
        expm1 = <ufunc 'expm1'>
     | 
  
    | 
       
     | 
        fabs = <ufunc 'fabs'>
     | 
  
    | 
       
     | 
        floor = <ufunc 'floor'>
     | 
  
    | 
       
     | 
        floor_divide = <ufunc 'floor_divide'>
     | 
  
    | 
       
     | 
        fmax = <ufunc 'fmax'>
     | 
  
    | 
       
     | 
        fmin = <ufunc 'fmin'>
     | 
  
    | 
       
     | 
        fmod = <ufunc 'fmod'>
     | 
  
    | 
       
     | 
        frexp = <ufunc 'frexp'>
     | 
  
    | 
       
     | 
        greater = <ufunc 'greater'>
     | 
  
    | 
       
     | 
        greater_equal = <ufunc 'greater_equal'>
     | 
  
    | 
       
     | 
        hypot = <ufunc 'hypot'>
     | 
  
    | 
       
     | 
        index_exp = <numpy.lib.index_tricks.IndexExpression object at ...
     | 
  
    | 
       
     | 
        inf = inf
     | 
  
    | 
       
     | 
        infty = inf
     | 
  
    | 
       
     | 
        invert = <ufunc 'invert'>
     | 
  
    | 
       
     | 
        isfinite = <ufunc 'isfinite'>
     | 
  
    | 
       
     | 
        isinf = <ufunc 'isinf'>
     | 
  
    | 
       
     | 
        isnan = <ufunc 'isnan'>
     | 
  
    | 
       
     | 
        ldexp = <ufunc 'ldexp'>
     | 
  
    | 
       
     | 
        left_shift = <ufunc 'left_shift'>
     | 
  
    | 
       
     | 
        less = <ufunc 'less'>
     | 
  
    | 
       
     | 
        less_equal = <ufunc 'less_equal'>
     | 
  
    | 
       
     | 
        little_endian = True
     | 
  
    | 
       
     | 
        log = <ufunc 'log'>
     | 
  
    | 
       
     | 
        log10 = <ufunc 'log10'>
     | 
  
    | 
       
     | 
        log1p = <ufunc 'log1p'>
     | 
  
    | 
       
     | 
        log2 = <ufunc 'log2'>
     | 
  
    | 
       
     | 
        logaddexp = <ufunc 'logaddexp'>
     | 
  
    | 
       
     | 
        logaddexp2 = <ufunc 'logaddexp2'>
     | 
  
    | 
       
     | 
        logical_and = <ufunc 'logical_and'>
     | 
  
    | 
       
     | 
        logical_not = <ufunc 'logical_not'>
     | 
  
    | 
       
     | 
        logical_or = <ufunc 'logical_or'>
     | 
  
    | 
       
     | 
        logical_xor = <ufunc 'logical_xor'>
     | 
  
    | 
       
     | 
        maximum = <ufunc 'maximum'>
     | 
  
    | 
       
     | 
        mgrid = <numpy.lib.index_tricks.nd_grid object at 0x1690450>
     | 
  
    | 
       
     | 
        minimum = <ufunc 'minimum'>
     | 
  
    | 
       
     | 
        mod = <ufunc 'remainder'>
     | 
  
    | 
       
     | 
        modf = <ufunc 'modf'>
     | 
  
    | 
       
     | 
        multiply = <ufunc 'multiply'>
     | 
  
    | 
       
     | 
        nan = nan
     | 
  
    | 
       
     | 
        nbytes = {<type 'numpy.int16'>: 2, <type 'numpy.uint16'>: 2, <...
     | 
  
    | 
       
     | 
        negative = <ufunc 'negative'>
     | 
  
    | 
       
     | 
        newaxis = None 
      hash(x)
     | 
  
    | 
       
     | 
        nextafter = <ufunc 'nextafter'>
     | 
  
    | 
       
     | 
        not_equal = <ufunc 'not_equal'>
     | 
  
    | 
       
     | 
        ogrid = <numpy.lib.index_tricks.nd_grid object at 0x1690490>
     | 
  
    | 
       
     | 
        ones_like = <ufunc 'ones_like'>
     | 
  
    | 
       
     | 
        pi = 3.14159265359
     | 
  
    | 
       
     | 
        power = <ufunc 'power'>
     | 
  
    | 
       
     | 
        r_ = <numpy.lib.index_tricks.RClass object at 0x16904d0>
     | 
  
    | 
       
     | 
        rad2deg = <ufunc 'rad2deg'>
     | 
  
    | 
       
     | 
        radians = <ufunc 'radians'>
     | 
  
    | 
       
     | 
        reciprocal = <ufunc 'reciprocal'>
     | 
  
    | 
       
     | 
        remainder = <ufunc 'remainder'>
     | 
  
    | 
       
     | 
        right_shift = <ufunc 'right_shift'>
     | 
  
    | 
       
     | 
        rint = <ufunc 'rint'>
     | 
  
    | 
       
     | 
        s_ = <numpy.lib.index_tricks.IndexExpression object at 0x1690610>
     | 
  
    | 
       
     | 
        sctypeDict = {0: <type 'numpy.bool_'>, 1: <type 'numpy.int8'>,...
     | 
  
    | 
       
     | 
        sctypeNA = {'?': 'Bool', 'B': 'UInt8', 'Bool': <type 'numpy.bo...
     | 
  
    | 
       
     | 
        sctypes = {'complex': [<type 'numpy.complex64'>, <type 'numpy....
     | 
  
    | 
       
     | 
        sign = <ufunc 'sign'>
     | 
  
    | 
       
     | 
        signbit = <ufunc 'signbit'>
     | 
  
    | 
       
     | 
        sin = <ufunc 'sin'>
     | 
  
    | 
       
     | 
        sinh = <ufunc 'sinh'>
     | 
  
    | 
       
     | 
        spacing = <ufunc 'spacing'>
     | 
  
    | 
       
     | 
        sqrt = <ufunc 'sqrt'>
     | 
  
    | 
       
     | 
        square = <ufunc 'square'>
     | 
  
    | 
       
     | 
        subtract = <ufunc 'subtract'>
     | 
  
    | 
       
     | 
        tan = <ufunc 'tan'>
     | 
  
    | 
       
     | 
        tanh = <ufunc 'tanh'>
     | 
  
    | 
       
     | 
        true_divide = <ufunc 'true_divide'>
     | 
  
    | 
       
     | 
        trunc = <ufunc 'trunc'>
     | 
  
    | 
       
     | 
        typeDict = {0: <type 'numpy.bool_'>, 1: <type 'numpy.int8'>, 2...
     | 
  
    | 
       
     | 
        typeNA = {'?': 'Bool', 'B': 'UInt8', 'Bool': <type 'numpy.bool...
     | 
  
    | 
       
     | 
        typecodes = {'All': '?bhilqpBHILQPefdgFDGSUVOMm', 'AllFloat': ...
     |