Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

How to input HDMI multichannel audio to PC (for processing)
How to input HDMI multichannel audio to PC (for processing)
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 25th October 2019, 07:55 PM   #1
mga2009 is offline mga2009
diyAudio Member
 
Join Date: Nov 2015
Default How to input HDMI multichannel audio to PC (for processing)

Hi,

I would like to know if there is a way (#cheap) to input multichannel digital audio (uncompressed) to my PC for processing thru EqualizerAPO (and rePhase).

The thing is, almost all my media come from my HTPC (movies, music, netflix, games, etc.), so sound process that is no problem. The only product that it's left apart is my Playstation 4.

Getting a Blackmagic Intensity capture device it's a little too much, as I don't need to input video, only audio to my PC (besides it seems it only caputres stereo sound from HDMI). I've searched soundcards with HDMI input, and found a couple from ASUS but they are almost 10 years old! (HDMI v1.3 and such).

Is there any other way I am not finding?

My idea is:

Playstation 4 --> HDMI Splitter --> 1st HDMI to TV and the 2nd to HDMI input to HTPC

-. I know I will need my htpc turned on to have sound;
-. I know I might get a delay between video and audio;
-. I know it only would work with uncompressed unencrypted audio and not bitstreamed, possibly losing ATMOS or DTS-X on future games or consoles (or other HDMI devices).

Thanks and looking forward to your enlightment
  Reply With Quote
Old 26th October 2019, 08:20 PM   #2
wealas is offline wealas
diyAudio Member
 
Join Date: Apr 2017
If you have the optical out on your PS4 use that. There seem to be a number of usb options if your HTPC audio card doesn't already have optical in.
  Reply With Quote
Old 26th October 2019, 11:14 PM   #3
mga2009 is offline mga2009
diyAudio Member
 
Join Date: Nov 2015
Quote:
Originally Posted by wealas View Post
If you have the optical out on your PS4 use that. There seem to be a number of usb options if your HTPC audio card doesn't already have optical in.
I thought optical only can output multichannel when bitstreaming, and not uncompressed PCM.

If I input bitstreamed audio to my PC I think I can not process it without decode it... or am i wrong?
  Reply With Quote
Old 27th October 2019, 07:37 AM   #4
wealas is offline wealas
diyAudio Member
 
Join Date: Apr 2017
From what I can see online, it's a setting - you can set the audio format to bit stream or PCM and people say it can do up to 7.1 in PCM.
  Reply With Quote
Old 27th October 2019, 05:47 PM   #5
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
SPDIF (toslink) is stereo 192kHz/24bit max for the PCM format. Multichannel in compressed formats only.
  Reply With Quote
Old 27th October 2019, 11:04 PM   #6
mga2009 is offline mga2009
diyAudio Member
 
Join Date: Nov 2015
Quote:
Originally Posted by wealas View Post
From what I can see online, it's a setting - you can set the audio format to bit stream or PCM and people say it can do up to 7.1 in PCM.
Only 5.1 when bitstreamed...

Quote:
Originally Posted by phofman View Post
SPDIF (toslink) is stereo 192kHz/24bit max for the PCM format. Multichannel in compressed formats only.
Thats what I thought. With that in mind... is there any way to capture multichannel PCM?
  Reply With Quote
Old 28th October 2019, 02:49 AM   #7
mga2009 is offline mga2009
diyAudio Member
 
Join Date: Nov 2015
Found some very relevant info here:

The Inconvenient Truth about SPDIF Input! - AVS Forum | Home Theater Discussions And Reviews

The thread is very old, and the posible solutions are limited... even when using SPDIF to input audio to PC, almost no soundcard can decode Dolby coming from SPDIF, so you are stuck with 2.0PCM.

Basically, what I am trying to do is, kind of, use my PC to replace my AVR... itīs weird that there is no DIY nor commercial product that can do that, considering the incredible open source software that is available for PCs. If everything comes from the PC, then you are good to go, but If you have another source (PS4,XBOX,etc.) then you don't have a choice.

You could make a little PC with some powerful software (rePHASE and APO) that would rival a miniDSP 4x8 or any entre pre/pro for a fraction of the price.

Last edited by mga2009; 28th October 2019 at 02:57 AM.
  Reply With Quote
Old 28th October 2019, 09:52 AM   #8
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
That article is a typical MS Windows result - software and hardware capabilites are mixed together, by using closed-source system the author does not (cannot) distinguish between the two.

Very few soundcards have internal firmware capable of encoding/decoding non-PCM streams (maybe some XFis, maybe). Vast majority of cards have this feature coded in their "drivers". I put drivers into double quotes, because what people install in windows are the actual drivers + user-space utilities working with the audio stream + GUI control utilities.

Any soundcard with SPDIF input can receive non-PCM stream, provided it has regular 44.1/48kHz clock frequency. I do not know of DVD players, but any computer-based HTPC (or game console) uses a regular soundcard which cannot output e.g. 650kbps for AC3, but uses zero-padded stream at 1,536kbps (48/16/2). That stream is a regular SPDIF at 48kHz. PCM vs. non-PCM stream is just a flag in the SPDIF preamble which is not compulsory (non-PCM streams have a frame with specific byte code). Packages like ffmpeg, mplayer, vlc should be able to record from SPDIF, decode automatically, and pass the PCM stream on. I have no idea if it works in windows (I do not know the internal details of the windows audio subsystem), but certainly no reason not to work in linux. At any time can you view spdif preamble flags with iecset iecset(1): Set/dump IEC958 status bits - Linux man page
  Reply With Quote
Old 28th October 2019, 03:28 PM   #9
mga2009 is offline mga2009
diyAudio Member
 
Join Date: Nov 2015
Quote:
Originally Posted by phofman View Post
That article is a typical MS Windows result - software and hardware capabilites are mixed together, by using closed-source system the author does not (cannot) distinguish between the two.

Very few soundcards have internal firmware capable of encoding/decoding non-PCM streams (maybe some XFis, maybe). Vast majority of cards have this feature coded in their "drivers". I put drivers into double quotes, because what people install in windows are the actual drivers + user-space utilities working with the audio stream + GUI control utilities.

Any soundcard with SPDIF input can receive non-PCM stream, provided it has regular 44.1/48kHz clock frequency. I do not know of DVD players, but any computer-based HTPC (or game console) uses a regular soundcard which cannot output e.g. 650kbps for AC3, but uses zero-padded stream at 1,536kbps (48/16/2). That stream is a regular SPDIF at 48kHz. PCM vs. non-PCM stream is just a flag in the SPDIF preamble which is not compulsory (non-PCM streams have a frame with specific byte code). Packages like ffmpeg, mplayer, vlc should be able to record from SPDIF, decode automatically, and pass the PCM stream on. I have no idea if it works in windows (I do not know the internal details of the windows audio subsystem), but certainly no reason not to work in linux. At any time can you view spdif preamble flags with iecset iecset(1): Set/dump IEC958 status bits - Linux man page
Thanks for your reply! Although it is much more technical that what I can understand, I think that what you are saying is that the problem is Windows based, and that with Linux it would be more feasible?
  Reply With Quote
Old 28th October 2019, 04:26 PM   #10
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by mga2009 View Post
Although it is much more technical that what I can understand
It is not more technical than anyone who wants to discuss and reason out in this area should understand. It is the basics - what SPDIF is, how it works, how soundcards work with relation to SPDIF input, how PCM and non-PCM formats are handled in software.

Quote:
I think that what you are saying is that the problem is Windows based, and that with Linux it would be more feasible?
I am not saying there is any problem. All you need is bitperfect recording from SPDIF input and software which can autodetect the respective syncwords in the incoming stream ( links in Maximum Bitrate for AC3 Audio? - VideoHelp Forum ) and decode the compressed stream to multichannel PCM. Windows ASIO for sure can record bitperfectly, no idea about the many mostly incompatible audio subsystems MS has developed throughout the years. Linux has supported bitperfect audio access for 20 years.

Last edited by phofman; 28th October 2019 at 04:29 PM.
  Reply With Quote

Reply


How to input HDMI multichannel audio to PC (for processing)Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPI: Multichannel PCM over HDMI keylimesoda PC Based 0 28th January 2016 08:55 PM
Hdmi input to digital audio out fernfrost Parts 13 15th January 2016 08:15 AM
HTPC HDMI Multichannel LPCM -> Digital XO steph_tsf Digital Line Level 8 22nd November 2013 06:02 PM
IC with SPDIF input to USB or 1394 (or with HDMI input for audio stream) VickHard Digital Source 2 26th March 2010 03:17 AM
What was/is the pinnacle of multichannel processing? leadbelly Analog Line Level 1 18th July 2005 11:51 PM


New To Site? Need Help?

All times are GMT. The time now is 07:43 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio
Wiki