經歷了一年多,KKBOX Video Product Development 團隊朝目標邁進了一小步。這次,要來跟大家分享開發過程的酸甜苦辣與上線之後的未來發展。
This is presented at [KKBOX Innovation Chat #8 - 影音內容平台開發與經營](http://innovation.kktix.cc/events/video-product-development).
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
從音樂走向影音服務 - KKBOX 的影音之路奮鬥史 - 序章
1. KKBOX -
Drake ( )
Sr. Principal Engineer
Head of Video Content Platform
KKBOX
by Shuen-Huei Guan, KKBOX. 2015 1
2. Who am I?
• administrator, Ptt BBS
• technical director / R&D manager, Digimax Inc.
• team player, KKBOX Technologies Ltd.
• contributor, PyCon Taiwan
• phd candidate, GINM, CISE, NTU
by Shuen-Huei Guan, KKBOX. 2015 2
3. • VideoPass / (ongoing) AnimePass video services in Japan.
• Service up to ~1M users.
• KKBOX Video team: ~40 in one year.
• Cooperation with Japanese organizations.
• To keep growing and heading for the next!
by Shuen-Huei Guan, KKBOX. 2015 3
7. Much complicated than just a data flow
• CMS for content management.
• Flexible system (we thought) for evolving business logics.
• System optimication for operation expense.
• Scalability! (we're in cloud era)
by Shuen-Huei Guan, KKBOX. 2015 7
8. We have done that in KKBOX,
and it works (really well)!
by Shuen-Huei Guan, KKBOX. 2015 8
15. Inside News
• VideoPass/AnimePass switched to KKBOX.
• KDDI is a big stockholder in KKBOX.
• Japan-Taiwan is better than Japan-???.
by Shuen-Huei Guan, KKBOX. 2015 15
16. We thought it's a peace of cake!
by Shuen-Huei Guan, KKBOX. 2015 16
17. Let's work on a video-on-demand service
• Adaptive streaming.
• DRM protection.
• Video encoding on cloud.
• Totally cloud-based system.
by Shuen-Huei Guan, KKBOX. 2015 17
21. Adaptive streaming benefits (cont'd)
• Friendly UX with mobile in-mind.
• 3G/4G/Wifi, Android/iOS
• Copyright done easily (and right?!).
• MS PlayReady, Google Widevine, Apple FairPlay, ...
• Scalability with good performance.
• CDN, HTTP/2 or QUIC, ...
by Shuen-Huei Guan, KKBOX. 2015 21
26. DRM
• Microsoft PlayReady nearly dominates DRM market right
now.
• Google Widevive has huge potential because of Android/
Chrome.
• Apple FairPlay stands for her own.
by Shuen-Huei Guan, KKBOX. 2015 26
30. Video Encoding Flow
• Source video -> playable adaptive packages.
• Leverage all mighty open-source projects.
• All processed on cloud with capability of dynamic flow!
by Shuen-Huei Guan, KKBOX. 2015 30
41. We love Slack.
• Server status / alarm.
• Video encoding status.
• JIRA ticket updates.
• Video quality checking status.
• ...
by Shuen-Huei Guan, KKBOX. 2015 41
42. But we were wrong.
Way more challenges
are waiting for us.
by Shuen-Huei Guan, KKBOX. 2015 42
43. Technical challenges
• Video file size is much larger than music files.
• 2hr HD movie = 150 x “5min 192kbps music”
• Video file encoding takes much longer.
• 100x time consumption than music.
• Lots of files.
• 2hr HD movie ~= 20,000~30,000 files.
by Shuen-Huei Guan, KKBOX. 2015 43
44. Technical challenges (cont'd)
• H.264 is not that easy.
• Each H.264-claimed devices support differently.
• Adaptive players needs effrots.
• Smart adaptation, initial lag vs smooth playback, A/V
sync, ...
• Video streaming protocols are much complicated.
• HLS, MSS, DASH with DRM(s)!
by Shuen-Huei Guan, KKBOX. 2015 44
45. Business challenges
• Asian services tend to be complex than elegant, especially
Japanese ones.
• Business logics changed weekly, but it's an OEM, right?
• OEM is not what KKBOX's good at.
• Programming is an art, so is communication!
by Shuen-Huei Guan, KKBOX. 2015 45
46. Integration challenges
• Communication in English is ok, but Japanes is better.
• Hard problems doesn't kill developers, but communication
does.
• More than 5 vendors to cooperate with.
• Docs of vendors' API? Nearly none.
by Shuen-Huei Guan, KKBOX. 2015 46