Thread: Pcm2Tsmu v1.3
View Single Post
Old 4th June 2008, 17:39   #1  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Pcm2Tsmu v1.3

Pcm2Tsmu is a little utility to convert lpcm files to a format accepted by TsMuxer (lpcm data in blocks with little headers).

Work with pcm data 48/96/192 KHz, 16 or 24 bitdepth, 1 to 8 channels.


Pcm2Tsmu v1.3


Code:
Usage:
 Pcm2Tsmu <input.pcm> [output.pcm] [-i #] [-c #] [-s #]

Where:
 <input.pcm>  must be a lpcm up to 8 channels, int 16/24 bits, 48/96/192 KHz.
              To use STDIN use - as input filename

 [output.pcm] If not present, input.pcm is used suffixed with: _tsm

 [-i #]          BitsPerSample Integer. Default 24. 20 not tested.

 [-c #]          NumChannels. Default 6.

 [-s #]          Samplerate. Default 48000.

Examples:

Pcm2Tsmu stereo16bits.pcm -i 16 -c 2

eac3to MA_7.1.dts stdout.pcm -libav | Pcm2Tsmu - output5.1.pcm

(eac3to -libav only can decode DTS MA-7.1 to 5.1 and always 24 bits, defaults)

If you have ArcSoft decoder

eac3to MA_7.1.dts stdout.pcm | Pcm2Tsmu - output7.1.pcm -c 8

EDIT: This workaround is needed only when wav file (similar uncompressed audio data but with header) go over 4 GB.

Last edited by tebasuna51; 3rd December 2008 at 11:43. Reason: New version and link
tebasuna51 is offline   Reply With Quote