Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save psolyca/57a4025b0bba5216db728e1054c04a2d to your computer and use it in GitHub Desktop.
Save psolyca/57a4025b0bba5216db728e1054c04a2d to your computer and use it in GitHub Desktop.
Video bitrates multiplicator table for live for Yi4k #yi4k
The values in the video bitrate table are stored as 32 bit floating point values :
0x3D4CCCCD #0.05
0x3DCCCCCD #0.1
0x3E19999A #0.15
0x3E4CCCCD #0.2
0x3E800000 #0.25
0x3E99999A #0.3
0x3EB33333 #0.35
0x3ECCCCCD #0.4
0x3EE66666 #0.45
0x3F000000 #0.5
0x3F0CCCCD #0.55
0x3F19999A #0.6
0x3F266666 #0.65
0x3F333333 #0.7
0x3F400000 #0.75
0x3F4CCCCD #0.8
0x3F59999A #0.85
0x3F666666 #0.9
0x3F733333 #0.95
0x3F800000 #1
0x3F866666 #1.05
0x3F8CCCCD #1.1
0x3F933333 #1.15
0x3F99999A #1.2
0x3FA00000 #1.25
0x3FA66666 #1.3
0x3FACCCCD #1.35
0x3FB33333 #1.4
0x3FB9999A #1.45
0x3FC00000 #1.5
0x3FC66666 #1.55
0x3FCCCCCD #1.6
0x3FD33333 #1.65
0x3FD9999A #1.7
0x3FE00000 #1.75
0x3FE66666 #1.8
0x3FECCCCD #1.85
0x3FF33333 #1.9
0x3FF9999A #1.95
0x40000000 #2
0x40033333 #2.05
0x40066666 #2.1
0x4009999A #2.15
0x400CCCCD #2.2
0x40100000 #2.25
0x40133333 #2.3
0x40166666 #2.35
0x4019999A #2.4
0x401CCCCD #2.45
0x40200000 #2.5
0x40233333 #2.55
0x40266666 #2.6
0x4029999A #2.65
0x402CCCCD #2.7
0x40300000 #2.75
0x40333333 #2.8
0x40366666 #2.85
0x4039999A #2.9
0x403CCCCD #2.95
0x40400000 #3
0x40433333 #3.05
0x40466666 #3.1
0x4049999A #3.15
0x404CCCCD #3.2
0x40500000 #3.25
0x40533333 #3.3
0x40566666 #3.35
0x4059999A #3.4
0x405CCCCD #3.45
0x40600000 #3.5
0x40633333 #3.55
0x40666666 #3.6
0x4069999A #3.65
0x406CCCCD #3.7
0x40700000 #3.75
0x40733333 #3.8
0x40766666 #3.85
0x4079999A #3.9
0x407CCCCD #3.95
0x40800000 #4
0x4081999A #4.05
0x40833333 #4.1
0x4084CCCD #4.15
0x40866666 #4.2
0x40880000 #4.25
0x4089999A #4.3
0x408B3333 #4.35
0x408CCCCD #4.4
0x408E6666 #4.45
0x40900000 #4.5
0x4091999A #4.55
0x40933333 #4.6
0x4094CCCD #4.65
0x40966666 #4.7
0x40980000 #4.75
0x4099999A #4.8
0x409B3333 #4.85
0x409CCCCD #4.9
0x409E6666 #4.95
0x40A00000 #5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment