yi_4k_hacks icon indicating copy to clipboard operation
yi_4k_hacks copied to clipboard

high bitrate RTMP streaming support?

Open reedog117 opened this issue 6 years ago • 2 comments

I'm still waiting for my camera to come in the mail, but have you experimented with rates greater than 3 (~1.2Mbps) for RTMP streaming? My goal is to somehow get the camera to transmit 720p60 or 1080p30 at 5.5-6Mbps. I already have a portable rig that can support this high bitrate to send the RTMP data to a cloud server.

reedog117 avatar Sep 03 '18 16:09 reedog117

I've never tried a higher bit rate via RTMP streaming, I'm usually streaming for multiple hours over a LTE hotspot so higher bandwidth would be too costly for me.

ddimensia avatar Sep 10 '18 00:09 ddimensia

Because the 4K is already encoding at H264 5.1, it's a waste that it can't use higher bitrates for RTMP. I figured out what scripts in the firmware set the bitrate - now it's just a matter of figuring out what memory addresses hold the various bitrates so I can redefine low, medium, and high. I would think, 1.5Mbps, 3Mbps, and 6Mbps makes more sense for low, medium, and high. Also if we can set the average for auto to something higher, that would help. I documented it here: irungentoo/Xiaomi_Yi_4k_Camera#83

reedog117 avatar Sep 10 '18 16:09 reedog117