Problem with frames

After training, when I try to create a video, the duration of the video becomes short.
Is there way to fix the frame number manually?

you can pass the desired fps to the function, please see the docstring by typing
deeplabcut.analyze_videos? in ipython. There are tons of options :slight_smile:

Duration of video [s]: 1504.89 , recorded with 28.47 fps!
Overall # of frames: 42851 found with (before cropping) frame dimensions: 640 480
Starting to extract posture
26%|██████████████████████████████████████████████████ | 11128/42851 [05:20<15:51, 33.33it/s]Detected frames: 10710
26%|██████████████████████████████████████████████████ | 11128/42851 [05:21<15:15, 34.64it/s]
Saving results in C:\Users…\Desktop…
The videos are analyzed. Now your research can truly start!
You can create labeled videos with ‘create_labeled_video’.
If the tracking is not satisfactory for some videos, consider expanding the training set. You can use the function ‘extract_outlier_frames’ to extract any outlier frames!

I don’t know why the number of actual video frame and the detected frames is different here.

(OS Window 10 64 bit, Python 3.7.7, used GPU)

Thank you so much for your help by the way!