Answer the question
In order to leave comments, you need to log in
How to get video length using fs module?
How to get video length using fs module?
Answer the question
In order to leave comments, you need to log in
The file size can be obtained withfs.stat
Если же нужна именно длина видео в секундах, то модуль fs тут ничем не поможет, но можно воспользоваться ffmpeg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question