code: def test_ffmpeg_parse_infos_chapters():
      """Check that `ffmpeg_parse_infos` can parse chapters with their metadata."""
      d = ffmpeg_parse_infos("media/sintel_with_14_chapters.mp4")
  
      chapters = d["inputs"][0]["chapters"]
  
      num_chapters_expected = 14
  
      assert len(chapters) == num_chapters_expected
      for num in range(0, len(chapters)):
          assert chapters[num]["chapter_number"] == num
          assert chapters[num]["end"] == (num + 1) / 10
          assert chapters[num]["start"] == num / 10
          assert chapters[num]["metadata"]["title"]
          assert isinstance(chapters[num]["metadata"]["title"], str)
  
imports: import os
  import subprocess
  import time
  import numpy
  import pytest
  from moviepy.audio.AudioClip import AudioClip
  from moviepy.config import FFMPEG_BINARY
  from moviepy.video.compositing.CompositeVideoClip import clips_array
  from moviepy.video.io.ffmpeg_reader import FFMPEG_VideoReader, FFmpegInfosParser, ffmpeg_parse_infos
  from moviepy.video.io.VideoFileClip import VideoFileClip
  from moviepy.video.VideoClip import BitmapClip, ColorClip
label_desc: Use image node_id 6 for calling a global function with example usage: test_ffmpeg_parse_infos_chapters() without return types