hiktools icon indicating copy to clipboard operation
hiktools copied to clipboard

Can't read 80 bytes for segment index

Open thehiddenbit opened this issue 6 years ago • 1 comments

At first, thank you for your work and saving my time. :)

I have an issue while using your tool. Maybe the video records are corrupt, that's why I got the following error.

File name: /tmp/hikvideo_2018-11-03_19.57.59_to_15.30.35.mp4
File size: 4227858171 bytes
Play time: 4294967252 sec
error: logger.main - Can't read 80 bytes for segment index

I am not sure the data structure allows skipping bad/corrupt parts, but if possible, that would be a nice feature.

thehiddenbit avatar Dec 12 '18 11:12 thehiddenbit

I can confirm it. Most likely the format of index00.bin file changed. Let's hope @aloz77 can fix it.

rumly111 avatar Dec 12 '21 01:12 rumly111