Mailing List Archive

Re: Ticket #13446: Android Digital Audio
On 5/8/19 4:18 PM, MythTV wrote:
> #13446: Android Digital Audio
> -----------------------------+-------------------------------
> Reporter: Peter Bennett | Owner: Peter Bennett
> Type: Developer Task | Status: assigned
> Priority: minor | Milestone: unknown
> Component: Ports - Android | Version: Unspecified
> Severity: medium | Resolution:
> Keywords: | Ticket locked: 0
> -----------------------------+-------------------------------
>
> Comment (by jpilk):
>
> I had understood that an a/v sync setting, once made, would apply to all
> playback by mythfrontend. Perhaps this has changed recently, and I am
> currently away from my firestick, so can't re-check. But an accurate
> auto-setting would certainly be good.
>
> IIRC VLC needs it on a per-file basis.
>
Yes - Once set it applies to all playback and works well. However it
should by default be closer to correct.
_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Ticket #13446: Android Digital Audio [ In reply to ]
On 5/20/19 6:01 PM, MythTV wrote:
> #13446: Android Digital Audio
> -----------------------------+-------------------------------
> Reporter: Peter Bennett | Owner: Peter Bennett
> Type: Developer Task | Status: assigned
> Priority: minor | Milestone: unknown
> Component: Ports - Android | Version: Unspecified
> Severity: medium | Resolution:
> Keywords: | Ticket locked: 0
> -----------------------------+-------------------------------
>
> Comment (by mspieth):
>
> My understanding is that there is no digital passthrough working at all
> ATM since GetOutputSettings does not report as such. I removed the
> DISABLE_AC3_ENCODE define and no difference in functionality as expected.
>
> I can see how to do passthrough though. There are modes available such as
> ENCODING_AC3 which accept compressed digital streams, just set the bitrate
> correctly and pass the ac3 stream as encoded/reencoded and everything
> *SHOULD* just work.
>
> I have not check the patches yet so you might have done this already and
> it didnt work.
>
Hi Mark

I thought it better to conduct the conversation via email rather than in
the ticket.

I have an Onkyo amplifier with optical input, no HDMI. What I do with my
viewing of MythTV is send the audio and video to the TV HDMI port. Then
I have an optical cable from the TV to the amplifier.

With linux version of MythTV, I select digital capabilities Dolby
Digital, and it gets through to my amplifier where I see "Dolby Digital"
displayed on the Onkyo screen. This setup works for AMD64 frontend as
well as raspberry pi frontend.

This setup cannot support multi-channel LPCM since optical cables are
not able to support that.

When I connect either the fire stick or the Shield to the TV in this
setup, and select AudioTrack, enabling the Dolby Digital checkbox, I
also get Dolby Digital displayed on the Onkyo. From this I conclude it
is passing through.

The interesting thing is that if I connect the fire stick to an HDMI
monitor, which does not support AC3, I still get sound from the monitor,
in stereo. It seems that android is deciding correctly that my monitor
cannot support AC3 and is decoding for me. I believe that is what the
"automatic" setting in android does. (Note that with the HDMI monitor if
I do that with linux I get no sound).

Perhaps in your case the android decides correctly that your TV supports
multi-channel LPCM and it decides to use that? Or incorrectly decides
that your TV does not support AC3 and uses LPCM?

There is an advanced audio setting in MythTV called "Stereo PCM only" I
have that set so that it does not attempt multi-channel LPCM. Have you
tried setting that?

I may be completely off base here, and somebody with a multi channel
LPCM capable system will need to check that part of it.

I am not sure what change you are recommending. I know the channel
assignment is incorrect as you have pointed out, and I will fix that,
but I don't know if that will fix your problems.

I will be away for two weeks starting next week, so I won't be making
any major changes before that. If you have a fix before I get back, feel
free to commit it.

Regards
Peter

_______________________________________________
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-dev
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org