-
Notifications
You must be signed in to change notification settings - Fork 238
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
transcode fail every time. #22
Comments
It happens when resolution of output is larger than input. |
This makes no sense. What about the case when I want to transcode to the same resolution but with a lower bitrate? |
When we compressed any video file which don't have audio then i am getting error.
MediaExtractorUtils > getFirstVideoAndAudioTrack() |
I am also getting this exception is some devices MediaFormatStrategy returned pass-through for both video and audio. No transcoding is necessary. |
hi , i tried all the resolution yet nothing transcoded and every time that error comes in the log
"06-06 16:59:43.588 10263-10344/net.ypresto.androidtranscoder.example E/MediaTranscoder: Fatal error while transcoding, this might be invalid format or bug in engine or Android.
net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: MediaFormatStrategy returned pass-through for both video and audio. No transcoding is necessary.
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.setupTrackTranscoders(MediaTranscoderEngine.java:157)
at net.ypresto.androidtranscoder.engine.MediaTranscoderEngine.transcodeVideo(MediaTranscoderEngine.java:96)
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:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)"
The text was updated successfully, but these errors were encountered: