DNA
DNA15mo ago

Get length of video (stream. m3u8)

In deno/typescript, how can i get the length of a specific video stream (m3u8)?
2 Replies
guest271314
guest27131415mo ago
You can fetch the .m3u8 file, find the specificvariant you are looking for then fetch the file, pass the file to a media statistics or information program to get the playback length of the file.
DNA
DNA14mo ago
Actually, i found a method involving ffprobe, thanks anyway