D
D
deadkEEper12016-05-16 14:13:19
Node.js
deadkEEper1, 2016-05-16 14:13:19

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

1 answer(s)
D
Dmitry Belyaev, 2016-05-16
@bingo347 Куратор тега Node.js

The file size can be obtained withfs.stat
Если же нужна именно длина видео в секундах, то модуль fs тут ничем не поможет, но можно воспользоваться ffmpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question