Length of video using `libvideo-decoder`
codeAC29 opened this issue · 2 comments
codeAC29 commented
What can be a possible reason to get nil
value for length of a video after calling libvideo-decoder
like this?
jhjin commented
Some of videos do not have their length in the header. I guess also videos in streaming format can have no length in the header.
mvitez commented
Video-decoder did not return the total number of frames, because this information was not present. It can be calculated, though, if the video length and fps are present, which is true in your case. I have committed a new version with this fix.