Skip to content

Unable to play AC3 URL using ffmpeg extension even after compiling the ffmpeg extension successfully #5788

@rishabh14augshukla

Description

@rishabh14augshukla

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions