File size: 337 Bytes
cf54850
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import annotations

from pathlib import Path

from src.services.media_utils import extract_audio_waveform, extract_video_frames


def extract_frames(video_path: str | Path, max_frames: int = 32):
    return extract_video_frames(video_path, max_frames=max_frames)


__all__ = ["extract_audio_waveform", "extract_frames"]