code: def test_change_video_speed(self):
      md = {
          "name": "overlay_text",
          "src_duration": 58.591925,
          "dst_duration": 58.591925,
          "src_fps": 29.952932801822325,
          "dst_fps": 29.95293280069612,
          "src_width": 640,
          "src_height": 352,
          "dst_width": 640,
          "dst_height": 352,
          "src_segments": [
              {"start": 0.0, "end": 14.492321571512164},
              {"start": 23.479556369432764, "end": 37.97187794094493},
          ],
          "dst_segments": [
              {"start": 8.791720999383276, "end": 23.284042570895444},
              {"start": 23.284042570895444, "end": 37.7763641424076},
          ],
          "text_len": 12,
          "text_change_nth": None,
          "fonts": [
              (
                  os.path.join(
                      ASSETS_BASE_DIR,
                      "similarity/media_assets/fonts/cac_champagne.ttf",
                  ),
                  os.path.join(
                      ASSETS_BASE_DIR,
                      "similarity/media_assets/fonts/cac_champagne.pkl",
                  ),
              )
          ],
          "fontscales": [0.2973747861954241, 0.5916911269561087],
          "colors": [(238, 166, 244)],
          "thickness": None,
          "random_movement": False,
          "topleft": [0.09272467655824976, 0.5098042791327592],
          "bottomright": [0.8126272414865852, 0.7849615824118924],
          "kwargs": {},
          "intensity": 0.1980864483894119,
      }
  
      new_src_segments, new_dst_segments = helpers.compute_segments(
          "change_video_speed",
          src_duration=58.591925,
          dst_duration=40.563641,
          src_fps=29.9,
          dst_fps=29.9,
          metadata=[
              md,
          ],
          factor=1.44,
      )
  
      self.assert_equal_segment_lists(
          new_src_segments,
          [
              Segment(start=0.0, end=14.492321571512164),
              Segment(start=23.479556369432764, end=37.97187794094493),
          ],
      )
  
      self.assert_equal_segment_lists(
          new_dst_segments,
          [
              Segment(start=6.105361805127275, end=16.169474007566283),
              Segment(start=16.169474007566283, end=26.233586210005278),
          ],
      )
  
imports: import os
  import unittest
  from typing import List
  from unittest.mock import MagicMock, patch
  from augly.utils import Segment
  from augly.utils.base_paths import ASSETS_BASE_DIR
  from augly.video import helpers
  from augly.video.augmenters import ffmpeg
label_desc: Use image node_id 10 for calling the MetadataUnitTest obj's underlying member method code with example usage: obj.test_change_video_speed() without return types