Audio Passthrough in SPMC Working
#1
Information 
While I could not get Kodi to correctly reproduce AC3 audio via pass-through (cuts out for a fraction of a second every 5-10 seconds or so), I have been able to achieve correct AC3 audio reproduction with SPMC.  Playback of recorded mpeg-ts files has been great with no video sync issues or audio issues.  However, I am not getting great playback of live TV (via HDHomerun via tvheadend on an Odroid C1+).  I will need to explore that more, but more than likely it is related to my network/NAS setup.  The best playback experience of NAS mpeg-ts files has been through using Plex / MX player mashup.

My current settings / setup for SPMC is listed out below:
  • Android: 5.1.1 HDMI image release 20160505 64gb version non-rooted
  • SPMC build: SPMC 16.3-0 Git:2016-04-30-22df3d0-dirty
  • CAT 6 cables between as many devices as possible: Pine64 and Fast Ethernet (100/10) Switch which is then connected to my router (not sure if this made a difference as I did not methodically test it, but before CAT 6 I had lesser cables between some of these devices and I know at that time SPMC was not working correctly either)
  • HDMI from Pine64 to Marantz Receiver
SPMC Options:
Videos:
     Playback:
         Adjust display refresh rate: On start / stop
         Sync playback to display: Off
     Acceleration:
         Allow hardware acceleration -MediaCodec

System:
     Audio output:
         Audio output device: Android, RAW Passthrough
         Number of channels: 7.1
         Output Configuration: Fixed
         Limit sampling rate (kHz): 48.0
         Stereo upmix: On
         Maintain original volume on downmix: On
         Resample quality: High
         Enable audio DSP processing: Off

Hopefully someone can build off of this and continue to improve the Pine64 media experience.
Reply
#2
Actually, Android and Remix plays my live TV streams using tvheadend backend and HDHomeRun tuners.

Starts around the 3 minute mark.

https://www.youtube.com/watch?v=nPaSRIurhj8
Reply
#3
(07-13-2016, 08:44 AM)clarkss12 Wrote: Actually, Android and Remix plays my live TV streams using tvheadend backend and HDHomeRun tuners.

Starts around the 3 minute mark.

https://www.youtube.com/watch?v=nPaSRIurhj8

I hadn't tried direct streams but that isn't my goal for my system.  While I am familiar with the apps used in that video and have those on my personal phone, I intend to use Pine64 with SPMC/Kodi so that I may make use of the timeshift abilities of tvheadend.  But perhaps I'll make use of TVHClient as a stop-gap measure until live TV in SPMC improves.  Thanks.
Reply
#4
Hi
thank you for sharing your setup.
Are you getting 7.1 audio with those settings?
Reply
#5
(09-25-2016, 10:01 AM)FoZo Wrote: Hi
thank you for sharing your setup.
Are you getting 7.1 audio with those settings?

That is a great question and I do not have an answer for you at this time.  While I have 7.1 selected in my settings, I don't have a single file that contains 7.1 audio. The most I have seen in my movie/HDTV recordings has been 5.1 audio.  I will need to try ripping a movie with 7.1 audio....or find a 7.1 audio test file online somewhere.
Reply
#6
(09-28-2016, 04:27 PM)czechr08 Wrote:
(09-25-2016, 10:01 AM)FoZo Wrote: Hi
thank you for sharing your setup.
Are you getting 7.1 audio with those settings?

That is a great question and I do not have an answer for you at this time.  While I have 7.1 selected in my settings, I don't have a single file that contains 7.1 audio. The most I have seen in my movie/HDTV recordings has been 5.1 audio.  I will need to try ripping a movie with 7.1 audio....or find a 7.1 audio test file online somewhere.

But at least 5.1 audio works fine?
Reply
#7
(10-01-2016, 02:02 AM)FoZo Wrote:
(09-28-2016, 04:27 PM)czechr08 Wrote:
(09-25-2016, 10:01 AM)FoZo Wrote: Hi
thank you for sharing your setup.
Are you getting 7.1 audio with those settings?

That is a great question and I do not have an answer for you at this time.  While I have 7.1 selected in my settings, I don't have a single file that contains 7.1 audio. The most I have seen in my movie/HDTV recordings has been 5.1 audio.  I will need to try ripping a movie with 7.1 audio....or find a 7.1 audio test file online somewhere.

But at least 5.1 audio works fine?

While 5.1 works there still remains issues with overall sync between the video and audio. The video tends to stutter without affecting the audio.
Reply
#8
(07-12-2016, 11:21 PM)czechr08 Wrote: While I could not get Kodi to correctly reproduce AC3 audio via pass-through (cuts out for a fraction of a second every 5-10 seconds or so), I have been able to achieve correct AC3 audio reproduction with SPMC.  Playback of recorded mpeg-ts files has been great with no video sync issues or audio issues.  However, I am not getting great playback of live TV (via HDHomerun via tvheadend on an Odroid C1+).  I will need to explore that more, but more than likely it is related to my network/NAS setup.  The best playback experience of NAS mpeg-ts files has been through using Plex / MX player mashup.

My current settings / setup for SPMC is listed out below:
  • Android: 5.1.1 HDMI image release 20160505 64gb version non-rooted
  • SPMC build: SPMC 16.3-0 Git:2016-04-30-22df3d0-dirty
  • CAT 6 cables between as many devices as possible: Pine64 and Fast Ethernet (100/10) Switch which is then connected to my router (not sure if this made a difference as I did not methodically test it, but before CAT 6 I had lesser cables between some of these devices and I know at that time SPMC was not working correctly either)
  • HDMI from Pine64 to Marantz Receiver
SPMC Options:
Videos:
     Playback:
         Adjust display refresh rate: On start / stop
         Sync playback to display: Off
     Acceleration:
         Allow hardware acceleration -MediaCodec

System:
     Audio output:
         Audio output device: Android, RAW Passthrough
         Number of channels: 7.1
         Output Configuration: Fixed
         Limit sampling rate (kHz): 48.0
         Stereo upmix: On
         Maintain original volume on downmix: On
         Resample quality: High
         Enable audio DSP processing: Off

Hopefully someone can build off of this and continue to improve the Pine64 media experience.

Hi,
I tried this setup with the last build (5.1.1 2016-10-19) and spmc 16.4.2 from the playstore. I don't have 5.1 surround. How did you do ? When i set "Output Configuration: Fixed", the passthrough option below is hidden. I only can set passthrough "on" with "Output Configuration: Optimized or Best match". When i set the passthrough option ON, i only get crashed sound. Did you tried that setup with updated software like mine since your post ?
Reply
#9
(11-02-2016, 03:41 PM)lbm34 Wrote:
(07-12-2016, 11:21 PM)czechr08 Wrote: While I could not get Kodi to correctly reproduce AC3 audio via pass-through (cuts out for a fraction of a second every 5-10 seconds or so), I have been able to achieve correct AC3 audio reproduction with SPMC.  Playback of recorded mpeg-ts files has been great with no video sync issues or audio issues.  However, I am not getting great playback of live TV (via HDHomerun via tvheadend on an Odroid C1+).  I will need to explore that more, but more than likely it is related to my network/NAS setup.  The best playback experience of NAS mpeg-ts files has been through using Plex / MX player mashup.

My current settings / setup for SPMC is listed out below:
  • Android: 5.1.1 HDMI image release 20160505 64gb version non-rooted
  • SPMC build: SPMC 16.3-0 Git:2016-04-30-22df3d0-dirty
  • CAT 6 cables between as many devices as possible: Pine64 and Fast Ethernet (100/10) Switch which is then connected to my router (not sure if this made a difference as I did not methodically test it, but before CAT 6 I had lesser cables between some of these devices and I know at that time SPMC was not working correctly either)
  • HDMI from Pine64 to Marantz Receiver
SPMC Options:
Videos:
     Playback:
         Adjust display refresh rate: On start / stop
         Sync playback to display: Off
     Acceleration:
         Allow hardware acceleration -MediaCodec

System:
     Audio output:
         Audio output device: Android, RAW Passthrough
         Number of channels: 7.1
         Output Configuration: Fixed
         Limit sampling rate (kHz): 48.0
         Stereo upmix: On
         Maintain original volume on downmix: On
         Resample quality: High
         Enable audio DSP processing: Off

Hopefully someone can build off of this and continue to improve the Pine64 media experience.

Hi,
I tried this setup with the last build (5.1.1 2016-10-19) and spmc 16.4.2 from the playstore. I don't have 5.1 surround. How did you do ? When i set "Output Configuration: Fixed", the passthrough option below is hidden. I only can set passthrough "on" with "Output Configuration: Optimized or Best match". When i set the passthrough option ON, i only get crashed sound. Did you tried that setup with updated software like mine since your post ?

I originally obtained SPMC via github, not the playstore.  When I have time later tonight I will try getting the latest build from github and see if I can make all the option changes that I could make in 16.3. I have not tried it with the latest android build for Pine64 (5.1.1 2016-10-19). I am still on android build 5.1.1 2016-07-11.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android 6.0 TV analog audio Ophir 2 208 02-02-2017, 03:55 PM
Last Post: Ophir
  HDMI not working gubaguba 7 444 01-25-2017, 09:45 PM
Last Post: MakerLing81
  Netflix and Twitter no longer working Punkyclown 0 170 10-20-2016, 08:45 AM
Last Post: Punkyclown
  3,5mm audio out not working MikkoL 5 226 09-29-2016, 03:24 PM
Last Post: jjmgryphon
  USB Audio? mesaxi 3 210 09-28-2016, 09:45 PM
Last Post: mikey0000
  Touch not working with Android and touch screen erichardson30 5 483 09-13-2016, 11:12 AM
Last Post: MarkHaysHarris777
  USB audio g_t_j 9 504 08-21-2016, 10:20 AM
Last Post: lifeke
  Working sys_config.fex jonsmirl 4 203 07-31-2016, 07:30 PM
Last Post: @lex
  Passthrough Audio Netflix and Plex Android dogger 10 545 07-26-2016, 12:01 PM
Last Post: CaptainZalo
Thumbs Down OTA Update NOT WORKING marco97pa 3 381 07-21-2016, 02:25 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)