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

java.lang.IllegalArgumentException: extractor does not contain video and/or audio tracks. #88

Open
rahulapatil opened this issue Jun 4, 2021 · 0 comments

Comments

@rahulapatil
Copy link

java.lang.IllegalArgumentException: extractor does not contain video and/or audio tracks
at net.ypresto.androidtranscoder.utils.MediaExtractorUtils.getFirstVideoAndAudioTrack(MediaExtractorUtils.java:59)
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.setupTrackTranscoders(MediaTranscoderEngine.java:163)
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.transcodeVideo(MediaTranscoderEngine.java:98)
at net.ypresto.androidtranscoder.MediaTranscoder$4.call(MediaTranscoder.java:183)
at net.ypresto.androidtranscoder.MediaTranscoder$4.call(MediaTranscoder.java:165)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

I am facing a video transcode function exception for those videos that do not have audio. Please look into it and provide a solution to this.

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

1 participant