You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(writer): align auto bitrate with YouTube official recommended settings
Replace the simplistic pixels*4 formula with YouTube's official H.264
bitrate recommendations (support.google.com/youtube/answer/2853702).
Uses linear interpolation by pixel count between reference points
(720p, 1080p, 1440p, 4K), extrapolation above 4K, and 720p floor
for lower resolutions. HEVC targets ~60% of H.264 bitrate.
Also:
- Change default codec to H264 (better compatibility and performance)
- Change default bitRate to 0 (auto) so YouTube-based auto takes effect
- Remove unreachable null check on getFreeFrame() and document the
non-null guarantee on its declaration
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments