YI 4K Improved Live Streaming

With a simple modification to your Micro SD card you can greatly improved the quality of the YI 4K Live streaming. You can get quality matching the latest GoPro at a fraction of the cost.

What You’ll Need:

  • YI 4K Camera (Affiliate link)
  • SanDisk Extreme Plus 32GB Micro SD (Affiliate Link) this card is more expensive but is fast enough to record full quality YI 4K footage
  • Cellphone With WiFi Hot Spot for outdoor streaming
  • or
  • Indoor WiFi Connection
  • YI Action mobile app to generate QR Code to scan with YI.

Default YI 4K Bitrates:
1080P High 1.2 Mbps, Middle 0.8, Low 0.6 Mbps
720P High 1.2 Mbps, Middle 0.8, Low 0.6 Mbps
480P High 1.2 Mbps, Middle 0.8, Low 0.6 Mbps

These default bitrates are too low to have a high quality stream, but fortunately you can change the bitrate, resolution and frame rates by creating an autoexec.ash file that you put on the Micro SD Card. Visit this webpage to create your own custom file.

Screen-Shot-2019-09-13-at-2.14.21-PM-768x664

Sample autoexec.ash file

undefined
# 1st preset : 1920x1080 60P 16:9
# Choose 1080p on your phone or by telnet `SendToRTOS rtmp 81`
writeb 0xA011CF80 0x14
writeb 0xA0225B58 0x14
writeb 0xA0225BC8 0x14
writel 0xA06E50BC 0x41000000 # 8.00 Mbps for high quality settings
writel 0xA06E50CC 0x40A00000 # 5.00 Mbps for middle quality settings
writel 0xA06E50DC 0x40600000 # 3.50 Mbps for low quality settings

# 2nd preset : 1920x1080 30P 16:9
# Choose 720p on your phone or by telnet `SendToRTOS rtmp 80`
writeb 0xA011CFAC 0x18
writeb 0xA0225B64 0x18
writeb 0xA0225BD0 0x18
writel 0xA06E50FC 0x40C00000 # 6.00 Mbps for high quality settings
writel 0xA06E510C 0x40800000 # 4.00 Mbps for middle quality settings
writel 0xA06E511C 0x40200000 # 2.50 Mbps for low quality settings

# 3rd preset : 1280x720 60P 16:9
# Choose 480p on your phone or by telnet `SendToRTOS rtmp 82`
writeb 0xA011CF54 0x23
writeb 0xA0225B6C 0x23
writeb 0xA0225BDC 0x23
writel 0xA06E513C 0x40C00000 # 6.00 Mbps for high quality settings
writel 0xA06E514C 0x40800000 # 4.00 Mbps for middle quality settings
writel 0xA06E515C 0x40200000 # 2.50 Mbps for low quality settings

# 4th preset : 1280x720 30P 16:9
# Choose 360p on your phone or by telnet `SendToRTOS rtmp 83`
writeb 0xA011CF28 0x25
writel 0xA06E517C 0x40800000 # 4.00 Mbps for high quality settings
writel 0xA06E518C 0x40400000 # 3.00 Mbps for middle quality settings
writel 0xA06E519C 0x40000000 # 2.00 Mbps for low quality settings

If you don’t have the live streaming option on your YI 4k, try updating to the latest firmware version. This code will not work on the YI 4k+.