Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th June 2008, 17:39 | #1 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
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 |
14th September 2008, 13:43 | #7 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
New version Pcm2Tsmu v1.3 with support for 96 and 192 KHz.
2008-09-14 Pcm2Tsmu v1.3.0.0 + Tested 96 and 192 KHz. Seems work until 6 chan, 24 bits, 192 KHz. 8 chan 192 KHz (16 or 24 bits) are rejected by tsMuxer. |
21st September 2008, 01:33 | #12 | Link |
Registered User
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
|
I'm having an issue with pcm audio created from a TrueHD track. The pcm soundtrack is playing back as white noise. I've included a 1 minute clip of the source, all the extracted files, the file created by pcm2tsmu and the final product remuxed via tsmuxer.
http://www.flowerdayconsulting.com/M...NoiseIssue.zip Last edited by Jeff Flowerday; 21st September 2008 at 01:57. |
21st September 2008, 09:47 | #15 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
Here is the problem: Code:
eac3to v2.63 command line: eac3to SourceHDDVD.m2ts 2: z.pcm --------------------------------------------------------- M2TS, 1 video track, 1 audio track, 0:01:00 1: VC-1, 1080p24 /1.001 (16:9) with pulldown flags 2: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB [a02] Extracting audio track number 2... [a02] Removing TrueHD dialog normalization... [a02] Decoding with libav/ffmpeg... [a02] Swapping endian... [a02] Remapping channels... [a02] Creating file "z.24bit.pcm"... [a02] This audio track has a constant bit depth of 16 bits. [a02] The zero bytes were successfully removed. Video track 1 contains 1454 frames. eac3to processing took 6 seconds. Done. PcmTsmu z.pcm -i 16 We obtain a correct z_tsm.pcm 16 bits (default is 24), 6 chan (default), 48 KHz (default) Often is enough put the log files to see the problem. |
|
21st September 2008, 17:49 | #16 | Link | |
Registered User
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
|
Quote:
Thanks! |
|
24th September 2008, 20:44 | #17 | Link |
Registered User
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
|
What do I do for command line options on this one?
[a04] Creating file "m:\output.24bit.pcm"... [v02] Creating file "m:\output.vc1"... [a04] Creating file "m:\output.ac3"... [a04] Bit depth analyzation: max 24 bits, average 19 bits, most common 16 bits. [a04] Bit depth analyzation: max 24 bits, average 19 bits, most common 16 bits. I assume 24 bit? |
23rd October 2008, 18:35 | #19 | Link |
Registered User
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
|
20 bit:
I was converting the 20 bit DTS-MA audio Ghost Rider to pcm. eac3to indicated a constant bit rate of 20. pcm2tsmu ran fine with -i 20 tsmuxer doesn't recognize the results. I see it's untested, here is a 25 second clip to use for testing. http://www.flowerdayconsulting.com/Misc/clip.zip |
24th October 2008, 03:39 | #20 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
with your clip: Code:
eac3to v2.69 command line: "D:\eac3to.exe" "D:\clip.m2ts" 2: z.pcm ------------------------------------------------------------------------------ M2TS, 1 video track, 1 audio track 1: h264/AVC, 1080p24 /1.001 (16:9) 2: TrueHD/AC3, 5.1 channels, 48khz [a02] Extracting audio track number 2... [a02] Extracting TrueHD stream... [a02] Decoding with libav/ffmpeg... [a02] Swapping endian... [a02] Remapping channels... [a02] This audio track contains more than 16 bits of information. [a02] Creating file "z.24bit.pcm"... [a02] This doesn't seem to be a valid PES packet. Aborted at file position 88342528. Last edited by tebasuna51; 24th October 2008 at 03:41. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|