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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th October 2008, 06:43   #21  |  Link
Jeff Flowerday
Registered User
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
Quote:
Originally Posted by tebasuna51 View Post
DTS-MA 20 bit?

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.
BTW try with -i 24
Yah sorry, TrueHD.

http://bluray.highdefdigest.com/800/ghostrider.html

I ended up just taking the pcm stream from the movie instead. Just thought I'd try the 20 bit TrueHD since it was right in front of me.

Here's a better clip using head instead of tsremux. eac3to likes it.

http://www.flowerdayconsulting.com/Misc/clip2.zip

C:\Users\FlowerdayJ\Videos\Ghost Rider>eac3to clip.m2ts 1: output.h264 2: output
.pcm
M2TS, 1 video track, 5 audio tracks, 12 subtitle tracks, 0:00:21
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3, 5.1 channels, 48khz
3: RAW/PCM, 5.1 channels, 16 bits, 48khz
4: AC3, 5.1 channels, 640kbps, 48khz
5: AC3, 2.0 channels, 192kbps, 48khz
6: AC3, 2.0 channels, 192kbps, 48khz
7: Subtitle (PGS)
8: Subtitle (PGS)
9: Subtitle (PGS)
10: Subtitle (PGS)
11: Subtitle (PGS)
12: Subtitle (PGS)
13: Subtitle (PGS)
14: Subtitle (PGS)
15: Subtitle (PGS)
16: Subtitle (PGS)
17: Subtitle (PGS)
18: Subtitle (PGS)
[v01] Extracting video track number 1...
[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 "output.24bit.pcm"...
[v01] Creating file "output.h264"...
[a02] The original audio track has a constant bit depth of 20 bits.
Video track 1 contains 504 frames.
eac3to processing took 3 seconds.
Done.

Yes -i 24 works. -i 20 didn't.

Last edited by Jeff Flowerday; 24th October 2008 at 07:00.
Jeff Flowerday is offline   Reply With Quote
Old 29th October 2008, 00:48   #22  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by piratburner
I trying to Convert .dtshr to PCM ...

eac3to "DTS Hi-Res, English, 7.1 channels, 24 bits, 864kbps, 48khz.dtshr" LEON.PCM
...

I use Pcm2Tsmu for my pcm track, but adding the file to TsMexer, then is telling me thats is a 5.1 track. And playing the m2ts file is giving me funny nois. Is it a bug in eac3to when converting to PCM
The command you need to convert the 7.1, 24 bits, 48 KHz is:

Pcm2Tsmu LEON.PCM leon_tsmu.pcm -c 8

the default is 6 ch if you don't put anything you create a 5.1.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 29th October 2008, 20:45   #23  |  Link
piratburner
Registered User
 
Join Date: Jul 2008
Posts: 61
Quote:
Originally Posted by tebasuna51 View Post
The command you need to convert the 7.1, 24 bits, 48 KHz is:

Pcm2Tsmu LEON.PCM leon_tsmu.pcm -c 8

the default is 6 ch if you don't put anything you create a 5.1.
Great it works now

So if I have a 16bit PCM i need to add -16 ? right
piratburner is offline   Reply With Quote
Old 29th October 2008, 20:52   #24  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by piratburner View Post
So if I have a 16bit PCM i need to add -16 ? right
exactly -i 16
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 11th November 2008, 00:52   #25  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Hey tebasuna51,

If I run a 16 bit (4608 kb/s) pcm track through your app, why does the output report 24 bit (6912 kb/s) in tsMuxeR? Also, eac3to see's the fixed track as 16 bit and it is the same size as the source.

I'm assuming since there are several similarities the fixed track is actually 16 bit, I'm just curious that's all.

Thanks, O.
odin24 is offline   Reply With Quote
Old 11th November 2008, 01:29   #26  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Look at the previous post.
rica is offline   Reply With Quote
Old 11th November 2008, 02:02   #27  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by odin24 View Post
If I run a 16 bit (4608 kb/s) pcm track through your app, why does the output report 24 bit (6912 kb/s) in tsMuxeR? Also, eac3to see's the fixed track as 16 bit and it is the same size as the source.

I'm assuming since there are several similarities the fixed track is actually 16 bit, I'm just curious that's all.
One more time:

- a lpcm file is just raw audio data without header to say if is 16 or 24 bits, 2 or 6 channels, 48 or 192 KHz. Then a lpcm audio, out of a container, must be supplied with these 3 basic parameters: bitdepth, channels and samplerate.

- the pcm for tsmuxer need some little headers with these data and pcm2tsmu only add these headers bassed in the info you supply.

- You need put the 3 parameters, if you don't put the parameters the defaults are chosen: 24 bits, 6 channels, 48000 Hz.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 11th November 2008, 08:48   #28  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Thanks for the clarification and your patience.
odin24 is offline   Reply With Quote
Old 10th January 2009, 15:55   #29  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
@tebasuna51:

Just wanna say:

I use this program almost every day now, converting my Blu-Rays' HD audio to streamable (PS3) LPCM sound (with eac3to), and using your little program to mux it back in.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 10th January 2009, 17:50   #30  |  Link
idbirch2
Registered User
 
Join Date: Oct 2002
Location: UK
Posts: 680
Thanks from me too, I also use this to get TSMuxer compaibile pcm files due to TrueHD tracks not working when authoring to AVCHD.
idbirch2 is offline   Reply With Quote
Old 30th January 2009, 00:36   #31  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
I have a TrueHD to PCM file that has the two surrounds as a constant 21 bits and the rest 16, how should I process through pcm2tsmu? This is the first time I have encountered this.

By using the -i 16 switch will I lose the data in the surrounds, should I leave as default for a 24 bit file?

Thanks,
odin24 is offline   Reply With Quote
Old 30th January 2009, 04:25   #32  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by tebasuna51 View Post
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)
nice tool thanks for the workaround until TSMUXER is updated!

I am working with the Madshi to test 7.1 decoding with eac3to..he is going to send me some files and ill be testing it with my Onkyo SR-805 7.1 system.
jamos is offline   Reply With Quote
Old 30th January 2009, 04:27   #33  |  Link
jamos
Hey Now!
 
Join Date: Feb 2006
Posts: 812
Quote:
Originally Posted by tebasuna51 View Post
One more time:

- a lpcm file is just raw audio data without header to say if is 16 or 24 bits, 2 or 6 channels, 48 or 192 KHz. Then a lpcm audio, out of a container, must be supplied with these 3 basic parameters: bitdepth, channels and samplerate.

- the pcm for tsmuxer need some little headers with these data and pcm2tsmu only add these headers bassed in the info you supply.

- You need put the 3 parameters, if you don't put the parameters the defaults are chosen: 24 bits, 6 channels, 48000 Hz.

lpcm only supports up to 6 channels?? the wierd thing is lpcm output from my ps3 natively puts out 8 (7.1).

Last edited by jamos; 30th January 2009 at 04:29.
jamos is offline   Reply With Quote
Old 30th January 2009, 04:42   #34  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by jamos View Post
lpcm only supports up to 6 channels?? the wierd thing is lpcm output from my ps3 natively puts out 8 (7.1).
Of course LPCM supports 8 channels -- would be a pretty frakked up thing if it did'n't.
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 30th January 2009, 12:26   #35  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
You can see the Changelog.txt included in the package:
Code:
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.

2008-06-04 Pcm2Tsmu v1.2.0.0

+ Tested channels 1 to 8, 16-24 bits, only 48 KHz

...
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 30th January 2009, 12:44   #36  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by odin24 View Post
I have a TrueHD to PCM file that has the two surrounds as a constant 21 bits and the rest 16, how should I process through pcm2tsmu? This is the first time I have encountered this.
Seems the surrounds channels are made with some artificial method from the front channels (16 bitdepth).
You don't lose very much if you use 16 bits for all.

Quote:
By using the -i 16 switch will I lose the data in the surrounds, should I leave as default for a 24 bit file?
But isn't the method, you must put the bitdepth of the eac3to output (probably 24) because Pcm2Tsmu don't process the data, only put headers.

The correct method (for 5.1-48 KHz) may be:

eac3to <track.thd> stdout.pcm -down16 | PcmTsmu - track.pcm -i 16
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 30th January 2009, 13:42   #37  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Quote:
Originally Posted by tebasuna51 View Post
Seems the surrounds channels are made with some artificial method from the front channels (16 bitdepth).
You don't lose very much if you use 16 bits for all.



But isn't the method, you must put the bitdepth of the eac3to output (probably 24) because Pcm2Tsmu don't process the data, only put headers.

The correct method (for 5.1-48 KHz) may be:

eac3to <track.thd> stdout.pcm -down16 | PcmTsmu - track.pcm -i 16
Initially I didn't know that the bit depths were different, I processed as usual;

eac3to <track.thd+ac3> newtrack.pcm

Then wait for the log and the bitdepth, then process accordingly through pcm2tsmu. I can still reprocess the THD track. Thanks for the response.
odin24 is offline   Reply With Quote
Old 30th January 2009, 18:47   #38  |  Link
Poseidon79
Registered User
 
Join Date: Jan 2009
Posts: 18
So if I'm using the GUI form of eac3to to extract the HD audio stream would I want to extract it as WAV or RAW (since I don't have a PCM choice) before I use Pcm2Tsmu to convert to a pcm file? I want to stream PCM to my PS3. I don't want to down convert to AC3.

Basically extract to WAV (or RAW) which is LPCM and process with Pcm2Tsmu for tsmuxer compatibility?

Last edited by Poseidon79; 30th January 2009 at 19:52.
Poseidon79 is offline   Reply With Quote
Old 1st February 2009, 00:47   #39  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Poseidon79 View Post
So if I'm using the GUI form of eac3to to extract the HD audio stream would I want to extract it as WAV or RAW (since I don't have a PCM choice) before I use Pcm2Tsmu to convert to a pcm file? I want to stream PCM to my PS3. I don't want to down convert to AC3.

Basically extract to WAV (or RAW) which is LPCM and process with Pcm2Tsmu for tsmuxer compatibility?
If wav file is <4GB you can load the wav file in TsMuxer.

If wav file is >4GB you can't. You need convert to LPCM (different byte and channel order than WAV orRAW) and use Pcm2Tsmu.

Try with yr_eac3to_more_gui
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 7th February 2009, 21:30   #40  |  Link
trino
Registered User
 
Join Date: Feb 2003
Posts: 12
Quote:
Originally Posted by idbirch2 View Post
Thanks from me too, I also use this to get TSMuxer compaibile pcm files due to TrueHD tracks not working when authoring to AVCHD.
I'm also using AVCHD (and the manager) with my PS3...
I wrote a scipt that fully automates (with certain prompts)...
  • eac3to to get stream data, chapter info and framerate
  • tsmuxer to mux my selected streams and break at 4gb

I didn't realize that tsmuxer has been messing up all my trueHD audio...damn.

Can someone here PLEASE walk me through the steps I need to take to make this pcm2tsmu work for me?

trino is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.