def each
      if block_given?
        temp = Tempfile.new 'frames', binmode: true
        frames_data_as_io(temp, Proc.new)
        overwrite temp
        temp.close!
      else
        self.enum_for :each
      end
    end
def each
      if block_given?
        temp = Tempfile.new 'frames', binmode: true
        frames_data_as_io(temp, Proc.new)
        overwrite temp
        temp.close!
      else
        self.enum_for :each
      end
    end
Creates a new AviGlitch::Frames object.

 Enumerates the frames.
 It returns Enumerator if a block is not given.