Page 1 of 1

ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 14 Jan 2019, 09:19
by eyosha
Hi
after testing a lot of movies and audio formats last night, I came across a white noise in some situations
while playing some audio formats as "2.0 channels DD" in some cases I get loud white noise, if I remove the option "IEC passthrough" it works fine, but other formats does not work :(
I guess the Sony TV implementation on android 7 ENCODING_IEC61937 is broken some how.
but if I play movies in the native Sony Video app it all works fine.
So my guess is Sony uses maybe ENCODING_AC3 API and not IEC.
I was wondering if in the future MrMC can have fallback from IEC to ENCODING_AC3 in those cases

thanks
Elad

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 14 Jan 2019, 16:50
by amet
debuglog might have some info?

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 14 Jan 2019, 16:53
by eyosha
Sure I will post one later on
Elad

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 14 Jan 2019, 20:21
by eyosha
amet wrote: 14 Jan 2019, 16:50 debuglog might have some info?
here you go
https://pastebin.com/SrgcS7jg

the interesting parts are
1. why it says the resolution is only FHD while the TV is 4K?
2. from the middle you can see I run 3 tests with 3 different movies all with different audio formats all get white noise
on IEC pass through, other formats works great when IEC is on

please tell me if you need more help from me
best
Elad

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 14 Jan 2019, 20:37
by davilla
21:47:10.050 T:18446744072141932832 NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000004 Hz

The Android part only reports 1920 x 1080 @60 Hz. That's all MrMC can see. Look in your android side for display settings, auto maybe ?

Turn off IEC packing ?

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 14 Jan 2019, 20:44
by eyosha
Hi
Thanks for the fast response
The resolution set to auto is that wrong?

Regarding the audio if I turn off IEC it will work for those formats but will not play audio for all other formats that works good with IEC enabled

Elad

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 15 Jan 2019, 11:29
by eyosha
As a solution I left IEC packing on, but removed AC3 DD from the passthrough options
So I don't have noise any more from DD 2.0 channels as it decode it to PCM.
It's bummer as in some movies where I have AC3 5.1 which are OK with IEC packing are now decodes to 2.0 channels pcm
As most of my movies are DTS which works OK in passthrough I can leave with that

Elad

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 15 Jan 2019, 11:43
by koying

Code: Select all

21:56:19.974 T:18446744072145750304   DEBUG:     encodings: ENCODING_PCM_16BIT / ENCODING_AC3 / ENCODING_E_AC3 /
The TV doesn't actually report supporting IEC at all, so if DTS is working, you're lucky ;)
The only "proper" solution is:
- Disable IEC
- Set channels to 2.0
- Enable *only* AC3
- Enable transcode

That way, everything non-ac3, non 2.0 PCM will be transcoded to AC3 5.1.
But yeah, if your stuff is mostly DTS and it works for you, you might also keep it like you did, your choice...

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 15 Jan 2019, 11:51
by eyosha
thanks
so if I remove IEC packing what would be expected?
how come some of the movies has no audio when disabling IEC?.

I mean as far as I checked the Sony TV player play DTS movies and DD movies
maybe it has issues playing some of the movies too, Need to check that
regarding
That way, everything non-ac3, non 2.0 PCM will be transcoded to AC3 5.1.
ARC does not support passing 5.1 PCM so I'll end up with 2.0 channels :(

Elad

Re: ENCODING_IEC61937 fallback to ENCODING_AC3

Posted: 15 Jan 2019, 12:22
by davilla
PCM will be transcoded to AC3 5.1, means ac3 format, not pcm. So it's actually two channels of encoded ac3 5.1.