View Full Version : Very Importent TrueHD to PCM Question
rick090
19th October 2008, 00:12
hi everyone.
i'm backing up some bd titles with my bluray burner and since tsMuxer has a bug with TrueHD audio i found a way to convert the TrueHD track to PCM with eac3to.
my question is: is this method keeping the hd data that came with the TrueHD track cos' i dont wanna end up with only the core converted to pcm. is this method keep the original quality as in the TrueHD Track?
thanks.
ps. i dont wanna use progs like "tsRemux" cos its comlicated and doesn't allow me to add subtitles and mux an encoded video track.
rica
19th October 2008, 00:27
Yes this is the right method but you will need to use pcm2Tsmu as well so as to reorganize the created pcm.
jtheripper
19th October 2008, 04:11
How do you use eac3to to convert truehd to pcm?
rica
19th October 2008, 12:27
eac3to input.m2ts output.pcm
odin24
19th October 2008, 14:45
hi everyone.
i'm backing up some bd titles with my bluray burner and since tsMuxer has a bug with TrueHD audio i found a way to convert the TrueHD track to PCM with eac3to.
my question is: is this method keeping the hd data that came with the TrueHD track cos' i dont wanna end up with only the core converted to pcm. is this method keep the original quality as in the TrueHD Track?
thanks.
ps. i dont wanna use progs like "tsRemux" cos its comlicated and doesn't allow me to add subtitles and mux an encoded video track.
As rica stated earlier, you can use eac3to/pcm2tsmu for TrueHD to LPCM for tsMuxeR. While eac3to is working pay attention to the description, libav decodes the TrueHD track (not the AC3 track), then writes the six mono-wavs ---> PCM track. Once this file is done, you still need to use pcm2tsmu for a compatible tsMuxeR PCM file, or else no playback... or
You can keep TrueHD in your BD remux. First mux everything together (TrueHD, video - vc1, or h264 - subs) using tsMuxeR. Then take that m2ts file from the BDMV/STREAM folder and remux everything again using tsremux. It's a little much but you still get the piece of mind know you get to keep TrueHD (and subs)... no chapters though.
Either way, you still need to take two steps to get a comaptible HD audio stream.
odin24
19th October 2008, 14:57
Here's a pic of a TrueHD to pcm conversion using eac3to. I mention earlier about the 6 mono-wavs, that only applies if the output is .wav, not pcm.
http://img225.imageshack.us/img225/6848/33620759sq4.jpg
rick090
19th October 2008, 18:03
thanks for all your help.
odin24, i didnt understand your method about keeping the truehd track.
you telling me that all i have to do is mux everything twice,and that's it??? it will fix the TrueHD muxing?
thanks.
rica
19th October 2008, 19:13
thanks for all your help.
odin24, i didnt understand your method about keeping the truehd track.
you telling me that all i have to do is mux everything twice,and that's it??? it will fix the TrueHD muxing?
thanks.
You may want to have a look at this as well:
http://forum.doom9.org/showthread.php?p=1183559#post1183559
odin24
19th October 2008, 20:47
thanks for all your help.
odin24, i didnt understand your method about keeping the truehd track.
you telling me that all i have to do is mux everything twice,and that's it??? it will fix the TrueHD muxing?
thanks.
Thanks exactly it, this applies for TrueHD though, DTSHD-MA muxes fine with tsMuxeR.
So, once again. Mux with tsMuxeR first, then mux again with tsremux, then burn the BDMV and Cetificate folders from the tsremux process.
Also, the link rica provided has alot of good information on how to process all of these good tracks, you should read through it before you start with your own movies.
peterjcat
20th October 2008, 02:15
You can keep TrueHD in your BD remux. First mux everything together (TrueHD, video - vc1, or h264 - subs) using tsMuxeR. Then take that m2ts file from the BDMV/STREAM folder and remux everything again using tsremux. It's a little much but you still get the piece of mind know you get to keep TrueHD (and subs)... no chapters though.
Either way, you still need to take two steps to get a comaptible HD audio stream.
Does this work for you? I have tried it a few times but have found that remuxing with TsRemux doesn't fix the problems that tsMuxeR causes, although muxing with TsRemux in the first place is fine.
Has anyone else had any luck with the tsMuxeR+TsRemux workflow with TrueHD? What about with TrueHD from an HD DVD turned into an interleaved TrueHD+AC3 by eac3to?
odin24
20th October 2008, 02:27
Does this work for you? I have tried it a few times but have found that remuxing with TsRemux doesn't fix the problems that tsMuxeR causes, although muxing with TsRemux in the first place is fine.
Has anyone else had any luck with the tsMuxeR+TsRemux workflow with TrueHD? What about with TrueHD from an HD DVD turned into an interleaved TrueHD+AC3 by eac3to?
Yeah, it works fine. I watched a movie this afternoon following this workflow.
I guess you could use the source m2ts straight from the BD rip, but my h264 video was recoded to a smaller size, so tsMuxeR was needed to mux to m2ts in the first place.
rick090
20th October 2008, 02:30
odin24, i tryed your method and my ps3 shows "Dolby TrueHD" finaly. but on the computer the sound is kinda studdering.
are you sure this method is better than pcm method?
btw, i had to play with the playlist files and the clip inf files to get the chapters right cos' i'm keeping the original structure.
thanks.
odin24
20th October 2008, 03:06
odin24, i tryed your method and my ps3 shows "Dolby TrueHD" finaly. but on the computer the sound is kinda studdering.
are you sure this method is better than pcm method?
btw, i had to play with the playlist files and the clip inf files to get the chapters right cos' i'm keeping the original structure.
thanks.
I'm not sure if it is better or not, I like this way because it save some disc space... and it's the origianl file, just with dialnorm removed.
It's funny you mention "playing with the playlist and clipinf" files, you wouldn't happen to know how to enable .sup subtitles automatically. I have a small "forced english" subtitle stream, except it's not forced or hardcoded, I just want it to play without having to manually start it.
I have BDedit but I'm not sure how to use it or if it will work at all.
peterjcat
21st October 2008, 00:34
Yeah, it works fine. I watched a movie this afternoon following this workflow.
I guess you could use the source m2ts straight from the BD rip, but my h264 video was recoded to a smaller size, so tsMuxeR was needed to mux to m2ts in the first place.
Yeah it definitely doesn't work for me but I'm trying to play it on a Popcorn Hour A-110. My guess is that tsMuxeR does do something permanent to the TrueHD stream, TsRemux brings it close enough to specifications to be able to play it on certain devices but doesn't completely fix the problem -- not close enough for the PCH anyway.
Still hoping for a tsMuxeR fix...
odin24
21st October 2008, 00:50
Yeah it definitely doesn't work for me but I'm trying to play it on a Popcorn Hour A-110. My guess is that tsMuxeR does do something permanent to the TrueHD stream, TsRemux brings it close enough to specifications to be able to play it on certain devices but doesn't completely fix the problem -- not close enough for the PCH anyway.
Still hoping for a tsMuxeR fix...
You can always transcode to PCM, is that compatible with PCH?
rica
21st October 2008, 01:46
Hi guys.
If you don't have thd gaps, converting thd to pcm would be silly.
THD is similar to a zipped pcm; when you unzip it you will get the original.
THD is shorter than a PCM.
But if you are still living issues in re-creating thd with the method which odin gives, i'm sure you are missing some details.
rick090
21st October 2008, 01:51
hi. unfortunatly i dont know how to force subtitles, i wish i could help you like you helped me, and you still can :)...
somehow i cant tell the difference between DD 5.1 and TrueHD! the movie i was working on have both and i got ps3 and onkyo 606. the ps3 show "TrueHD" and the onkyo show "Multichannel PCM" as the ps3 decode the audio and sent it as PCM, but Kill me if i can tell the difference!
maybe the pcm method would be better? maybe tsmuxer does do permenent damage to the TrueHD track by extracting the core? maybe?
thanks.
peterjcat
21st October 2008, 04:31
You can always transcode to PCM, is that compatible with PCH?
Yeah PCM is fine, I'm just trying to save a bit of space. Can I ask what are you playing back your remuxes with? Are you bitstreaming to a receiver or decoding to LPCM?
odin24
21st October 2008, 04:41
Yeah PCM is fine, I'm just trying to save a bit of space. Can I ask what are you playing back your remuxes with? Are you bitstreaming to a receiver or decoding to LPCM?
BD-re (PS3) for TrueHD and DTSHD-MA, m2ts (PS3 HDD) for PCM if subs are not required.
odin24
21st October 2008, 08:42
hi. unfortunatly i dont know how to force subtitles, i wish i could help you like you helped me, and you still can :)...
somehow i cant tell the difference between DD 5.1 and TrueHD! the movie i was working on have both and i got ps3 and onkyo 606. the ps3 show "TrueHD" and the onkyo show "Multichannel PCM" as the ps3 decode the audio and sent it as PCM, but Kill me if i can tell the difference!
maybe the pcm method would be better? maybe tsmuxer does do permenent damage to the TrueHD track by extracting the core? maybe?
thanks.
Hmmm, I just watch Iron Man with TrueHD using the method I stated above and it sounded great. I did just get my receiver, before I did I started Indy 4 but could not finish it, no that I have the new receiver I think I can give you a better comparison. I'll report back later.
TrueHD/LPCM/DTSHD-MA doesn't neccesarily mean louder audio, but better quality, better clarity, more detail. I'd double check your PS3/Onkyo settings.
EDIT: If you need a good reference, or demo quality TrueHD material, get a copy of Dave Matthews Live at Radio City. It has a 96/24 TrueHD track, it also has a DD 5.1 @ 640kb/s track as well, you can compare for yourself. BTW, awesome BD... amazing sound.
http://bluray.highdefdigest.com/964/davematthews_liveatradiocity.html
rick090
22nd October 2008, 00:48
i actualy checked "the matrix" on bluray which have TrueHD and DD 5.1 tracks and the sound is almost the same. i dont expect it to be louder but i do look for more details.
odin24
22nd October 2008, 01:34
i actualy checked "the matrix" on bluray which have TrueHD and DD 5.1 tracks and the sound is almost the same. i dont expect it to be louder but i do look for more details.
I just watched Indy 4 with TrueHD and I definetly noticed a huge difference (from before I had my TrueHD receiver).
Just like I suggested before, try to get a copy of Dave Matthews Live at Radio City, it has a 96/24 TrueHD track, and a AC3 @ 640kb/s track, if you still cannot tell the difference there is something wrong.
BTW, you are using HDMI for your audio connection, right?
jtheripper
22nd October 2008, 02:10
I also did Iron man by your method and the truhd audio was out of sync. Personally I am just changing all truhd to pcm until they fix tsmuxer. There is only about a 1GB size increase over truhd which on a 25GB BD-R is not going to make a noticable hit on video quality. I would say that on many titles there is not a noticable difference in sound between DD 640 and truhd. There are exceptions like Iron Man, Blade Runner and a few others.
odin24
22nd October 2008, 02:45
I also did Iron man by your method and the truhd audio was out of sync. Personally I am just changing all truhd to pcm until they fix tsmuxer. There is only about a 1GB size increase over truhd which on a 25GB BD-R is not going to make a noticable hit on video quality. I would say that on many titles there is not a noticable difference in sound between DD 640 and truhd. There are exceptions like Iron Man, Blade Runner and a few others.
What steps did you take for your BD processing, Iron Man was my first TrueHD movie using the above method... and no sync, or playback issues. Here's how I did it... from the BD rip to my PC.
1. Using eac3to, directly from the BD structure, demuxed the TrueHD track (audio.thd+ac3)
2. Recoded the main movie to a smaller size.
3. Remuxed the newly recoded h264 file and the demuxed TrueHD track from eac3to (audio.thd+ac3), plus subs using tsMuxeR to m2ts.
4. Muxed that m2ts using tsremux to BD, and burned.
I'm not trying to force you to do things my way, just know that it is possible.
jtheripper
22nd October 2008, 06:50
same except i used tsremux to extract the truehd track from the original bd m2ts. I will try using eacto to extract it.
odin24
22nd October 2008, 07:39
same except i used tsremux to extract the truehd track from the original bd m2ts. I will try using eacto to extract it.
Using eac3to and extracting from the BD structure (not the actual m2ts) will apply any delays necessary, eac3to also removes the dialnorm.
rick090
22nd October 2008, 11:24
Odin24, i do connect my system through HDMI.
can you be more specific about the differences between the m2ts direct method and the demuxed method of eac3to?
is this have an impact on the sound quality?
thanks.
Capsbackup
23rd October 2008, 19:14
Hi odin24, just a newbie question regarding your steps of your BD processing:
1. Using eac3to, directly from the BD structure, demuxed the TrueHD track (audio.thd+ac3)
2. Recoded the main movie to a smaller size.
3. Remuxed the newly recoded h264 file and the demuxed TrueHD track from eac3to (audio.thd+ac3), plus subs using tsMuxeR to m2ts.
4. Muxed that m2ts using tsremux to BD, and burned
Can you remux the newly recoded raw h264 file and your audio and subs with tsremux to Blu-Ray in one step or do you need to remux the raw h264 and audio first, and then run it through tsremux again adding the subs and chapter points and select Blu-Ray output?
odin24
23rd October 2008, 21:37
Odin24, i do connect my system through HDMI.
can you be more specific about the differences between the m2ts direct method and the demuxed method of eac3to?
is this have an impact on the sound quality?
thanks.
Demuxing from the BD structire eac3to reads the MPLS file to see if there are several files to the main movie, chapters, stream information, etc... and also if there are any delays or not. So when you read from the BD structure all of this will be sorted out for you... including any delays.
The very last part of your command prompt will be the Folder Name of which contains the BDMV and Certificate folders.
odin24
23rd October 2008, 21:38
Hi odin24, just a newbie question regarding your steps of your BD processing:
1. Using eac3to, directly from the BD structure, demuxed the TrueHD track (audio.thd+ac3)
2. Recoded the main movie to a smaller size.
3. Remuxed the newly recoded h264 file and the demuxed TrueHD track from eac3to (audio.thd+ac3), plus subs using tsMuxeR to m2ts.
4. Muxed that m2ts using tsremux to BD, and burned
Can you remux the newly recoded raw h264 file and your audio and subs with tsremux to Blu-Ray in one step or do you need to remux the raw h264 and audio first, and then run it through tsremux again adding the subs and chapter points and select Blu-Ray output?
I don't think so... I tried but it didn't work.
cavediver
24th October 2008, 00:08
I've been trying to get the True HD track from Enchanted to work without success. I'm streaming from an HP MSS to a Popcorn Hour A-110. The movie is contained in quite a few m2ts files.
I first tried muxing the files using the AnyDVDHD rip mpls in txMuxer. I chose to mux only the movie files, the truehd track and the engish ac3 track and eliminated all of the other stuff. I muxed to a m2ts file. txMuxer put the files together and the m2ts file plays just fine. However, the TrueHD track won't play, but the ac3 track plays ok.
After much research on this forum and others, I tried running the txMuxer m2ts file through tsremux and again chose to mux to m2ts the only three files tsremux indicated were there: movie, truehd & ac3. The file wouldn't play properly. It stuttered and sputtered, so I deleted the file and tried one more method.
I muxed the AnyDVDHD mpls rip using tsMuxer to blu-ray, (again only choosing the movie, truehd and english ac3 track), then ran the new m2ts file from the "stream" folder through tsremux outputting to blu-ray. I then copied the tsremux m2ts file from the tsremux blu-ray "stream" folder to the MSS and tried to play it on the PCH. The movie played smooth, but again, no TrueHD sound at all. Again, the movie plays fine and I get sound when I choose the ac3 track.
What am I doing wrong here? I know I'm going to encounter this truehd problem with more multiple mt2s movies in the future and I want to figure out how to do this. (BTW, a raw m2ts movie file from an anyDVDHD rip with only one m2ts file and a truehd track plays fine on the PCH). I appreciate any help and suggestions.
rica
24th October 2008, 00:36
cavediver ,
mpls file which contains multiple m2ts files with TrueHD, includes gaps/overlaps which can not be corrected by any program. (while eac3to corrects gaps/overlaps in DTS-HD MA)
So the best method is to upconvert( sorry "unzip" better matches) it to PCM by eac3to (and after; re-orginize it with pcm2TSmu as to be recognized by TSMuxer) or to downconvert it to ac3 (even it is the worst method)
Please try to read this short thread from the beginning.
cavediver
24th October 2008, 00:58
cavediver ,
mpls file which contains multiple m2ts files with TrueHD, includes gaps/overlaps which can not be corrected by any program. (while eac3to corrects gaps/overlaps in DTS-HD MA)
So the best method is to upconvert( sorry "unzip" better suits) it to PCM by eac3to (and after; re-orginize it with pcm2TSmu as to be recognized by TSMuxer) or to downconvert it to ac3 (even it is the worst method)
Please try to read this short thread from the beginning.
I've actually read this whole thread and many others. I'm new to this ripping and streaming blu-ray business. I've figured out how to do the first info command in eac3to which tells me which m2ts file is the main movie file, but have been using BDInfo since its a GUI program and gives basically the same info. TsMuxer GUI was pretty easy to figure out and to use, but all of the command line stuff in eac3to is pretty confusing. I'll try the eac3to extraction, but I'm not sure how to use pcm2TSmu.
cavediver
24th October 2008, 01:04
cavediver ,
mpls file which contains multiple m2ts files with TrueHD, includes gaps/overlaps which can not be corrected by any program. (while eac3to corrects gaps/overlaps in DTS-HD MA)
So the best method is to upconvert( sorry "unzip" better suits) it to PCM by eac3to (and after; re-orginize it with pcm2TSmu as to be recognized by TSMuxer) or to downconvert it to ac3 (even it is the worst method)
Please try to read this short thread from the beginning.
Ok. With a movie like Enchanted, which m2ts file do I use to extract the TrueHD to PCM? Or better yet, what is the proper eac3to command to do the extraction?
rica
24th October 2008, 01:08
Ok. With a movie like Enchanted, which m2ts file do I use to extract the TrueHD to PCM? Or better yet, what is the proper eac3to command to do the extraction?
eac3to input.m2ts output.pcm
Pcm2Tsmu input.pcm output.pcm -i 16 (BitsPerSample Integer.Check this with Media info)
More info:
http://forum.doom9.org/showthread.php?t=138417
EDIT:
This command will give you the info of playlist(s) : (E, is BD driver)
C:\>eac3to E:
1) 00056.mpls, 2:17:14
0+2+6+8+9+12+13+15+16+19+20+21+24+25+26+28+118+119+32+33+34+37+39+40+42+43+45+46+49].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- DTS Master Audio, English, multi-channel, 48khz
2) 00054.mpls, 2:14:45
[0+1+6+7+9+10+13+14+16+17+20+22+24+25+26+27+118+117+32+33+34+37+38+40+41+43+44+46+47].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- DTS Master Audio, English, multi-channel, 48khz
3) 00055.mpls, 2:12:30
[0+2+6+8+9+11+13+15+16+18+20+21+24+26+28+118+119+32+36+37+39+40+42+43+45+46+48].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- DTS Master Audio, English, multi-channel, 48khz
This command line will give you the info of the tracs:
C:\>eac3to E: 1)
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
6: Subtitle (PGS), English
7: Subtitle (PGS), Dutch
8: Subtitle (PGS), Arabic
9: Subtitle (PGS), Bulgarian
10: Subtitle (PGS), Croatian
11: Subtitle (PGS), Czech
12: Subtitle (PGS), Danish
13: Subtitle (PGS), Finnish
14: Subtitle (PGS), Modern Greek
15: Subtitle (PGS), Hebrew
16: Subtitle (PGS), Hindi
17: Subtitle (PGS), Hungarian
18: Subtitle (PGS), Icelandic
19: Subtitle (PGS), Norwegian
20: Subtitle (PGS), Polish
21: Subtitle (PGS), Romanian
22: Subtitle (PGS), Slovenian
23: Subtitle (PGS), Swedish
24: Subtitle (PGS), Turkish
This command will extract video and audio which you want to be demuxed:
C:\>eac3to E: 1) 2: G:\Out\video_BD.h264 4: G\Out_audio.dtshd
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
6: Subtitle (PGS), English
7: Subtitle (PGS), Dutch
8: Subtitle (PGS), Arabic
9: Subtitle (PGS), Bulgarian
10: Subtitle (PGS), Croatian
11: Subtitle (PGS), Czech
12: Subtitle (PGS), Danish
13: Subtitle (PGS), Finnish
14: Subtitle (PGS), Modern Greek
15: Subtitle (PGS), Hebrew
16: Subtitle (PGS), Hindi
17: Subtitle (PGS), Hungarian
18: Subtitle (PGS), Icelandic
19: Subtitle (PGS), Norwegian
20: Subtitle (PGS), Polish
21: Subtitle (PGS), Romanian
22: Subtitle (PGS), Slovenian
23: Subtitle (PGS), Swedish
24: Subtitle (PGS), Turkish
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[v02] Creating file "G:\Out\video_BD.h264"...
[a04] Creating file "G\Out_audio.dtshd"...
[a04] Audio overlaps for 7ms at playtime 0:23:06.
[a04] Audio overlaps for 6ms at playtime 0:26:06.
[a04] Audio overlaps for 11ms at playtime 0:30:37.
[a04] Audio overlaps for 6ms at playtime 0:34:03.
[a04] Audio overlaps for 6ms at playtime 0:37:20.
[a04] Audio overlaps for 7ms at playtime 0:41:25.
[a04] Audio overlaps for 13ms at playtime 0:45:19.
[a04] Audio overlaps for 9ms at playtime 0:58:47.
[a04] Audio overlaps for 12ms at playtime 1:03:58.
[a04] Audio overlaps for 6ms at playtime 1:04:39.
[a04] Audio overlaps for 8ms at playtime 1:13:48.
[a04] Audio overlaps for 10ms at playtime 1:15:44.
[a04] Audio overlaps for 6ms at playtime 1:16:41.
[a04] Audio overlaps for 5ms at playtime 1:20:28.
[a04] Audio overlaps for 9ms at playtime 1:21:15.
[a04] Audio overlaps for 9ms at playtime 1:34:00.
[a04] Audio overlaps for 9ms at playtime 1:34:34.
[a04] Audio overlaps for 10ms at playtime 2:11:04.
[a04] The audio file was demuxed without making use of the gap/overlap informati
on.
[a04] Please rerun the same eac3to command line. That will correct the gaps/over
laps.
Video track 2 contains 197424 frames.
eac3to processing took 1 hour, 13 minutes.
Done.
C:\>eac3to E: 1) 2: G:\Out\video_BD.h264 4: G\Out_audio.dtshd (note:second pass)
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
6: Subtitle (PGS), English
7: Subtitle (PGS), Dutch
8: Subtitle (PGS), Arabic
9: Subtitle (PGS), Bulgarian
10: Subtitle (PGS), Croatian
11: Subtitle (PGS), Czech
12: Subtitle (PGS), Danish
13: Subtitle (PGS), Finnish
14: Subtitle (PGS), Modern Greek
15: Subtitle (PGS), Hebrew
16: Subtitle (PGS), Hindi
17: Subtitle (PGS), Hungarian
18: Subtitle (PGS), Icelandic
19: Subtitle (PGS), Norwegian
20: Subtitle (PGS), Polish
21: Subtitle (PGS), Romanian
22: Subtitle (PGS), Slovenian
23: Subtitle (PGS), Swedish
24: Subtitle (PGS), Turkish
Audio gap description file detected, will be used for processing...
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Realizing DTS gaps...
[v02] Creating file "G:\Out\video_BD.h264"...
[a04] Creating file "G\Out_audio.dtshd"...
Video track 2 contains 197424 frames.
eac3to processing took 1 hour, 12 minutes.
Done.
cavediver
24th October 2008, 01:16
eac3to input.m2ts output.pcm
Pcm2Tsmu input.pcm output.pcm -i 16 (BitsPerSample Integer.Check this with Media info)
More info:
http://forum.doom9.org/showthread.php?t=138417
I got that, but for the input.m2ts command, do I need to input all 20 or so m2ts files? (00120m2ts+00121.m2ts, etc.)? And if so, what is the proper eac3to command to input all of the m2ts files?
rica
24th October 2008, 01:27
I got that, but for the input.m2ts command, do I need to input all 20 or so m2ts files? (00120m2ts+00121.m2ts, etc.)? And if so, what is the proper eac3to command to input all of the m2ts files?
Edited my previous post; instead of "dtshd", you will use "pcm".
command line: eac3to G:\HDBACKUPS\CETK\ 1) 3: G:\HDBACKUPS\audio.pcm
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
6: Subtitle (PGS), English
7: Subtitle (PGS), Dutch
8: Subtitle (PGS), Arabic
9: Subtitle (PGS), Bulgarian
10: Subtitle (PGS), Croatian
11: Subtitle (PGS), Czech
12: Subtitle (PGS), Danish
13: Subtitle (PGS), Finnish
14: Subtitle (PGS), Modern Greek
15: Subtitle (PGS), Hebrew
16: Subtitle (PGS), Hindi
17: Subtitle (PGS), Hungarian
18: Subtitle (PGS), Icelandic
19: Subtitle (PGS), Norwegian
20: Subtitle (PGS), Polish
21: Subtitle (PGS), Romanian
22: Subtitle (PGS), Slovenian
23: Subtitle (PGS), Swedish
24: Subtitle (PGS), Turkish
Audio gap description file detected, will be used for processing...
[a03] Extracting audio track number 3...
[a03] Extracting TrueHD stream...
[a03] Decoding with libav/ffmpeg...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Realizing RAW/PCM gaps...
[a03] Creating file "G:\HDBACKUPS\audio.24bit.pcm"...
[a03] This audio track contains more than 16 bits of information.
[a03] This audio track has a constant bit depth of 24 bits.
Video track 2 contains 197424 frames.
eac3to processing took 39 minutes, 33 seconds.
Done.
odin24
24th October 2008, 02:21
@ rica.
So, I get that nothing can fix gaps/overlaps in thd tracks, but how do they get fixed when up-converting to PCM?
rica
24th October 2008, 02:39
@ rica.
So, I get that nothing can fix gaps/overlaps in thd tracks, but how do they get fixed when up-converting to PCM?
I wish i knew :)
But as we know both DTS-HD (HR) and DTS-HD (MA) can be repaired by eac3to while True-HD can not be.
eac3to gives this report:
"THD gaps/overlaps can not be repaired as technically." (or something like this)
So, i suppose madshi knows why and how. But i think Dolby doesn't like us to figure out the issues right now :)
For the time being, we have to convert them to uncompressed pcm or to lossless flac...
cavediver
24th October 2008, 03:06
rica,
Thanks for your help. I'll give your suggestions a go, and if I do it right, hopefully, I"ll get a good pcm track to use in tsmuxer.
cavediver
24th October 2008, 21:55
I converted the truehd track to pcm with eac3to then ran the file through pcm2tsmu. I then muxed the eac3to h264 file and the pcm file in txmuxer to a m2ts file. It won't play on the Popcorn Hour. The player just freezes on the buffering screen. I then tried to mux the movie file only in txmuxer, unchecked all of the audio files and added the new pcm file and remuxed to m2ts. Again, the Popcorn Hour freezes at the buffering screen. Apparently, the Popcorn Hour does not like the new pcm file. Any suggestions?
rica
24th October 2008, 22:47
Can you add the log.file?
cavediver
25th October 2008, 00:43
What is the log file?
rica
25th October 2008, 01:04
What is the log file?
eac3to creates a log file; a txt file which gives info on what eac3to has done during processing.
You will find a *.log.txt under the folder in which you demuxed video/audio with eac3to.
Here is a sample:
rick090
25th October 2008, 01:07
well, since the TrueHD method is kind of tricky and you can never know if you done it right, i'll stick with the TrueHD to PCM method. Better safe than sorry(for the 10$ 25gb media).
cavediver
25th October 2008, 01:09
Ok. I found it. Here it is.
rica
25th October 2008, 01:12
Ok. I found it. Here it is.
Sorry but i can not open the attached file; can you copy and paste it?
rica
25th October 2008, 01:32
OK,
it's late here;
but i guess you've missed the second pass.
If there are gaps/overlaps /as expected on multi m2ts playlist,
you get something like this on the first pass :
ommand line: eac3to G:\HDBACKUPS\CETK 1) 3: C:\THD\audio_new.pcm
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
6: Subtitle (PGS), English
7: Subtitle (PGS), Dutch
......
[a03] Extracting audio track number 3...
[a03] Extracting TrueHD stream...
[a03] Decoding with libav/ffmpeg...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Creating file "C:\THD\audio_new.24bit.pcm"...
[a03] This audio track contains more than 16 bits of information.
[a03] This audio track has a constant bit depth of 24 bits.
[a03] Audio overlaps for 5ms at playtime 0:58:47.
[a03] Audio overlaps for 5ms at playtime 1:34:34.
[a03] The audio file was demuxed without making use of the gap/overlap information.
[a03] Please rerun the same eac3to command line. That will correct the gaps/overlaps.
Video track 2 contains 197424 frames.
eac3to processing took 26 minutes, 58 seconds.
Done.
eac3to finds out gaps/overlaps onthe first pass and creates a gaps file so as to be used on second pass to correct them.
So, you have to rerun the same command; short way is to hit shift+arrow-together:
Second pass:
ommand line: eac3to G:\HDBACKUPS\CETK 1) 3: C:\THD\audio_new.pcm
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 20 subtitle tracks, 2:17:13
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
5: Subtitle (PGS), English
6: Subtitle (PGS), English
7: Subtitle (PGS), Dutch
Audio gap description file detected, will be used for processing...
[a03] Extracting audio track number 3...
[a03] Extracting TrueHD stream...
[a03] Decoding with libav/ffmpeg...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Realizing RAW/PCM gaps...
[a03] Creating file "C:\THD\audio_new.24bit.pcm"...
[a03] This audio track contains more than 16 bits of information.
[a03] This audio track has a constant bit depth of 24 bits.
Video track 2 contains 197424 frames.
eac3to processing took 33 minutes, 47 seconds.
Done.
cavediver
25th October 2008, 01:40
I ran the exact same command line a second time and eac3to gave the same result. Should I have put something else in the command line on the second pass?
Below is the contents of the log file.
eac3to v2.65
command line: eac3to k:\enchanted 1) 2: k:\out\enchanted_bd.h264 3: k:\enchanted_audio.pcm
------------------------------------------------------------------------------
M2TS, 1 video track, 5 audio tracks, 6 subtitle tracks, 1:47:36
1: Chapters, 2 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: AC3, English, 5.1 channels, 640kbps, 48khz
5: AC3, French, 5.1 channels, 640kbps, 48khz
6: AC3, Spanish, 5.1 channels, 640kbps, 48khz
7: AC3, English, 5.1 channels, 448kbps, 48khz
8: Subtitle (PGS), English
9: Subtitle (PGS), French
10: Subtitle (PGS), Spanish
11: Subtitle (PGS), French
12: Subtitle (PGS), Spanish
13: Subtitle (PGS), English
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Extracting TrueHD stream...
[a03] Decoding with libav/ffmpeg...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Creating file "k:\enchanted_audio.24bit.pcm"...
[a03] This audio track contains more than 16 bits of information.
[v02] Creating file "k:\out\enchanted_bd.h264"...
[a03] This audio track has a constant bit depth of 24 bits.
Video track 2 contains 154815 frames.
eac3to processing took 1 hour, 3 minutes.
Done.
rica
25th October 2008, 01:50
Seem to be not any gaps/overlaps in your case.
Have you ever given it a go with this method?
1)Creating an iso file (UDF 2.5) with ImgBurn.
2)Mounting it to virtual driver created by Virtual Clone DRive.
3)Playing this virtual BD with your favourite player (Cyberlink or TMT?)
If it works with this method; you might have had issues with your Popcorn Hour.
Edit: btw, current version of eac3to is 2.69.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.