This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import subprocess | |
import sys | |
import tempfile | |
def get_chapter_list(video_file: str) -> list[dict[str, str | float]]: | |
""" | |
Extracts chapter information from a video file. |