[Xiaomi Yi] Share your scripts and settings

how can i set this line for foto and video footages?
Someone an idea for what the values in the line, i mean 90 is for vibration and 140 for saturation but the other values i do not know.

#This script is for video mode!
t ia2 -adj ev 10 0 90 0 0 140 0

thanks
mfg
gente
 
1. #Set JPEG quality to 100
writeb 0xC0BC205B 0x64
the line is without function, i need an functioning adress!
2. i want to edit the config file from nutseynuts movie script to set to my satisfaction in filming and making fotos, because it is really near to my requirement.
I need no real movie effect, i need the video only the best average in sharpness and noise (i set the coring to 104), should i set "directional_sharpening.enable" to 1 (now it is 0 and disabled i mean). Also i want to reduce the plastic/watercolor effect in zooming (i mean main setting for that is "sharpening_fir.fir_strength" must be the value higher or lower?)
3. What can i do against loosing brightness in scenes against sun behind clouds in front of lens? My currently settings in script:
#shadow/highlight clipping adjustments
t ia2 -adj l_expo 163
t ia2 -adj autoknee 255
#set gamma level
t ia2 -adj gamma 180
Someone ideas setting the lines for best results?
Is that script and config file for videos and fotos?
Code:
#GoPrawn config by nutsey
system.user_mode Normal
system.tuning_mode IMG_MODE_VIDEO
system.tuning_mode_ext SINGLE_SHOT
#aaa_function.ae_op 1
#aaa_function.awb_op 1
#aaa_function.adj_op 1
static_bad_pixel_correction.enable 3
auto_bad_pixel_correction.enable 4
cfa_leakage_filter.enable 1
cfa_noise_filter.enable 0
#anti_aliasing.enable 1
chroma_median_filter.enable 1
chroma_median_filter.cb_strength 160
chroma_median_filter.cr_strength 128
demosaic.activity_thresh 3
demosaic.grad_noise_thresh 32
sharpening_fir.fir_strength 64
sharpening_coring.coring_table 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104 104
spatial_filter.mode 0
video_mctf.enable 1
chromatic_aberration_correction.enable 1
directional_sharpening.enable 0
chroma_filt.enable 0

mfg
gente
 
Last edited:
anyone can share the address for 1080p 25 fps at 30mbps
 
1. #Set JPEG quality to 100
writeb 0xC0BC205B 0x64
the line is without function, i need an functioning adress!
[/CODE]

mfg
gente
I have extracted all commands-like strings from actual fw 1.2.13:
https://github.com/PJanisio/Xiaomi_Yi_autoexec.ash/tree/master/!commands_extracted/1.2.13

And the jpeg quality should work on t commands as well:

Code:
t cal -jqlt 100

But with default settings i have photos with jpeg quality around 95% so i dont think this is very huge optimisation ;)
 
I have extracted all commands-like strings from actual fw 1.2.13:
https://github.com/PJanisio/Xiaomi_Yi_autoexec.ash/tree/master/!commands_extracted/1.2.13

And the jpeg quality should work on t commands as well:

Code:
t cal -jqlt 100

But with default settings i have photos with jpeg quality around 95% so i dont think this is very huge optimisation ;)

t cal command for jpg quality still doesn't work...as tested the jpg still within the average of 4mb which is the same filesize with default.
 
Well don`t expect that your jpeg file will grow to 10mb after, it will be slighlty bigger.
For better pictures shoot in RAW mode.


I have made some simple test with and without this t cal command.

Without JPEG quality = 94%
After autoexec = 98%

It is still not 100% but there can be other circumstances to not allow 100% quality for this particulat picture i have taken.
 
Well don`t expect that your jpeg file will grow to 10mb after, it will be slighlty bigger.
For better pictures shoot in RAW mode.


I have made some simple test with and without this t cal command.

Without JPEG quality = 94%
After autoexec = 98%

It is still not 100% but there can be other circumstances to not allow 100% quality for this particulat picture i have taken.

i'm not expecting the 10MB for jpeg...if the default is already in 95% (4MB)...and yes you are correct i was expecting slightly bigger like maybe 5-6MB? but the t cal still giving me aroung 4MB sometimes 3.8mb

by the way how did you validate your jpeg in terms of percentage quality?
 
i'm not expecting the 10MB for jpeg...if the default is already in 95% (4MB)...and yes you are correct i was expecting slightly bigger like maybe 5-6MB? but the t cal still giving me aroung 4MB sometimes 3.8mb

by the way how did you validate your jpeg in terms of percentage quality?

By this small program: http://www.mediachance.com/digicam/jpgq.htm
Trying to shoot the same picture.
 
Works for me.
Here is the direct download: http://www.mediachance.com/digicam/JpgQ.zip

by the way, have you ever tested this command? i don't get what is corresponding number to each scene mode listed:

t cal -sc [0|1|2|......]: set the scene mode.
-------- scene_mode : SCENE_PHOTO_FRAME, %3d -------
-------- scene_mode : SCENE_AUTO, %3d -------
-------- scene_mode : SCENE_OFF, %3d -------
-------- scene_mode : SCENE_FLASH, %3d -------
-------- scene_mode : SCENE_TV_OFF, %3d -------
-------- scene_mode : SCENE_AV_OFF, %3d -------
-------- scene_mode : SCENE_SV_OFF, %3d -------
-------- scene_mode : SCENE_TV_ONLY, %3d -------
-------- scene_mode : SCENE_AV_ONLY, %3d -------
-------- scene_mode : SCENE_SV_ONLY, %3d -------
-------- scene_mode : SCENE_NIGHT, %3d -------
-------- scene_mode : SCENE_NIGHT_PORTRAIT, %3d -------
-------- scene_mode : SCENE_SPORTS, %3d -------
-------- scene_mode : SCENE_LANDSCAPE, %3d -------
-------- scene_mode : SCENE_PORTRAIT, %3d -------
-------- scene_mode : SCENE_SUNSET, %3d -------
-------- scene_mode : SCENE_SAND_SNOW, %3d -..............
 
Nope. You can try.
I have tested digital effects, which are not working ( beeping loop from camera):

Code:
t cal -de [0|1|2|......]:

DIGITAL_SEPIA : %3d, DIGITAL_NEGATIVE : %3d
DIGITAL_BW : %3d, DIGITAL_VIVID : %3d
DIGITAL_70FILM : %3d, DIGITAL_PUNK : %3d
DIGITAL_POPART : %3d, DIGITAL_WEDDING : %3d
DIGITAL_PINHOLE : %3d
 
by the way, have you ever tested this command? i don't get what is corresponding number to each scene mode listed:

t cal -sc [0|1|2|......]: set the scene mode.
-------- scene_mode : SCENE_PHOTO_FRAME, %3d -------
-------- scene_mode : SCENE_AUTO, %3d -------
-------- scene_mode : SCENE_OFF, %3d -------
-------- scene_mode : SCENE_FLASH, %3d -------
-------- scene_mode : SCENE_TV_OFF, %3d -------
-------- scene_mode : SCENE_AV_OFF, %3d -------
-------- scene_mode : SCENE_SV_OFF, %3d -------
-------- scene_mode : SCENE_TV_ONLY, %3d -------
-------- scene_mode : SCENE_AV_ONLY, %3d -------
-------- scene_mode : SCENE_SV_ONLY, %3d -------
-------- scene_mode : SCENE_NIGHT, %3d -------
-------- scene_mode : SCENE_NIGHT_PORTRAIT, %3d -------
-------- scene_mode : SCENE_SPORTS, %3d -------
-------- scene_mode : SCENE_LANDSCAPE, %3d -------
-------- scene_mode : SCENE_PORTRAIT, %3d -------
-------- scene_mode : SCENE_SUNSET, %3d -------
-------- scene_mode : SCENE_SAND_SNOW, %3d -..............
this command that often appear in scripts and is set on number 14 now I know that refer to portrait scene... :)
 
I have extracted all commands-like strings from actual fw 1.2.13:
https://github.com/PJanisio/Xiaomi_Yi_autoexec.ash/tree/master/!commands_extracted/1.2.13

And the jpeg quality should work on t commands as well:

Code:
t cal -jqlt 100

But with default settings i have photos with jpeg quality around 95% so i dont think this is very huge optimisation ;)
...no effect taking this line to script, the quality and size of jpg footage is the same like without t cal command at 92-94%, tested with JpgQ. Also no effect setting quality extreme low to 20.
 
Set ISO Video Mode ? With "t ia2 -ae still_iso" script ? I tested and not functionaly or script incorrect...
 
Hi All,

I would use a script to lock the exposure values in timelaps photo and still image mode (video mode also if it is possible), and I would do that together with WB lock. Could you please help me with a script to do them?
Thanks in advance!
 
This file was generated when executing the t cal -raw 2 1 1. And you will see there's a line referring to jpg quality "system.jpg_quality 95". this line can be executed as a separate config file along with the autoexec? maybe like "t cal -ituner load d:\jpg.config" wherein the jpg.config contains the "system.jpg_quality 95". i have tried this but seems not working...or maybe i'm doing something wrong.

system.sdk_rev 1120M
system.chip_rev A7L
system.sensor_id
system.user_mode Normal
system.tuning_mode IMG_MODE_LOW_ISO_STILL
system.raw_path D:\DCIM\100MEDIA\YDXJ4233.RAW
system.raw_width 4608
system.raw_height 3456
system.raw_pitch 3904
system.raw_resolution 14
system.raw_bayer 0
system.main_width 4608
system.main_height 3456
system.tuning_mode_ext SINGLE_SHOT
system.extended_cfg_path
system.input_pic_cnt 1
system.compressed_raw 1
system.need_stat 0
system.invalid_rows_top 0
system.invalid_cols_left 0
system.vin_valid_w 0
system.vin_valid_h 0
system.jpg_quality 95
system.dump_bmp 0
system.en_r2r_batch 0
system.en_r2r_resample 0
system.output_filename
system.y_path
system.uv_path
system.en_y2y_batch 0
system.en_y2y_resample 0
system.output_width 0
system.output_height 0
system.extra_raw_path
system.raw_subtraction_offset 0
system.input_12bit_pack 0
system.output_12bit_pack 0
system.thumbnail_w 160
system.thumbnail_h 120
system.thumbnail_active_w 160
system.thumbnail_active_h 120
system.screennail_w 960
system.screennail_h 720
system.screennail_active_w 960
system.screennail_active_h 720
#aaa_function.ae_op 1
#aaa_function.awb_op 1
#aaa_function.af_op 0
#aaa_function.adj_op 1
ae_info.agc_index 196
ae_info.shutter_index 1012
ae_info.iris_index 0
ae_info.dgain 4118
ae_statistics_info.ae_tile_num_col 12
ae_statistics_info.ae_tile_num_row 8
ae_statistics_info.ae_tile_col_start 8
ae_statistics_info.ae_tile_row_start 0
ae_statistics_info.ae_tile_width 340
ae_statistics_info.ae_tile_height 512
ae_statistics_info.ae_pix_min_value 0
ae_statistics_info.ae_pix_max_value 16383
awb_statistics_info.awb_tile_num_col 24
awb_statistics_info.awb_tile_num_row 16
awb_statistics_info.awb_tile_col_start 8
awb_statistics_info.awb_tile_row_start 0
awb_statistics_info.awb_tile_width 170
awb_statistics_info.awb_tile_height 256
awb_statistics_info.awb_tile_active_width 170
awb_statistics_info.awb_tile_active_height 256
awb_statistics_info.awb_pix_min_value 0
awb_statistics_info.awb_pix_max_value 16383
af_statistics_info.af_tile_num_col 8
af_statistics_info.af_tile_num_row 5
af_statistics_info.af_tile_col_start 256
af_statistics_info.af_tile_row_start 10
af_statistics_info.af_tile_width 448
af_statistics_info.af_tile_height 816
af_statistics_info.af_tile_active_width 448
af_statistics_info.af_tile_active_height 816
static_bad_pixel_correction.enable 0
static_bad_pixel_correction.pixel_map_width 4608
static_bad_pixel_correction.pixel_map_height 3456
static_bad_pixel_correction.pixel_map_pitch 32
static_bad_pixel_correction.map_path D:\DCIM\100MEDIA\YDXJ4233_map_path.bin
vignette_compensation.enable 1
vignette_compensation.gain_shift 1
vignette_compensation.gain_path D:\DCIM\100MEDIA\YDXJ4233_vignette_gain.bin
warp_compensation.enable 0
warp_compensation.warp_control 0
warp_compensation.grid_array_width 36
...........
 
First of all, thanks to all creators of these wonderful scripts, especially Nutsey, Luckylz, Schnuribi, Fried, Squeamish, Gente and to Andy_S whos CC I use to configure my Yi (since I don't own a smart phone).
I only use 2304 30 FPS and 1080 60FPS so it only sets the bitrate at 35 for these modes. My camera has STOCK 1.2.13 firmware and is a Z221. I am pretty well satisfied with the video performance on subdued lighting, such as just after sunset, but my camera has always been a little overexposed in very bright full sun conditions. I would like to add a line in the script to tone it down a little. Should I adjust WB or AE.
Here is my current Autoexec.ash

#ONLY FOR 1.2.13 FW version
#tested on HW version 221...
#by funnel
#USE AT YOUR OWN RISK
#buzzer on on boot means autoexec.ash executed
#set buzzer volume 1-150
t pwm 1 set_level 30
t pwm 1 enable
sleep 2
t pwm 1 disable
#begin
#set bitrate to 35Mb/s
writew 0xC05C1EB2 0x420C
writew 0xC05C1EE2 0x420C
#disable sharpening
t is2 -shp mode 0
t is2 -shp cor d:\coring.txt
#end
#long beep means the commands executed
t pwm 1 enable
sleep 1
t pwm 1 disable

Here to is my latest 2304 video
it looks best in full screen with the U Tube quality setting of 1440HD if your connection supports it.
 

Attachments

Hi @xrxPercy where did you find this funnel script? Anyway nice script very good quality...
 
Back
Top