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

net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: Video codecs other than AVC is not supported, actual mime type: video/mp4v-es #55

Open
wbgopi opened this issue Oct 26, 2017 · 1 comment

Comments

@wbgopi
Copy link

wbgopi commented Oct 26, 2017

Hi i am got below issue ......Please help me how to solved the problem.........I am used Android marshmallow moto g phone.

Fatal error while transcoding, this might be invalid format or bug in engine or Android.
net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: Video codecs other than AVC is not supported, actual mime type: video/mp4v-es
at net.ypresto.androidtranscoder.engine.MediaFormatValidator.validateVideoOutputFormat(MediaFormatValidator.java:35)
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine$1.onDetermineOutputFormat(MediaTranscoderEngine.java:162)
at net.ypresto.androidtranscoder.engine.QueuedMuxer.onSetOutputFormat(QueuedMuxer.java:66)
at net.ypresto.androidtranscoder.engine.QueuedMuxer.setOutputFormat(QueuedMuxer.java:61)
at net.ypresto.androidtranscoder.engine.AudioTrackTranscoder.drainEncoder(AudioTrackTranscoder.java:160)
at net.ypresto.androidtranscoder.engine.AudioTrackTranscoder.stepPipeline(AudioTrackTranscoder.java:90)
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.runPipelines(MediaTranscoderEngine.java:192)
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.transcodeVideo(MediaTranscoderEngine.java:97)
at net.ypresto.androidtranscoder.MediaTranscoder$4.call(MediaTranscoder.java:184)
at net.ypresto.androidtranscoder.MediaTranscoder$4.call(MediaTranscoder.java:166)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

@ypresto
Copy link
Owner

ypresto commented Nov 24, 2017

This could be happen when:

  • Input video uses MPEG4 Visual codec.
  • This library have chosen not to transcode video.

Latter might be because resolution of input video is already 720p (1280x720) and no down scaling is necessary. While error message is not clear, this kind of error should be ignored.

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