Best Xiaomi Yi Script better than GoPro (2K with 30fps at 25Mb/s)

DaalemanD

New Member
Joined
Feb 6, 2016
Messages
3
Reaction score
2
Country
Netherlands
After experimenting with scripts for the Xiaomi Yi i finally succeded in creating the best possible footage from the Xiaomi Yi. Below a demo video. Because of youtubes compression it doesn't look as good as the RAW footage. Camera model is Z23L with stock firmware 1.2.12. I did the lens focus mod and the mic mod.


Filmed at 2K with 30fps and 25Mb/s bitrate.
No post processing done just the raw footage.

Intro download link: https://mega.nz/#!cMZWkSrY!RV8WNYAxOm...

Xiaomi Yi Settings:
Video quality: High
Video standard: NTSC
Auto low light: On
Adjust lens distortion: Off
Metering mode: Average metering

The script only works on firmware 1.2.12 !!!

Feel free to use this script. Create a text file in the root of your SD card called autoexec.ash and add the following lines:
#vibrance/saturation adjustments
t ia2 -adj ev 0 0 145 0 0 180 0

#shadow/highlight clipping adjustments
t ia2 -adj ae 90
t ia2 -adj autoknee 50

#set gamma level
t ia2 -adj gamma 10
#enable 14 scene mode
t cal -sc 14

#t ia2 -adj tidx [ev_idx][nf_idx][shutter_idx]", "-1 disable"
#looks like the values are between 0-16383 (0x0000-0x3FFF)
#set noise reduction value to 500
t ia2 -adj tidx -1 500 -1

#Set 2304x1296 bitrate to 25Mbps
writew 0xC05C1EB2 0x41C8
# set file size to 4GB
writew 0xC03A8620 0x2004
 
looks really good!
which settings may be incompatible with fw1.2.13? (except resolution and bitrate)
 
Thanks!
Only the resolution and the bitrate aren't working on 1.2.13 but if you change that you can get it to work. The rest should work. (Haven't tested it jet.)
 
Have you changed the focus on the camera? The bike is very sharp but I think the surroundings could be sharper.
 
Thanks!
Only the resolution and the bitrate aren't working on 1.2.13 but if you change that you can get it to work. The rest should work. (Haven't tested it jet.)

they work ;) i am using a Z23L on 1.2.13 with 2K@30fps with 30mbps bitrate.
 
Great!! Would you mind posting it here?
 
just add

#VIDEO MODE 0x02
#2304x1296 30P 16:9
#
#default resolution
writel 0xC05C2CB4 0x05100900
#30mbps bitrate
writew 0xC05C1EB2 0x41F0

to autoexec.ash

don't know if rest of script works, just recognized a multi colored grainy video but its dark a lot here and had still same without your script so its probably because of that.

But theres no average metering option in 1.2.13, just centered, matrix and spot so maybe results could differ a bit on 1.2.13.

btw, 2K resolution came natively with 1.2.13, so not really needed anymore to access by script, but i leave it inside
 
great looking footage mate! what would be maximum framerate, bitrate, resolution for 4:3 recording?
 
just add

#VIDEO MODE 0x02
#2304x1296 30P 16:9
#
#default resolution
writel 0xC05C2CB4 0x05100900
#30mbps bitrate
writew 0xC05C1EB2 0x41F0

to autoexec.ash

don't know if rest of script works, just recognized a multi colored grainy video but its dark a lot here and had still same without your script so its probably because of that.

But theres no average metering option in 1.2.13, just centered, matrix and spot so maybe results could differ a bit on 1.2.13.

btw, 2K resolution came natively with 1.2.13, so not really needed anymore to access by script, but i leave it inside

I have tried this (and several other autoexec.ash) but nothing changes :-(
I have a 22L Yi version.
What am I doing wrong?
 
Last edited:
Back
Top