Re: [Mjpeg-users] Re: Mplex lpcm bug+fix (1.8.0)

2005-10-13 Thread Steven M. Schultz
On Thu, 13 Oct 2005, bn wrote:

> just ran across an audio test disk with a
> comprehensive set of lpcm varieties at
>http://www.videohelp.com/~jsoto/AudioTests/
...
> Based on the above,
> 
>   whole_unit = channels * bits_per_sample / 4;

Ah, nice and simple and covers all known cases.

The change has been checked in to cvs.

Cheers,
Steven Schultz



---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users


[Mjpeg-users] Re: Mplex lpcm bug+fix (1.8.0)

2005-10-13 Thread bn
Hi again,

just ran across an audio test disk with a
comprehensive set of lpcm varieties at
   http://www.videohelp.com/~jsoto/AudioTests/

No information on what tool was used to author the
tracks, but the payloads appear to be:


LPCM TYPE : payload

Multichannel:
  VTS04: LPCM 16 bits 5.1 : 1992 (multiple of 24*)
  VTS05: LPCM 20 bits 5.1 : 2010 (multiple of 30) 
  
LPCM 96 KHz:
  VTS13: LPCM MONO 96k 16bits : 2008 (multiple of 4*)
  VTS14: LPCM MONO 96k 20bits : 2010 (multiple of 5)
  VTS15: LPCM MONO 96k 24bits : 2010 (multiple of 6)
  VTS16: LPCM STER 96k 16bits : 2008 (multiple of 4,8)
  VTS17: LPCM STER 96k 20bits : 2010 (multiple of 10)
  VTS18: LPCM STER 96k 24bits : 2004 (multiple of 12)

(* Don't understand why these aren't 12 & 2; the
payloads would be 2004 & 2010, and still fit)

I didn't burn the disc, but videolan player, which so
far has behaved exactly the same as my Philips player,
plays the vob files, though strangely the 20 and 24
bit mono tracks are hissy.

Based on the above,

  whole_unit = channels * bits_per_sample / 4;

seems to fit all cases.

regards,
Bahman




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users