After Effects export settings for Bilibili.
1920 x 1080 at 30 fps, H.264, 20 Mbps and AAC 320 kbps: here is why, and exactly where each setting lives in Adobe After Effects (with Media Encoder).
After Effects to Bilibili
Official- Resolution
- 1920 x 1080
- Frame rate
- 30 fps, constant
- Codec
- H.264, profile High, level 4.1
- Bitrate
- VBR, 2 pass: target 20 Mbps (20000 kbps), max 30 Mbps
- Keyframes
- Every 2 s = 60 frames, 2 B-frames, closed GOP
- Audio
- AAC-LC, 320 kbps, 48 kHz, stereo
- Colour
- Rec. 709 (BT.709), 8-bit 4:2:0, limited (TV) range
- Container
- MP4 with Fast Start (moov atom at the front)
Bilibili recommends 20,000 kbps video with peaks under 60,000 kbps.
Estimated size: 1.54 GB for 10:00.
Step by step in After Effects
- 1Set the composition to 1920 x 1080 at 30 fps (Composition > Composition Settings).
- 2With the composition selected choose Composition > Add to Adobe Media Encoder Queue.
- 3In Media Encoder click the blue Format link of the job and set Format to H.264.
- 4Click Output Name to set the file name and folder (.mp4).
- 5Video tab: Frame Size 1920 x 1080, Frame Rate 30, Profile High, Level 4.1.
- 6Bitrate Settings: Bitrate Encoding VBR, 2 pass, Target Bitrate 20 Mbps, Maximum Bitrate 30 Mbps.
- 7Advanced Settings: tick Key Frame Distance and enter 60 frames.
- 8Audio tab: AAC, Sample Rate 48000 Hz, Bitrate 320 kbps. Click OK, then Start Queue.
Bitrate at other resolutions
Same settings, different size or frame rate.
| Resolution | 30 fps | 60 fps |
|---|---|---|
| 720p | 20 Mbps, level 4.1 | 20 Mbps, level 4.1 |
| 1080p | 20 Mbps, level 4.1 | 20 Mbps, level 4.2 |
| 1440p | 20 Mbps, level 5.0 | 20 Mbps, level 5.1 |
| 2160p | 20 Mbps, level 5.1 | 20 Mbps, level 5.2 |
Bilibili upload limits
Each value links to where it was published.
Common mistakes
- Typing 2 into After Effects's keyframe field. It counts frames, not seconds: at 30 fps that is 60.
- Exporting "HDR" from an SDR grade. Only pick HDR when the timeline was graded in Rec. 2100 PQ or HLG; otherwise Bilibili shows flat or over-bright colour.
- Leaving phone footage at a variable frame rate. Export at a constant 30 fps, or audio drifts and motion stutters after Bilibili re-encodes it.
- The native H.264 output in the Render Queue (Composition > Add to Render Queue) is quick, but Media Encoder is the route for 2-pass, keyframe distance and HEVC.
- Render Queue H.264 presets set Profile and Level from the comp size automatically.
For comparison, YouTube publishes 8 Mbps for 1080p at 30 fps. Example length used for sizes: 10:00.
Frequently asked questions
What bitrate should I export from After Effects for Bilibili?
For 1080p at 30 fps use about 20 Mbps (20000 kbps), VBR, 2 pass, with a maximum of 30 Mbps. Bilibili recommends 20,000 kbps video with peaks under 60,000 kbps.
What resolution and frame rate should I use for Bilibili?
1920 x 1080 at 30 fps is a safe choice. Bilibili: Up to 4096 x 4096 supported. Frame rate: Up to 120 fps.
What is the maximum file size and length on Bilibili?
File size: Up to 16 GB; accounts at rights level Lv3+ get 64 GB on web upload.
Which codec should I pick in After Effects for Bilibili?
H.264, profile High, level 4.1, in an MP4 file. Bilibili lists: H.264/AVC is the codec the bitrate guidance refers to.
Can I export HDR from After Effects to Bilibili?
Yes. Export HEVC (H.265) Main10 with Rec. 2100 PQ or HLG. YUV420; SDR 8-bit, HDR 10-bit.
After Effects for other platforms
Other editors for Bilibili
Hubs and tools
Shinel Studios
Rather send the footage and get Bilibili-ready edits back?
Our editors cut, caption, colour and export to each platform's spec, with 2 revision rounds. Shorts come back in 48-72 hours, long videos in 5-10 days.