Player icon indicating copy to clipboard operation
Player copied to clipboard

Problem with E-AC-3

Open rudnypc opened this issue 3 years ago • 9 comments

Hi,

When I play some mkv with the format E-AC-3, the audio is muted. Is it normal?

Audio ID : 2 Format : E-AC-3 Format/Info : Enhanced AC-3 Commercial name : Dolby Digital Plus Codec ID : A_EAC3 Duration : 55 min 52 s Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Compression mode : Lossy Stream size : 256 MiB (10%) Language : English Service kind : Complete Main Default : Yes Forced : No

My system is: Android 7.1.2 Kernel 3.14.29 Model Tx3 Mini

rudnypc avatar Jan 19 '22 22:01 rudnypc

@rudnypc Android 7 is too old to support all the audio formats most likely.

mo123 avatar Jan 20 '22 15:01 mo123

@rudnypc Android 7 is too old to support all the audio formats most likely.

But I can play using the vlc and Fermata Media Player

rudnypc avatar Jan 20 '22 15:01 rudnypc

@rudnypc Tested now, seems to also be a problem on newer Android.

@moneytoo E-AC3 audio is silent on AndroidTV 10/11. In Kodi & Nova Video player it plays correctly. Anyway to fix it?

mo123 avatar Jan 22 '22 19:01 mo123

Has your device/TV E-AC3 decoding capability? Could be an issue related to passthrough. However Just Player doesn't really do anything related to that on its own as this is mostly handled by the default behavior of ExoPlayer. So any such issue would be best to replicate (in ExoPlayer demo) and report directly to the ExoPlayer team.

moneytoo avatar Jan 22 '22 20:01 moneytoo

But is the exoplayer with ffmpeg shouldn't fix that problem?

rudnypc avatar Jan 22 '22 20:01 rudnypc

Just Player is configured in a way to prefer device decoders. If your device is reporting E-AC3 capability, the audio output is sent directly without decoding (bitstream/passthrough). Otherwise it's decoded by the FFmpeg extension.

moneytoo avatar Jan 22 '22 20:01 moneytoo

Can I force the ffmpeg?

rudnypc avatar Jan 24 '22 20:01 rudnypc

Can't Just Player use IEC61937 passthrough with ffmpeg like Kodi then all audio formats will play correctly? Add a setting so you can choose the passthrough method you want to use? 90% of devices don't have hardware audio codecs, only Nvidia Shield and some others, most use IEC61937 and not RAW passthrough.

mo123 avatar Jan 25 '22 03:01 mo123

Try this version: Just.Player.v0.97-decoders.apk (or wait a few days for a release in the beta channel on Google Play). Long tap the ⚙️ gear button and switch Decoder priority to Prefer app decoders.

moneytoo avatar Jan 27 '22 20:01 moneytoo

edit: nevermind, this seems to only be an issue with tunneled playback. However, I get stuttery video unless I’m using tunneled, but that’s a separate issue

edwrap avatar Nov 16 '22 01:11 edwrap

Try this version: Just.Player.v0.97-decoders.apk (or wait a few days for a release in the beta channel on Google Play). Long tap the ⚙️ gear button and switch Decoder priority to Prefer app decoders.

@moneytoo @mo123 @edwrap Is this apk has IEC61937 passthrough with ffmpeg?

Learner00100 avatar Jun 21 '23 16:06 Learner00100