How to Integrate Android Studio Exoplayer Video Player Media 3 2024 guide | Programmer Times

Поділитися
Вставка

КОМЕНТАРІ • 16

  • @CONGOMONPAYSTV
    @CONGOMONPAYSTV 6 місяців тому

    One last thing can you make this project to play video in série from recyclerview ?
    Video in Json liike where you get mp4 link ?
    I do have a project with the video Json but my Exoplayer doesn't play mp4 only m3u8
    So i need Exoplayer to play any link like MPEG, mp4, rtps, vod so on can you help me with the code ?
    Anyway, thanks a lot for this tutorial

    • @ProgrammerTimes
      @ProgrammerTimes  5 місяців тому

      yes we can use json to play the mp4 link in list or just make a list responses and play them in order. MPEG mp4 supported i dont know what is RTPS but exo support RTSP
      ExoPlayer supports both live and on demand RTSP. Supported sample formats and network types are listed below
      developer.android.com/media/media3/exoplayer/supported-formats#supported_sample_formats

  • @CONGOMONPAYSTV
    @CONGOMONPAYSTV 6 місяців тому

    I can replace any MPEG link or rtps link can work ?

    • @ProgrammerTimes
      @ProgrammerTimes  5 місяців тому

      explayer supports certain video format
      reference :developer.android.com/media/media3/exoplayer/supported-formats
      just take a look at this site for all supported format.

  • @chisomemmanuel6160
    @chisomemmanuel6160 6 місяців тому

    Very Awesome, but please how can i make ExoPlayer much faster like Google UA-cam

    • @ProgrammerTimes
      @ProgrammerTimes  5 місяців тому

      yes exoplayer is faster. To make it like google its not entirely possible but we can make it equalent to google player. I read somewhere youtube uses exoplayer with steroids ie it uses addtional extention that are not opensource example making a ultra fast conversion of mp4 or mkv even a 4k video which is around 5gb can be compressed and premiere in 1-2 hr
      fast processing work because of conversion of format. most of the format youtube use is m3u8 or hls format this make file preview faster and quicker better. So if you want exoplayer to perform same. use a ffmepg converter to convert your mkv to chucklist then add it to your hosting and take playlist.m3u8 and add it to main player of java this will make exoplayer work faster.

  • @mohamedlaminetoure2952
    @mohamedlaminetoure2952 8 місяців тому +1

    Loading video to play is too slow. How to solve it ?

    • @ProgrammerTimes
      @ProgrammerTimes  7 місяців тому

      Sorry can you expain

    • @chisomemmanuel6160
      @chisomemmanuel6160 6 місяців тому

      I understand the problem is from the setup. Actually, ExoPlayer setup is more complex than this but @ProgrammerTimes made a standard setup. But to use Google's advanced setup then, you'll need to make use of more than 1 video decoder instance, so that your video can load at max delay of 3 seconds but this will lead to much RAM usage.

    • @ProgrammerTimes
      @ProgrammerTimes  5 місяців тому

      yes can understand

  • @howtocode7593
    @howtocode7593 3 місяці тому

    how to preload videos

  • @livingwords227
    @livingwords227 8 місяців тому

    Helpfully please need help?