YiMAX-PRO script.

Went out today to do some testing, so here's a quick comparison.

The stock Yi is on the left, with YiMAX on the right (1920x1080, 24fps, 50mbps). There's a lot of aliasing and halos in fine details on the stock Yi, although YouTube's compression seems to reduce the issue a little compared to the original file. No problem with YiMAX.


Yes, I did feel like an idiot walking around with this all day. :D

13707781_1163375623705661_1734490101296419344_n.jpg
 
Last edited:
It makes my Yi reboot , while trying to take a couple of pictures repatedly. Any ideas why it might be happening? I though maybe my sd card was not fast enough to handle raw files, deleted the raw line. It is better but still reboots after 5-6 images.

Edit: Plus, some of the images have quite yellow tint than previous ones. Really yellow a lot.
 
It makes my Yi reboot , while trying to take a couple of pictures repatedly. Any ideas why it might be happening?
Yes. YiMAX-PRO script is for video, not photo.
 
Yes. YiMAX-PRO script is for video, not photo.
Oh, it makes sense. Thanks for the answer. I thought the comparison images are actually images. Did not realised they are snaps from videos. Thanks again!
 
Yes, its sharper, but at the same time more noise at darker parts of the image.
Would be good this watercolor effect only at dark parts of the frame, and no effect where the light is enough :)

Does this script improve 1080/60 quality too?
Can somebody make a compare test in this mode? 30p is much much better, but i read 1080/60p
is an upscale from 720p, so sharpness will never be as good as with gopro3.

thx!
 
Thx but currently i don't have my yi's in my hand.
Anybody can test it?
 
Hey nutsey, one question. I found out that the bug of XIMODE by splitting the files is related to the resolution settings.
By applying your resolutions settings of Yimax-pro to all the other scripts:
Code:
writeb 0xC06CC426 0x02
writeb 0xC05C1EAC 0x05
writew 0xC05C1EB2 0x4220
writel 0xC05C1EB4 0x3f400000
writel 0xC05C1EB8 0x3fa00000
The file splitting dissapeared.
I know what the writew 0xC05C1EB2 0x4220 is for applying 40Mbits.
But what are the others for? And where can i find a documentation about it? If there is none, can you share your documentation/sources about it?

Thanks for your help!
 
Hi!
Is there a 2.5K version of this script? If not how can I make it or what should i change in the files?
 
I found out that the bug of XIMODE by splitting the files
What do you mean for "splitting files"? Recording a short one and then another one with lower bitrate?

But what are the others for?
Those are exactly like I described in comments for the script:
"#Set 1296p30 video mode,
ABR,
40Mbps,
.75 -
1.25 bitrate range:"

And where can i find a documentation about it? If there is none, can you share your documentation/sources about it?
There are no specific docs at the moment yet. I'm not getting any profit from Xiaomi Yi studies, so maybe I will post all of my research results one day.
 
The videos are somehow splitting after several seconds and the second video has 26Mbits.
what do you mean with
ABR
.75-
1.25 bitrate range?
(Still need to learn a lot of things ;) )

Yeah, know the drill, but thanks for your work!
 
writeb 0xC06CC426 0x02 - this one sets 1296p30
writeb 0xC05C1EAC 0x05 - this one sets CBR2 bitrate mode (it works like ABR so I called it so in the script)
writew 0xC05C1EB2 0x4220 - 40 Mbps
writel 0xC05C1EB4 0x3f400000 - low bitrate limit for ABR
writel 0xC05C1EB8 0x3fa00000 - high bitrate limit for ABR
By your explanation in my thread, does that mean the CBR2 and ABR compression does apply generally for every video mode, or only for this 1296p30 one?
Because I want to apply those compressions with using only the bitrate commands and the compression. So the user still has the ability to change resolution...
F.ex., would this work?

Code:
#+++++++++ BITRATE AND RESOLUTION ++++++++++

#2304x1296p30     35Mbit
writew 0xC05C1EB2 0x420C

#1080p60         35Mbit
writew 0xC05C1EE2 0x420C

#1080p48         35Mbit
writew 0xC05C2452 0x420C

#1080p30         35Mbit
writew 0xC05C1F72 0x420C

#1080p24         35Mbit
writew 0xC05C2492 0x420C

#1200p60        35Mbit
writew 0xC05C2092 0x420C

#720p120         35Mbit
writew 0xC05C2812 0x41F0

#- low bitrate limit for ABR
writel 0xC05C1EB4 0x3f400000 
# - high bitrate limit for ABR
writel 0xC05C1EB8 0x3fa00000
#- this one sets CBR2 bitrate mode (it works like ABR so I called it so in the script)
writeb 0xC05C1EAC 0x05
 
Each bitrate mode value is linked to certain resolution. Use appropriate offset shift for any of them.
 
Okay, would this be correct? Or how do you continue?

Code:
#+++++++++ BITRATE AND RESOLUTION ++++++++++

#2304x1296p30     35Mbit
writew 0xC05C1EB2 0x420C
writel 0xC05C1EB4 0x3f400000
writel 0xC05C1EB8 0x3fa00000
writeb 0xC05C1EAC 0x05

#1080p60         35Mbit
writew 0xC05C1EE2 0x420C
writel 0xC05C1EE4 0x3f400000
writel 0xC05C1EE8 0x3fa00000
writeb 0xC05C1EEC 0x05

#1080p48         35Mbit
writew 0xC05C2452 0x420C
writel 0xC05C2454 0x3f400000
writel 0xC05C2458 0x3fa00000
writeb 0xC05C245C 0x05
...
 
writeb 0xC05C1EDC 0x05

for 1080p60
 
Where can I find those for writeb?
 
Great job :)

#Set 1080p60 video mode, ABR, 40Mbps, .75 - 1.25 bitrate range:
writeb 0xC06CC426 0x03
writeb 0xC05C1EDC 0x05
writew 0xC05C1EE2 0x4220
writel 0xC05C1EE4 0x3f400000
writel 0xC05C1EE8 0x3fa00000

Please settings for:
- 1080p30 40Mbps
- 1080p30 35Mbps
 
The script is great but the beep sound is to low for me. I dont know when the cam is ready ;)
Is there any option to increse the volume of the beep?
 
Back
Top