Return number of frames in another case
Return number of frames in another case

If the total number of frames in the video is not present
in the stream structure, calculate it from total video length
divided by fps, if these two are present

e-lab/torch-toolbox,e-lab/torch-toolbox,e-lab/torch-toolbox