You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
11-29 00:46:03.787 E: onPlayerError:
com.google.android.exoplayer2.ExoPlaybackException
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor, AmrExtractor) could read the stream.
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractorHolder.selectExtractor(ExtractorMediaPeriod.java:931)
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:853)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:317)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
I set a breakpoint in FfmpegLibrary.isAvailable and it returns true.
And I set a breakpoint at the start of FfmpegAudioRenderer.supportsFormatInternal and find out this method has never been execute.
Reproduction steps
I set a breakpoint in FfmpegLibrary.isAvailable and it returns true.
And I set a breakpoint at the start of FfmpegAudioRenderer.supportsFormatInternal and find out this method has never been execute.
Link to test content
any avi video can reproduce.
Version of ExoPlayer being used
my build.gradle:
compile 'com.google.android.exoplayer:exoplayer:2.8.0'
compile project(':exoplayer-extension-ffmpeg') //2.91
Device(s) and version(s) of Android being used
Device : any devices
Android Version : 8.1.0
The text was updated successfully, but these errors were encountered:
The extension can add support for decoding audio data encoded using various codecs, but it doesn't provide extractors for container formats like AVI I'm afraid.
Issue description
I followed the instructions (https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpeg) , compiled the FFMPEG extension, depend on it(https://github.com/google/ExoPlayer#locally), setting the extensionRendererMode parameter of the DefaultRenderersFactory constructor to EXTENSION_RENDERER_MODE_ON, and build my demo project. But it didn't work when I tried to play an avi video.
Here is the error log:
11-29 00:46:03.787 E: onPlayerError:
com.google.android.exoplayer2.ExoPlaybackException
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:349)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:164)
at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: com.google.android.exoplayer2.source.UnrecognizedInputFormatException: None of the available extractors (MatroskaExtractor, FragmentedMp4Extractor, Mp4Extractor, Mp3Extractor, AdtsExtractor, Ac3Extractor, TsExtractor, FlvExtractor, OggExtractor, PsExtractor, WavExtractor, AmrExtractor) could read the stream.
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractorHolder.selectExtractor(ExtractorMediaPeriod.java:931)
at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:853)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:317)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
I have try this too. #4048 (comment)
I set a breakpoint in FfmpegLibrary.isAvailable and it returns true.
And I set a breakpoint at the start of FfmpegAudioRenderer.supportsFormatInternal and find out this method has never been execute.
Reproduction steps
I set a breakpoint in FfmpegLibrary.isAvailable and it returns true.
And I set a breakpoint at the start of FfmpegAudioRenderer.supportsFormatInternal and find out this method has never been execute.
Link to test content
any avi video can reproduce.
Version of ExoPlayer being used
my build.gradle:
compile 'com.google.android.exoplayer:exoplayer:2.8.0'
compile project(':exoplayer-extension-ffmpeg') //2.91
Device(s) and version(s) of Android being used
Device : any devices
Android Version : 8.1.0
The text was updated successfully, but these errors were encountered: