r/RedCamera • • 10d ago

Redcode Deepdive

So this post is more on the information side of things. Since "unlocking" any redcode i've tested a lot and found the boundarys. First some "new" facts. Redcode wavelet isnt 5:1, 6:1 or 7:1. Its more like 5,00:1 or 6,00:1. The menu only offers whole numbers but the compression itself can be 3,1:1 or 4,75:1, works fine.

I guess DSMC2 cam uses the same sata controller and weve benchmarked it. On a quick one around 495mb/s write and 503mb/s read, but note those are mib not mb, so its really more like 520. You can also write a testfile of the size you choose with media test_write /test 8000000 500. That showed around 465mb/s write and it stays there over the whole file. Same number on 2 different ssds, so its the cam, not the drive.

Using the following command in shell you can see what rate the cam wants:

media estimated_record_rate

8K FF 3:1 at 23.98 shows 475 but that number is mib again, in reality you need around 486mb/s. Problem is we only have about 465-470, so you are short 10-18mb/s. Thats where the buffer jumps in, and the buffer is around 660mb. 660 divided by 10-18 is roughly 40-60 seconds of recording that works fine, and after that it starts dropping frames. I had a 55 second take at 3:1 with 0 drops, which is exactly this, and takes of 90 seconds or more lost 1-1,5% every single time, same settings. You see nothing while filming, exept the count on frame drop. The frames are missing in the recorded .r3d.

So the rule is: anything under about a minute at 3:1 is fine, everything longer is not. And 2:1 gives you nothing here anyway, since over 700mb/s are needed.

But as i told you, only whole numbers are chooseable but 3,XX:1 is possible to set. We can finetune the redcode to match the SSD speed. The following command works: debug sendMsg RECORD_MSG_SET_REDCODE_TARGET 320 (3,2:1 in this case). After that estimated_record_rate must read 445,9, otherwise it didnt take. Its gone after reboot and the cam puts 3:1 back on its own when it starts, so type it again every day. Also dont trust what the clip says in the metadata, that only shows the menu entry you clicked last, not what it really recorded.

Thats no deficit at all, so it never drops, no matter how long you record. Results roughly:

8K FF: 23.98: 3,2:1 60FPS: 8:1 25FPS HDRX: 6,5:1

So instead of 12:1 at 60fps at 8K you now get a far more useable 8:1. I also tried 3,1:1. That needs 470mb/s at full complexity, which is exactly the speed we have, so it works or it doesn't depending on what you film, i would not trust it on a long take. 3,2:1 is the one that cant fail no matter what is in front of the lens.

Lets now compare that to VRaptor. 8K HQ 3:1 at 23.98 with DCT redcode needs roughly 400mb/s. But that doesn't match DSMC2 3:1, its more like 5:1 ish. So 130mb/s more just to get the same quality. Ofc with 465mb/s continuous ON DSMC2, that quality isn't possible on DSMC3.

15 Upvotes

10 comments sorted by

1

u/steadystu 10d ago

I don't understand the lingo haha so are you saying dsmc2 has better quality?

2

u/MCCmp_DEV 9d ago

In terms of redcode compression at 0-30fps, yes. If the sensor matches VRaptor/X, yes DSMC2 got better quality by having same data rates.

1

u/blandondarsh 8d ago

he's saying he is finding the limits of the hardware controller for the drives, so that he can push the recording quality as high as possible before the card cant keep up.

1

u/BadlyDrawnChewie 5d ago

Does this mean that a Nexamag that has faster read speeds than the original minimag might actually be able to handle even lower compression?

2

u/MCCmp_DEV 5d ago

Yes, does mean exactly that.

1

u/BadlyDrawnChewie 5d ago

Well, that really is exciting!

3

u/MCCmp_DEV 5d ago

Having 8:1 at 8k 60fps instead of 12:1 is a big difference. But there is more hehe so stay tuned.

3

u/blandondarsh 8d ago

Honestly, finding those bottlenecks is huge for everything. Thanks for pushing things forward!

1

u/rados_a51 10d ago

🔥🔥🔥

0

u/chadhindsley 8d ago

Can they eventually find a way to hack red Komodo OG to do 4K full sensor?