Skip to content

Question: How to mux video with audio #2

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

Suppose I have 2 files: Video file and audio file.
And I want to merge them into a single video file, so that the video would be of the video file, and the audio will be of the audio file (the output duration would be of the video file).

How do I do it here?

Is it this:

  • MuxTracks:
    This operator is use to mux the supplied Tracks into a Movie instance. It can be used on an Observable instance and will return an Observable object.

Observable<List> tracksObservable = ...;
Observable muxedMovieObservable = tracksObservable.lift(new MuxTracks());

Could you please explain a bit more? Maybe update the main page of the repository?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions