Create labeled video uses wrong FPS hence wrong duration
Your Operating system and DeepLabCut version
Linux Mint 19.1, Anaconda, DeepLabCut 2.1.1
Describe the problem
The fps of the video is wrongly calculated (or read) as 1000 fps. So even if the real number of frames is correctly meassured: 18038, when create_labeled_video calculates duration as nframes/fps it gets a duration of 18.4 seconds.
Starting % /media/augustoer/P aescalante/Behavoir/6-12-2017 ['/media/augustoer/P aescalante/Behavoir/6-12-2017/18349(Right)18351(Left).wmv'] Loading /media/augustoer/P aescalante/Behavoir/6-12-2017/18349(Right)18351(Left).wmv and data. 604783 Duration of video [s]: 18.04 , recorded with 1000.0 fps! Overall # of frames: 18038 with cropped frame dimensions: 640 360 Generating frames and creating video. 100%|████████████████████████████████████| 18038/18038 [02:47<00:00, 107.77it/s]
The video is created with 18.4 seconds of duration even if the real video (recorded at 30 fps) is 10 minutes long.
I tried setting outputframerate=30 but the result was the same.
Any idea how to solve this?
Thanks!
A