cirquit / trdrop

trdrop - a raw video analysis program
MIT License
381 stars 33 forks source link

Export does not start from the start of the video #54

Closed shinbojan closed 3 years ago

shinbojan commented 4 years ago

This problem happens pretty often when analyzing longer videos (50-100+ gb). For example, if the video is 29 minutes long, it will export the images from the 4th minute. When I merge the images, I can see that the video is 26 minutes long instead of 29 minutes as expected.

It does not happen with smaller videos, it seems.

cirquit commented 3 years ago

Hm, interesting. I'm kind of dependent on OpenCV to iterate through the frames. I'll check it out when I find the time. Have you checked it with different kinds of videos by any chance? Could you also please share any meta-data such as the recording device and its settings for the raw video?

cirquit commented 3 years ago

So I checked how I export the image sequence and I didn't see anything obvious. Have you checked that you import the image sequence with the correct frametime (the same as it was recorded)?