Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue In Merging video clips #7

Open
umerabidin opened this issue Jul 30, 2018 · 1 comment
Open

Issue In Merging video clips #7

umerabidin opened this issue Jul 30, 2018 · 1 comment

Comments

@umerabidin
Copy link

HI,
I am appending video clips using Append Example class but this time the issue I am facing after appending is videos append successfully but when I play that video only first clips runs and stuck the rest of all.
Whats the problem please help me in it.
Thanks

@umair13adil
Copy link
Owner

Hi,
Google's ISO parser has some issues regarding merging different videos. I suggest you try this library instead, it's very easy to use: KotlinFFMpeg

Merge/Append Video Example:

    val videoList = arrayListOf<File>(videoSmall1, video, video2)

    VideoMerger.with(context!!)
                     .setVideoFiles(videoList) //Video Files list
                     .setOutputPath("PATH_TO_OUTPUT_VIDEO")
                     .setOutputFileName("merged_" + System.currentTimeMillis() + ".mp4")
                     .setCallback(this@MainActivity)
                     .merge()`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants