IPB

Welcome Guest ( Log In | Register )

Multichannel LPCM audio playback
arnymars
post Jun 1 2012, 06:20
Post #1





Group: Members
Posts: 28
Joined: 1-March 08
Member No.: 51701



Can someone suggest soft audio or media player that can directly play 5.1 LPCM audio? Pls don't tell that any player can, because in my experience NONE can. What plugins should I use to enable Foobar2000 play 5.1 LPCM?

Also, what utility can show media info data of a multichannel LPCM file? I tried MediaInfo and Gspot - they can't show any info about LPCM file.

What Media Server can transcode 5.1 Flac to 5.1 LPCM, and stream it to a Samsung BD Player over LAN?

This post has been edited by arnymars: Jun 1 2012, 06:21
Go to the top of the page
+Quote Post
 
Start new topic
Replies
lvqcl
post Jun 8 2012, 15:30
Post #2





Group: Developer
Posts: 3357
Joined: 2-December 07
Member No.: 49183



QUOTE (arnymars @ Jun 8 2012, 07:26) *
I also know of some video players like VLC and Daum PotPlayer that claim to play multichannel LPCM - possibly only when muxed with video, assuming such mux carries some info about audio.

And many audio players can play multichannel LPCM if it is "muxed" into WAV, MKA, FLAC etc.

QUOTE (arnymars @ Jun 8 2012, 07:26) *
Of course, one can transcode LPCM to WAV, but the task was to stream LPCM from an audio player to a BD Player connected to an A/V Receiver for playback.

A player should be able to read WAV/FLAC/MP3/... files, decode, and send LPCM stream to your BD player. LPCM files are useless and unnecessary for your task.
Go to the top of the page
+Quote Post
grizz
post Sep 15 2012, 16:15
Post #3





Group: Members
Posts: 1
Joined: 15-September 12
Member No.: 103172



QUOTE (lvqcl @ Jun 8 2012, 15:30) *
QUOTE (arnymars @ Jun 8 2012, 07:26) *
I also know of some video players like VLC and Daum PotPlayer that claim to play multichannel LPCM - possibly only when muxed with video, assuming such mux carries some info about audio.

And many audio players can play multichannel LPCM if it is "muxed" into WAV, MKA, FLAC etc.

QUOTE (arnymars @ Jun 8 2012, 07:26) *
Of course, one can transcode LPCM to WAV, but the task was to stream LPCM from an audio player to a BD Player connected to an A/V Receiver for playback.

A player should be able to read WAV/FLAC/MP3/... files, decode, and send LPCM stream to your BD player. LPCM files are useless and unnecessary for your task.


I've just spent a long time trying to get Mediatomb to transcode FLAC to a format that VLC, Foobar2000 and my Android phone can understand, and I can tell you this: Foobar2000 accepts LPCM with a mimetype of "audio/L16", which as far as I'm aware means 16-bit LPCM (44.1Khz is implied by the standard I think). VLC doesn't take it. VLC does, however, accept an LPCM stream if it's simply given the mimetype of "audio/wav", whereas Foobar doesn't like it when you do that and refuses to play ball. Both Foobar and my phone (Desire S) were perfectly happy for the LPCM stream to have a mimetype of "audio/L16", but seeking didn't work (as is to be expected when transcoding). Here's the interesting thing: when I fooled VLC by using the "audio/wav" mimetype both VLC and my phone were able to seek back and forth in the buffered part of the file.

I don't know exactly what information goes into the WAV header, but if the byte order is correct (the RIFF standard is big-endian is it not? WAV is a little-endian format, I know that) then there should be nothing stopping the BD player from accepting the stream apart from the wrapper. I also don't know how much information Mediatomb supplies with the stream based on the mimetype.

QUOTE
Also, what utility can show media info data of a multichannel LPCM file?


This is an interesting one, as an LPCM file can't contain such information. However, my phone now has a (UPnP) media library full of files that are neatly tagged and yet are ostensibly 44.1Khz WAVs. I'm pretty sure VLC couldn't manage that, but Mediatomb does it.

So: as far as the OP's question goes (assuming he's still struggling three months down the line), I'd suggest Mediatombe. All the stream parameters can be changed with xml and a few command line options to flac and ffmpeg. I've had it transcoding stereo FLAC into various formats and being picked up by Foobar, VLC and my phone (but unfortunately not all three simultaneously because Foobar doesn't like being lied to about mimetype and VLC can't handle the raw, headerless truth). I haven't tried with 5.1, but I don't have a 5.1 system crying.gif

Also, has the OP tried streaming from VLC with the RAW encapsulation? I think if he were to stream a WAV with no header (that's what RAW does, right?) then that would essentially be L16.
If I've written something blindingly stupid please be nice - this is just my understanding from trial and error.

This post has been edited by grizz: Sep 15 2012, 16:57
Go to the top of the page
+Quote Post
krabapple
post Sep 16 2012, 17:55
Post #4





Group: Members
Posts: 2216
Joined: 18-December 03
Member No.: 10538



QUOTE (grizz @ Sep 15 2012, 11:15) *
I've just spent a long time trying to get Mediatomb to transcode FLAC to a format that VLC, Foobar2000 and my Android phone can understand, and I can tell you this: Foobar2000 accepts LPCM with a mimetype of "audio/L16", which as far as I'm aware means 16-bit LPCM (44.1Khz is implied by the standard I think). VLC doesn't take it. VLC does, however, accept an LPCM stream if it's simply given the mimetype of "audio/wav", whereas Foobar doesn't like it when you do that and refuses to play ball. Both Foobar and my phone (Desire S) were perfectly happy for the LPCM stream to have a mimetype of "audio/L16", but seeking didn't work (as is to be expected when transcoding). Here's the interesting thing: when I fooled VLC by using the "audio/wav" mimetype both VLC and my phone were able to seek back and forth in the buffered part of the file.


I have dozens of multichannel MLPCM and LPCM audio files that I've ripped from my DVD-A collection as multichannel .wav (using either DVD Audio Extractor or DVDA Extractor), and converted to FLAC. Foobar2000 has no problem playing them via HDMI + WASAPI. I've never had to check the mimetype. Most are 48kHz or higher SR, 24 bit format, and retain that format identification when examined in foobar Properties or in Audition.

This post has been edited by krabapple: Sep 16 2012, 17:59
Go to the top of the page
+Quote Post

Posts in this topic
- arnymars   Multichannel LPCM audio playback   Jun 1 2012, 06:20
- - slks   I've never had a problem playing multichannel ...   Jun 2 2012, 12:22
|- - arnymars   QUOTE (slks @ Jun 2 2012, 05:22) I've...   Jun 6 2012, 20:06
|- - krabapple   QUOTE (slks @ Jun 2 2012, 07:22) I've...   Jun 6 2012, 22:22
- - Ceniza   foobar2000 can indeed play 5.1 audio. That's w...   Jun 2 2012, 15:09
|- - JimH   QUOTE (Ceniza @ Jun 2 2012, 09:09) S/PDIF...   Jun 2 2012, 22:41
||- - Ceniza   QUOTE (JimH @ Jun 2 2012, 23:41) That...   Jun 3 2012, 08:43
||- - probedb   QUOTE (Ceniza @ Jun 3 2012, 08:43) The S/...   Jun 3 2012, 23:24
||- - phofman   QUOTE (probedb @ Jun 4 2012, 00:24) I can...   Jun 4 2012, 08:33
||- - probedb   QUOTE (phofman @ Jun 4 2012, 08:33) QUOTE...   Jun 4 2012, 12:51
||- - phofman   QUOTE (probedb @ Jun 4 2012, 13:51) QUOTE...   Jun 4 2012, 13:33
||- - Ceniza   QUOTE (probedb @ Jun 4 2012, 13:51) Can y...   Jun 4 2012, 15:23
|- - andy o   QUOTE (Ceniza @ Jun 2 2012, 07:09) foobar...   Jun 3 2012, 08:18
- - LithosZA   QUOTE The S/PDIF in my soundcard that goes out of ...   Jun 3 2012, 10:12
- - andy o   SPDIF can carry 96kHz (tried myself over optical) ...   Jun 4 2012, 03:56
- - lvqcl   How can a player find samplerate and number of cha...   Jun 6 2012, 20:38
- - slks   Nope, I don't mean by S/PDIF - I've never ...   Jun 7 2012, 08:06
- - arnymars   Audacity allows to import multichannel raw files, ...   Jun 8 2012, 04:26
|- - phofman   QUOTE (arnymars @ Jun 8 2012, 05:26) Auda...   Jun 8 2012, 08:23
- - lvqcl   QUOTE (arnymars @ Jun 8 2012, 07:26) I al...   Jun 8 2012, 15:30
|- - grizz   QUOTE (lvqcl @ Jun 8 2012, 15:30) QUOTE (...   Sep 15 2012, 16:15
||- - krabapple   QUOTE (grizz @ Sep 15 2012, 11:15) I...   Sep 16 2012, 17:55
|- - Arnold B. Krueger   QUOTE (lvqcl @ Jun 8 2012, 10:30) QUOTE (...   Sep 16 2012, 13:31
- - wysiwyg   I'm upping this old topic with a suggestion an...   Feb 21 2014, 22:18
- - wysiwyg   I just got the answer on another forum. I'll s...   Feb 21 2014, 23:52


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st August 2014 - 13:20