DCdmitry-chernenko.me← All projects
ENRU
Home/projects/triller-android
FEATUREDdmitry/triller-android

Triller — Video Editor

Triller · Senior Android · 2022 — 2023

Rebuilt the video pipeline for Triller’s editor — faster rendering and smoother playback for millions of creators.

▶ Live demo ↗{ } Repository ↗
2×
render
−40%
buffering
−70%
crashes
// Context

Triller’s editor rendered video slowly and buffered on weak networks, and crashed often — creators lost work mid-export.

// What I built
+Parallelised the render pipeline to cut processing time
+Migrated streaming from HLS to MP4 for weak connections
+Fixed 30+ editor bugs and implemented SSOT + pagination
+Optimised ExoPlayer with reel caching
video/Encoder.kt
-encoder.format = HLS
+encoder.format = MP4 // −40% buffering
-render(clip) // 7.5s
+renderParallel(clip) // 3.7s
// Result
✓Video processing 7.5s → 3.7s (2×)
✓−40% buffering on slow connections
✓−70% crash rate
// Stack
KotlinExoPlayerCoroutinesMP4 / HLSSSOT
▶ Live demo ↗{ } Repository ↗← All projects