class_docstr: Dataset importer that ingests labeled videos into the provided
  ``dataset_dir`` during import.
  
  The source videos and labels are parsed from the provided ``samples`` using
  the provided :class:`fiftyone.utils.data.parsers.LabeledVideoSampleParser`.
  
  The source videos are directly copied from their source locations into
  ``dataset_dir``, maintaining the original filenames, unless a name conflict
  would occur, in which case an index of the form ``"-%d" % count`` is
  appended to the base filename.
  
  Args:
      dataset_dir: the directory where input videos will be ingested into
      samples: an iterable of samples that can be parsed by ``sample_parser``
      sample_parser: an
          :class:`fiftyone.utils.data.parsers.LabeledVideoSampleParser` to
          use to parse the samples
      max_samples (None): a maximum number of samples to import. By default,
          all samples are imported
class_docstr_tok: ["Dataset","importer","that","ingests","labeled","videos","into","the","provided","``","dataset_dir","``","during","import",".","The","source","videos","and","labels","are","parsed","from","the","provided","``","samples","``","using","the","provided",":","class",":","`","fiftyone.utils.data.parsers.LabeledVideoSampleParser","`",".","The","source","videos","are","directly","copied","from","their","source","locations","into","``","dataset_dir","``",",","maintaining","the","original","filenames",",","unless","a","name","conflict","would","occur",",","in","which","case","an","index","of","the","form","``","``","-","%","d","''","%","count","``","is","appended","to","the","base","filename",".","Args",":","dataset_dir",":","the","directory","where","input","videos","will","be","ingested","into","samples",":","an","iterable","of","samples","that","can","be","parsed","by","``","sample_parser","``","sample_parser",":","an",":","class",":","`","fiftyone.utils.data.parsers.LabeledVideoSampleParser","`","to","use","to","parse","the","samples","max_samples","(","None",")",":","a","maximum","number","of","samples","to","import",".","By","default",",","all","samples","are","imported"]
code: def __iter__(self):
      self._num_imported = 0
      self._iter_samples = iter(self.samples)
      return self
  
imports: import logging
  import eta.core.utils
  import fiftyone
  import fiftyone.core.utils
  import fiftyone.utils.image
  from .importers import UnlabeledImageDatasetImporter, LabeledImageDatasetImporter, UnlabeledVideoDatasetImporter, LabeledVideoDatasetImporter
label_desc: Use image node_id 2 for calling the LabeledVideoDatasetIngestor obj's underlying member method code with example usage: obj.__iter__() and returns: self