Email lists > > Re: [Helix-client-dev] audio/L16 > Re: [Helix-client-dev] audio/L16

Re: [Helix-client-dev] audio/L16




This post if a part of  this thread

2008-06-10 11:24:21
Re: audio/L16

I've been tracking this down today. Not quite worked it out, but getting closer..

A mimetype of audio/L16 seems to end up in aufformat. It then fails in there due to lack of a valid header.

If I hard code the sample rate etc in aufformat then the file can play (via pcm/renderer).

A mimetype of audio/L16;rate=48000;channels=2 just ends up with a NO_RENDERER/FILEFORMAT error presumably because it checks for a match against the complete mimetype string rather than just the stuff before the ';'.

So, I think I need to make the extended mimetype result in the aufformat being loaded and then I need to extract the sample rate etc from the stuff after the ';'.

Does that sound correct ? Also, if you think that should be supported already let me know as I can't see it.

John



Eric Hyche wrote:
EHYCHED620" type="cite">
John,

I would think these streams should play in
datatype/wav/pcm/renderer.

Eric

=============================================
Eric Hyche (real.com">ehychereal.com)
Technical Lead
RealNetworks, Inc.  

  
-----Original Message-----
From: helixcommunity.org">helix-client-dev-bounceshelixcommunity.org 
[helixcommunity.org">mailto:helix-client-dev-bounceshelixcommunity.org] On 
Behalf Of John Stirling
Sent: Tuesday, June 10, 2008 4:57 AM
To: helixcommunity.org">helix-client-devhelixcommunity.org
Subject: Re: [Helix-client-dev] audio/L16


fyi - some sample mime types returned by the dlna tester:


audio/L16;rate=48000;channels=2

audio/L16;rate=44100;channels=1LNA.ORG_PN=LPCM;DLNA.ORG_FLAG
S=81100000000000000000000000000000
audio/L16;rate=44100;channels=2LNA.ORG_PN=LPCM;DLNA.ORG_OP=01


John Stirling wrote: 

	We need to be able to play audio/L16 content (for DLNA 
compliance).
	
	A sample file is here:
	http://copper.reciva.com/audiofiles/B-LPCM-1.pcm
	(obtained via http://issues.simplecenter.org/browse/SC-1074)
	
	Would you expect helix to be able to play this content 
? If so, is there any HELIX_FEATURE we might be missing ?
	
	I can see audio/L16 referenced in the code, but haven't 
dug much further than that. 
	
	We have audplin.so built and can play .au, .wav, .aiff content. 
	
	https://datatype.helixcommunity.org/
	only mentions:

	

	*	Uncompressed PCM from .wav, avi, .aiff or .au 
files and standard RTP streams 
	*	PCM a-law and u-law from .wav, avi or .au files 
and standard RTP streams 


	John
	
	
	

	
	
	
	
________________________________


	_______________________________________________
	Helix-client-dev mailing list
	helixcommunity.org">Helix-client-devhelixcommunity.org
	
http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
	  



    

  

about | contact  Other archives ( Real Estate discussion Medical topics )