Technical Articles & Tutorials

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+.

About

Why fear those copying you, if you are doing good they will do the same to the world.

Archives

  1. AI & Automation
  2. AI Filtering for Web Content
  3. Web Fundamentals & Infrastructure
  4. Reclaiming Connection: Decentralized Social Networks
  5. Web Economics & Discovery
  6. The Broken Discovery Machine
  7. Evolution of Web Links
  8. Code & Frameworks
  9. Breaking the Tech Debt Avoidance Loop
  10. Evolution of Scaling & High Availability
  11. Evolution of Configuration & Environment
  12. Evolution of API Support
  13. Evolution of Browser & Client Support
  14. Evolution of Deployment & DevOps
  15. Evolution of Real-time Capabilities
  16. The Visual Basic Gap in Web Development
  17. Evolution of Testing & Monitoring
  18. Evolution of Internationalization & Localization
  19. Evolution of Form Processing
  20. Evolution of Security
  21. Evolution of Caching
  22. Evolution of Data Management
  23. Evolution of Response Generation
  24. Evolution of Request Routing & Handling
  25. Evolution of Session & State Management
  26. Web Framework Responsibilities
  27. Evolution of Internet Clients
  28. Evolution of Web Deployment
  29. The Missing Architectural Layer in Web Development
  30. Development Velocity Gap: WordPress vs. Modern Frameworks
  31. Data & Storage
  32. Evolution of Web Data Storage
  33. Information Management
  34. Managing Tasks Effectively: A Complete System
  35. Managing Appointments: Designing a Calendar System
  36. Building a Personal Knowledge Base
  37. Contact Management in the Digital Age
  38. Project Management for Individuals
  39. The Art of Response: Communicating with Purpose
  40. Strategic Deferral: Purposeful Postponement
  41. The Art of Delegation: Amplifying Impact
  42. Taking Action: Guide to Decisive Execution
  43. The Art of Deletion: Digital Decluttering
  44. Digital Filing: A Clutter-Free Life
  45. Managing Incoming Information
  46. Cloud & Infrastructure
  47. AWS Lightsail versus EC2
  48. WordPress on AWS Lightsail
  49. Migrating from Heroku to Dokku
  50. Storage & Media
  51. Vultr Object Storage on Django Wagtail
  52. Live Video Streaming with Nginx
  53. YI 4k Live Streaming
  54. Tools & Connectivity
  55. Multi Connection VPN
  56. Email Forms with AWS Lambda
  57. Static Sites with Hexo

Optimize Your Website!

Is your WordPress site running slowly? I offer a comprehensive service that includes needs assessments and performance optimizations. Get your site running at its best!

Check Out My Fiverr Gig!

Elsewhere

  1. YouTube
  2. Twitter
  3. GitHub