1. Download our Official Android App: Forums for Android!

Synchronize multiple audio and video tracks

Discussion in 'Android Development' started by marcway, Sep 4, 2017.

  1. marcway

    marcway Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    2
    Joined:
    Sep 4, 2017

    Sep 4, 2017
    2
    0
    15
    I have developed an iOS application that combines multiple video and audio streams playing simultaneously, using AVMutableComposition. The user can stream a video and control the volume of each audio track (bass, drums, guitar...)

    I have been researching for hours and I cannot find a way of doing it in Android. Have tried with few MediaPlayer (but even in some devices as Nexus 5 they won't play simultaneously), ExoPlayer (but doesn't allow multiple audio tracks at the same time), Vitamio (cannot find a way of play multiple audio tracks simultaneosly), etc.

    Does anyone knows how yo do it?

    Thanks!
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,846
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,846
    11,450
    1,988
    Male
    Software developer
    South West of England
    Did you create multiple MediaPlayer objects?
     
  3. marcway

    marcway Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    2
    Joined:
    Sep 4, 2017

    Sep 4, 2017
    2
    0
    15

Share This Page

Loading...