I have test it using get-video-duration which works fine for me. Notice get-video-duration require ffprobe, and video-length require mediainfo. If you are using linux, you can use apt or yum to install the respective tools. Can you be more specific on which os you are using, and what is the error message when you fail to run the library's example?