Get length of video (stream. m3u8)
In deno/typescript, how can i get the length of a specific video stream (m3u8)?
2 Replies
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.
Actually, i found a method involving ffprobe, thanks anyway