videolan port vlc to mobile os
play

VideoLAN Port VLC to Mobile OS Jean-Baptiste Kempf mercredi 14 - PowerPoint PPT Presentation

VideoLAN Port VLC to Mobile OS Jean-Baptiste Kempf mercredi 14 janvier 2015 Ecole Centrale Paris The Cone VLC 900 000 per day More than 1.5B over VLC lifetime 1 every 6 Mac Top 15 Windows Most used French software VLC VLMC


  1. VideoLAN Port VLC to Mobile OS Jean-Baptiste Kempf mercredi 14 janvier 2015

  2. Ecole Centrale Paris

  3. The Cone

  4. VLC

  5. 900 000 per day More than 1.5B over VLC lifetime 1 every 6 Mac Top 15 Windows Most used French software

  6. VLC VLMC Applications libVLC libVLCcore Decoder Theora Vorbis x264 Demuxer Mux Ogg MKV Interface Vout Aout Filters Modules Modules Modules Modules

  7. Requirements What we need to port VLC ➢ Compiler ➢ Libc ➢ Files, Unicode ➢ Threads ➢ + cancellation ➢ Network ➢ BSD sockets ➢ Modules ➢ dlopen ➢ Audio output ➢ Delay computation ➢ Video output ➢ YUV ➢ Interfaces 14 janv. 2015 Jean-Baptiste Kempf 10

  8. iOS iOS ➢ Technically, iOS is great : ➢ Same OS than OS X ➢ But ➢ Same bugs about pthread/signal ➢ Static modules only ➢ Multicast ➢ AudioUnit vs AuHal ➢ Stereo only ➢ OpenGL output ➢ Limitation in YUV → RGB shaders 14 janv. 2015 Jean-Baptiste Kempf 11

  9. Android 14 janv. 2015 Jean-Baptiste Kempf 12

  10. VLC for Android 100 % Open Source ➢ 2.1+ Full video player ➢ All codecs, formats, protocols ➢ Hardware and multicore decoding Full audio player ➢ Media library & Indexing ➢ Audio Background service 14 janv. 2015 Jean-Baptiste Kempf 13

  11. Port to Android Technically, Android is bad, and it's a mess (android-x platforms vs SDK versions) ➢ Shared Modules ➢ limits of .so shared → static like iOS ➢ Bionic is broken ➢ pthread rwlock_t → AOSP android-11 + workarounds ➢ wchar_t functions → AOSP android-14 ➢ off_t 32bits… → #define ➢ multicast → disabled 14 janv. 2015 Jean-Baptiste Kempf 14

  12. Android Multimedia 14 janv. 2015 Jean-Baptiste Kempf 15

  13. Port to Android : Audio Audio ➢ AudioTrack Java ➢ Slow ➢ AudioTrack native ➢ Missing delay computation ➢ OpenSL ES ➢ Buggy ➢ AudioFlinger ➢ Not portable 14 janv. 2015 Jean-Baptiste Kempf 16

  14. Port to Android : Video Video ➢ Android 2.1, 2.2 ➢ SurfaceFlinger dlopen ➢ Using Android-9 headers ➢ RGB ➢ Android 2.3+ ➢ Android NativeWindow ➢ 1 surface only, no rotation ➢ Android NativeWindowPriv ➢ anw.14.so ➢ RGB vs YUV ➢ Opaque ➢ OpenGL ES ➢ Buggy EGL 14 janv. 2015 Jean-Baptiste Kempf 17

  15. Port to Android : Codecs Codec ➢ Android 2.3 ➢ OMX + Binder = iOMX ➢ Android 3.0+ ➢ iOMX + gralloc ➢ Android 4.1+ ➢ MediaCodec Java ➢ Broken ➢ Android 4.3+ ➢ MediaCodec Java ➢ Software and hardware rendering 14 janv. 2015 Jean-Baptiste Kempf 18

  16. Project start 14 janv. 2015 Jean-Baptiste Kempf 19

  17. Release Release in July 2012 ➣ Beta on Google Play ➣ Limited countries ➣ ARMv7 only ➣ Numerous crashes ➣ Good feedback ➣ GPLv3 14 janv. 2015 Jean-Baptiste Kempf 20

  18. 14 janv. 2015 Jean-Baptiste Kempf 21

  19. Video 14 janv. 2015 Jean-Baptiste Kempf 22

  20. Evolution 14 janv. 2015 Jean-Baptiste Kempf 23

  21. Evolution 14 janv. 2015 Jean-Baptiste Kempf 24

  22. Audio v2 14 janv. 2015 Jean-Baptiste Kempf 25

  23. Video v2 14 janv. 2015 Jean-Baptiste Kempf 26

  24. Requirements Port to WinRT ➢ Compiler ➢ Libc ➢ New access module, limited ➢ Threads ➢ 50ms wake-up ➢ Network ➢ WinRT sockets ➢ Modules ➢ dlopen limited ➢ Audio output ➢ Xaudio broken for delay ➢ Video output ➢ Direct2D (RGB only) ➢ Interfaces in C# 14 janv. 2015 Jean-Baptiste Kempf 27

  25. Thank You Jean-Baptiste Kempf jb@videolan.org

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend