code: def test_fiftyone_dataset_with_filtered_video(basedir):
      dataset = foz.load_zoo_dataset("quickstart-video").clone()
  
      view = dataset.filter_labels(
          "frames.detections", F("label") == "vehicle"
      )
  
      export_dir = os.path.join(basedir, "fiftyone-dataset-video")
  
      view.export(
          export_dir=export_dir, dataset_type=fo.types.FiftyOneDataset
      )
      dataset2 = fo.Dataset.from_dir(
          dataset_dir=export_dir, dataset_type=fo.types.FiftyOneDataset
      )
  
      print(view)
      print(view.count_values("frames.detections.detections.label"))
  
      print(dataset2)
      print(dataset2.count_values("frames.detections.detections.label"))
  
imports: import random
  import os
  import numpy
  import pytest
  import eta.core.utils
  import fiftyone
  import fiftyone.utils.image
  import fiftyone.brain
  import fiftyone.zoo
  from fiftyone import ViewField
label_desc: Use image node_id 23 for calling a global function with example usage: test_fiftyone_dataset_with_filtered_video(basedir) without return types