Page 1 of 1

Video file dates are always 1-1-1970, and sometimes mp4 is corrupt

Posted: Thu Jun 28, 2018 5:08 pm
by AYankInSussex
When my Windows computer imports videos taken by my H501SS the file dates are almost always 1-1-1970, with the file times being sometime after midnite. For instance, the time in one of my videos taken yesterday was 12:14 AM, or in other words, the video button was pushed 14 minutes after the drone was powered up.

Except for two videos taken today, which had no date/time of creation, and were unreadable. Which was very annoying as I was putting the drone through its paces and was hoping to post some of its antics here.

As a software developer I happen to know that 1-1-1970 00:00 is the default date/time in some computer systems (rather primitive ones, I am sorry to say), and unless a chip (such as an EEPROM, NVPROM or flash memory) in a system holds certain data such as the date/time between power-ups, one has to reset the date and time each time you start it up. Since the H501SS is not holding a date/time in memory, I am assuming that it must not have any non-volatile memory, or there is something wrong with my drone's system. So how do you set the correct date and time on this drone? And is it truly not possible to maintain date and time?

I don't know why the two videos taken today are unreadable, but compared with the other videos I've made so far, these two were over 1 GB in size, whereas all the others were less than 1 GB. Is that a factor?

Also, the file names are rather odd. They come out like this: hubsan_record_197011_8140.mp4. Obviously, the 1-1-1970 is being encoded in the file name -- but the usual way to do this would be to supply leading zeroes for numerals less than 10, e.g. hubsan_record_19700101_8140.mp4. So they're all like this, "hubsan_record_197011_xxxx", with the last four digits seeming to be a randomly-generated four digit number.

I would have expected an item of modern electronics like this to have modern firmware characteristics, so this is very surprising.

Re: Video file dates are always 1-1-1970, and sometimes mp4 is corrupt

Posted: Thu Jun 28, 2018 10:56 pm
by Hubsan-Ailsa
Sorry there can't change the dates for the H501S at present.

Re: Video file dates are always 1-1-1970, and sometimes mp4 is corrupt

Posted: Fri Jun 29, 2018 3:25 am
by AYankInSussex
Hubsan-Ailsa wrote:
Thu Jun 28, 2018 10:56 pm
Sorry there can't change the dates for the H501S at present.
Again, surprising. What about the data corruption?

I should also point out that when I plug the memory into my PC, Windows always reports that there is something wrong with it, and wants to scan and fix it. Usually I let it do so, and no problem. I don't know if the scan and fix caused the data corruption I mentioned in my original post, but I doubt it, since it's happened every time. Here's the message:
ScanAndFix.png
ScanAndFix.png (14.79 KiB) Viewed 9538 times

Re: Video file dates are always 1-1-1970, and sometimes mp4 is corrupt

Posted: Mon Jul 16, 2018 9:13 am
by TonyBexhill
Hi, did you finally get to fix the corrupt files problem? I seem to be having the same problems occasionally. New user so any help would be appreciated,East Sussex here.

Re: Video file dates are always 1-1-1970, and sometimes mp4 is corrupt

Posted: Mon Jul 16, 2018 10:09 am
by Knimrod
If the drone does not have a real time clock (it doesn't), how would it know what to date/timestamp the video files? I always rename my video files when transferring to indicate correct date.

Re: Video file dates are always 1-1-1970, and sometimes mp4 is corrupt

Posted: Mon Jul 16, 2018 6:02 pm
by Hubsan-Anne
Try reformatting with a GoPro, or a Windows computer with the following tutorial: https://www.facebook.com/hubsan001/posts/1785092691795746