Firmware Patch v1.0

All things embedded.
*NO FEATURE REQUESTS*

Re: Firmware Patch v1.0

Postby stuge » Mon Apr 02, 2012 12:02 am

matt wrote:I was, however, under the impression that writing files in an operating system built on 32-bit address space would run into a limit. But I guess the address translation idea solves that. I don't know. To be honest, I don't think I understand the whole concept properly.

The key point is that the CPU will only be appending small pieces of new data (frames) to whatever is already in the file. So the CPU doesn't ever deal with the full file contents. The filesystem layer will need to deal with >4G size, but not with the data itself. Doing >32-bit math on a 32-bit machine is no problem, it's only dealing with the entire contents that would be problematic. And since the camera just appends a couple of frames at the time, there's no problem.

For example, I know that the 4GB limit is inherent to FAT32, so he problem was solved with filesystems like NTFS and exFAT. But from the things I've read so far (I tried looking into this a few months ago) the cameras currently capable of using exFAT cards still cannot write files over 4GB. Several people pointed to OS limitations as a reason for that.

I really think I am missing something. Can anyone point me in the right direction here? Should popping an exFAT card in your camera inherently allow you to create files over 4GB?

In an ideal world, yes it should. But programmers very rarely if ever create ideal software, so in practise even if a lower layer (the exFAT filesystem) in theory would be capable of extended features, it's 1. not neccessarily implemented, and 2. not neccessarily the case that higher layers (writing video files) are able to take advantage of such features even if they were to exist. All software must be written to explicitly support any functionality that should be offered.

On a tangential note I see that Microsoft holds patents on exFAT, which is quite bad for interoperability between cameras and open source systems in particular. Of course since Windows and Mac OS X both support exFAT "nobody" cares about that.
stuge
 
Posts: 77
Joined: Fri Feb 03, 2012 3:00 am
Been thanked: 0 time

Re: Firmware Patch v1.0

Postby matt » Mon Apr 02, 2012 2:10 am

stuge wrote:But programmers very rarely if ever create ideal software


So true. I would know - I am one :grin:
matt
 
Posts: 27
Joined: Mon Feb 27, 2012 1:54 am
Location: Australia
Been thanked: 3 times

Re: Firmware Patch v1.0

Postby SmartCreatePhoto » Mon Apr 02, 2012 7:40 am

Thank you for the patch, working great here at work. Will play with it more when I get home.
SmartCreatePhoto
 
Posts: 7
Joined: Thu Mar 22, 2012 11:16 am
Been thanked: 0 time

Re: Firmware Patch v1.0

Postby rhithyn » Mon Apr 02, 2012 10:02 am

I've just been doing some testing with this update on my D5100... started recording 1920x1080@24, High quality and got 24 minutes of recording.

I'm now endurance testing in a 640x480@30 normal and noticed the video countdown has been reading 59m??s for the past 20 minutes... It counts down 59m03s... 59m00s... 59m59s... etc. I presume the 59 minute limit isn't a recording or storage limit but a display counter limit for video recording... We'll see how long it goes before the sensor stops or we run out of card space, or maybe even starts counting down.

- rhithyn
rhithyn
 
Posts: 3
Joined: Mon Apr 02, 2012 9:52 am
Been thanked: 0 time

Re: Firmware Patch v1.0

Postby Simeon » Mon Apr 02, 2012 10:55 am

rhithyn wrote:I've just been doing some testing with this update on my D5100... started recording 1920x1080@24, High quality and got 24 minutes of recording.

I'm now endurance testing in a 640x480@30 normal and noticed the video countdown has been reading 59m??s for the past 20 minutes... It counts down 59m03s... 59m00s... 59m59s... etc. I presume the 59 minute limit isn't a recording or storage limit but a display counter limit for video recording... We'll see how long it goes before the sensor stops or we run out of card space, or maybe even starts counting down.

- rhithyn


Magic, I assumed it should be longer than 59 minutes, now I can go hunting for this display limit, and at least pop it up to 99 minutes. From my guess it should give you just under 2 hours. as the bit is ~4mbps verse ~17mbps for 1080p HQ
Simeon
Core Developer
 
Posts: 2573
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 604 times

Re: Firmware Patch v1.0

Postby Simeon » Mon Apr 02, 2012 10:57 am

D7000 owners, I have a patch ready that applies the same fix (to firmware 1.03), just awaiting an alpha tester to try it. Email me directly (or PM me)
Simeon
Core Developer
 
Posts: 2573
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 604 times

Re: Firmware Patch v1.0

Postby Simeon » Mon Apr 02, 2012 2:01 pm

D7000 patch tested, so will release v1.2 in a moment.
Simeon
Core Developer
 
Posts: 2573
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 604 times

Re: Firmware Patch v1.0

Postby rhithyn » Mon Apr 02, 2012 6:57 pm

Alright, my results from the testing:

- 1920x1080@24fps, HQ, recorded for 24 minutes 18 seconds, 3.57 GB file size.
- 640x480@30fps, NQ, recorded for 54 minutes and 4 seconds, 2.25 GB file size. Camera stopped recording with a low battery warning.

It looks like the patch does the job, limit is now file size and battery size. Thanks folks! I'm looking forward to more updates!

- rhithyn
rhithyn
 
Posts: 3
Joined: Mon Apr 02, 2012 9:52 am
Been thanked: 0 time

Re: Firmware Patch v1.0

Postby Simeon » Tue Apr 03, 2012 6:14 am

rhithyn wrote:Alright, my results from the testing:


Thanks for the results, what model camera are you using?
Simeon
Core Developer
 
Posts: 2573
Joined: Wed Nov 30, 2011 6:12 am
Location: Christchurch, New Zealand
Been thanked: 604 times

Re: Firmware Patch v1.0

Postby Dionysus » Tue Apr 03, 2012 8:58 pm

Simeon wrote:Magic, I assumed it should be longer than 59 minutes, now I can go hunting for this display limit, and at least pop it up to 99 minutes. From my guess it should give you just under 2 hours. as the bit is ~4mbps verse ~17mbps for 1080p HQ


Hi Simeon,

To give you some credit and put aside FAT32 limitations and low quality work-arounds, here is the longest HD video you can record thanks to your patch:
Camera: D5100
Movie settings: 720p 24 frames/sec, normal quality
Exposure: lens off, 1/1000s, ISO 100, manual mode
Power: AC adapter
Total video time: 76 minutes
Total video size: 3,650MB

The tricky 59-minute looped countdown lasted for seventeen minutes (stopwatched) followed by another 59 minutes of "real" countdown.
Repeated the recording, but this time stopped right after the countdown hit the "real" 58 minute mark and got a file size of 805 megabytes.
I turned the screen brightness to -3 and had a fan pointed against it the whole time. At the end after taking out the power adapter, camera guts were warm to the touch but not too hot.
These times seem to line up well with the bitrate specified in the Nikon D800 manual:
moviesett.png
D800 manual
moviesett.png (45.89 KiB) Viewed 3661 times


Good stuff, I have nothing against an hour and fifteen minutes of non stop HD if needed! :character-beavisbutthead:

regards,
Martin
Dionysus
 
Posts: 30
Joined: Thu Dec 22, 2011 10:10 am
Been thanked: 0 time

PreviousNext

Return to Firmware

Who is online

Users browsing this forum: No registered users and 2 guests