-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Unable to play AC3 URL using ffmpeg extension even after compiling the ffmpeg extension successfully #5788
Comments
That would normally indicate either that the extension is not being loaded correctly, or that FFmpeg was not compiled to include the AC3 decoder. Please:
@andrewlewis - Should we add some logging to |
Issue: #5788 PiperOrigin-RevId: 245440858
Issue: #5788 PiperOrigin-RevId: 245440858
@rishabh14augshukla - Did you try the suggestions above? |
Closing due to inactivity. The commits referenced above mean that we log more useful diagnostic information for some cases where the extension fails to initialize. |
Issue description
Unable to play AC3 URL using ffmpeg extension even after compiling the ffmpeg extension successfully.
I have successfully compiled the ffmpeg extension locally but when I am trying to play AC3 HLS URL. It is not calling FfmpegAudioRenderer.
Reproduction steps
I have followed all the instruction which is mentioned in the following link
https://github.com/google/ExoPlayer/tree/release-v2/extensions/ffmpeg
To setup ffmpeg extension locally and able to compile it locally successfully.
Also, set the extensionRendererMode parameter of the DefaultRenderersFactory constructor to EXTENSION_RENDERER_MODE_ON and EXTENSION_RENDERER_MODE_PREFER to give FfmpegAudioRenderer priority over MediaCodecAudioRenderer.
But still unable to hear the audio and able to play video.
Please let us know what we are missing here to play the AC3 URL or what we should suppose to do in terms of code changes.
Link to test content
https://www.hdpvrcapture.com/hdpvrcapture/samples/20090227_233850-H.264.m2ts.mp4
A full bug report captured from the device
We are only getting the toast message "Media includes audio track but none are playable by this device". We are not getting any error and exception.
Version of ExoPlayer being used
Using the latest version of the ExoPlayer v2.
Device(s) and version(s) of Android being used
Using the Samsung S7 and Nokia 8 devices they having the Android 8 and 9 version.
The text was updated successfully, but these errors were encountered: