View Full Version : eac3to - audio conversion tool
deathlord
6th May 2008, 16:38
So I thought it'd make sense to convert all 6.1 stuff to 7.1
I have a 7.1 setup, so I'm happy with that. :)
Though maybe you should lower the volume a bit, because simply doubling the channel would make it too loud?
In any event, should you decide to disable the doubling, please make it an option!
Rectal Prolapse
6th May 2008, 16:44
Keep in mind that Sonic Scenarist 4.2 has a problem handling WAV files > 4 GB. So even commercial apps can be no better than the free stuff. :)
Inventive Software
6th May 2008, 16:45
Keep in mind that Sonic Scenarist 4.2 has a problem handling WAV files > 4 GB. So even commercial apps can be no better than the free stuff. :)
You could of course get around that completely and use FLAC....
Rectal Prolapse
6th May 2008, 17:03
Scenarist handles FLAC? I didn't know that! (I don't have scenarist btw - but I've seen posts about it)
EPiPH0NE
6th May 2008, 17:32
Keep in mind that Sonic Scenarist 4.2 has a problem handling WAV files > 4 GB. So even commercial apps can be no better than the free stuff. :)
Well crap to that then. Do the newer versions 4.3 or 4.5 fix any of this?
EPiPH0NE
6th May 2008, 17:33
You could of course get around that completely and use FLAC....
Multi channel FLAC is not supported on my player.
EPiPH0NE
6th May 2008, 17:50
Hmmmm... That's strange. Try "eac3to source.m2ts 4: dest.wav -extensible". Does that work? Or try without "-extensible", then do another pass "eac3to dest.wav dest2.wav -extensible". Does that work?
Yes my full command included "eac3to source.m2ts 4:' I didn't want to oput the whole CMD line for security reasons. I am trying:
eac3to dest.m2ts dest2.wav
Then will do:
eac3to.exe dest2.wav dest3.wav -extensible
Seeing as my version of Scenarist BDA has probs with >4GB WAV files, I'm guessing this is fixed in newer versions, I will still be at square one unless there is way for me to properly join my other segmented files in Scenarist but I doubt that either.
Chouonsoku
6th May 2008, 19:27
I've got something new going on with a seamless branching disc. Since the latest versions of eac3to support seamless branching I decided to give Nine Inch Nails: Beside You in Time another try.
F:\Video\Movies>eac3to HALO_22
1) 00000.mpls (angle 1), 1:32:30
[0+29+31+28+27].m2ts
- VC-1, 1080i30 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
2) 00000.mpls (angle 2), 1:32:30
[0+30+31+28+27].m2ts
- VC-1, 1080i30 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
3) 00006.mpls, 00010.m2ts, 0:19:05
- VC-1, 1080i30 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
eac3to v2.45
command line: eac3to HALO_22 1) -demux
------------------------------------------------------------------------------
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
M2TS, 1 video track, 2 audio tracks, 1:32:30
1: Chapters, 22 chapters
2: VC-1, 1080i60 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: AC3, English, 2.0 channels, 256kbit/s, 48khz
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
Creating file "00000 - Chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Extracting audio track number 3...
[a04] Extracting audio track number 4...
[a03] Extracting AC3 stream...
[a03] Extracting TrueHD stream...
[a03] Creating file "00000 - 3 - TrueHD+AC3, English, 5.1 channels, 48khz.thd"...
[v02] Creating file "00000 - 2 - VC-1, 1080i60.vc1"...
[a03] Creating file "00000 - 3 - TrueHD+AC3, English, 5.1 channels, 48khz.ac3"...
[a04] Creating file "00000 - 4 - AC3, English, 2.0 channels, 256kbps, 48khz.ac3"...
[a03] The program channel mapping changes in the middle of the stream.
[v02] The program channel mapping changes in the middle of the stream.
[a03] The program channel mapping changes in the middle of the stream.
[a04] The program channel mapping changes in the middle of the stream.
Aborted at file position 16586463232.
This has been a pain in the ass disc since the day I bought it, and every time I try to fool around with it again, something new stops me. >.<
Edit: I've also tried using 2) instead of 1), but I get the same error.
jchappo
6th May 2008, 21:56
How often do I need to explain this? The studio created LPCM track works because it's stored inside of an m2ts container and not inside of the WAV container. If you put the studio created LPCM track into a WAV container, TsMuxer would fail to work correctly, too.
Excuse my ignorance madshi, I'm still learning. I'm not saying there is anything wrong with eac3to, I am just trying to find a solution to this problem. I imagine there will be many more people like myself who have this same problem in the recent future.
EPiPH0NE
6th May 2008, 22:14
Excuse my ignorance madshi, I'm still learning. I'm not saying there is anything wrong with eac3to, I am just trying to find a solution to this problem. I imagine there will be many more people like myself who have this same problem in the recent future.
Yeah it seems you will need to use Scenarist BDA 4.3 or above to be able to do proper DTS-MA/TrueHD -> PCM/WAV conversions as tsMuxeR needs to support multi mono WAV like Scenarist does for this to happen for the open source peeps. Madshi already said this but I'll say it again for good measure.
wildchild22
6th May 2008, 22:55
I have spiderman2 bluray with truehd converted to lpcm. It cannot be done without scenarist as of yet. After scenarist builds the file. You can demux the file into elementry streams and rebuild it and the audio is perfect with lpcm no 20% freezeup . However if you choose to demux and remux you need to use the append button as the audio gets split into two wav files.
Also when you import a wav file from eac3to into tsmuxer. Ts muxer says it s applying default channel information while the wav from scenarist doesnt do this so I am guessing that scenarist must add something different to the header. here is the first few lines of the scenarist file opened using XVI32 ( all you have to do is copy the garbled mess below into notepad then save it as a file then open it with xvi32 I think this may have relevant info )
RIFFüñÿWAVEfmt ( þÿ €» /
? € ª 8›qdataÀñÿ
jchappo
6th May 2008, 23:44
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Can eac3to be made to create the decompressed audio into this format? It could be a new output option like -popcorn?
wildchild22
6th May 2008, 23:52
here is the hex edit from the eac3to wav file
RIFFêÿ~WAVEfmt €» /
dataÆÿ~
nautilus7
7th May 2008, 00:01
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Can eac3to be made to create the decompressed audio into this format? It could be a new output option like -popcorn?
How did you demuxed it?
jchappo
7th May 2008, 01:43
using tsremux
tebasuna51
7th May 2008, 03:08
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Please upload first 20MB from this LPCM file recognized by TsMuxer
@wildchild22, here you have two links about wav header:
http://ccrma.stanford.edu/CCRMA/Courses/422/projects/WaveFormat/
http://www.lightlink.com/tjweber/StripWav/Canon.html
The RIFF ChunkSize must be FileLength - 8 and the Data SubChunkSize can be FileLength - 44, both fields have 4 bytes.
How can you hexedit 4 bytes to put a number greater than 2^32 (4 GB)?
jchappo
7th May 2008, 03:43
Here is the first 20mb:
http://hd-r-us.kicks-ass.net/public/output.wav.001
I checked, and this chunk is recognized by TsMuxer.
Also, the solution may not involve the WAV container, because it obviously doesn't support file size > 4gb.
Hi,
I am trying to convert - using eac3to - BR Pirates of the Carribean - Deadman's Chest and the resultant mkv video height is about 30% shorter than the source m2ts file. I then demuxed using eac3to and the resultant h264 file matches the source. I then used mkvmerge to convert the h264 file and the resultant mkv video is again about 30% shorter than the source h264 video.
Is there an option that I need to use or is this a bug in the mkv code?
Hi,
I am trying to convert - using eac3to - BR Pirates of the Carribean - Deadman's Chest and the resultant mkv video height is about 30% shorter than the source m2ts file. I then demuxed using eac3to and the resultant h264 file matches the source. I then used mkvmerge to convert the h264 file and the resultant mkv video is again about 30% shorter than the source h264 video.
Is there an option that I need to use or is this a bug in the mkv code?
ok. I solved my own problem. It is not an mkv issue. The issue is with the h264 decoder in ffdshow. Nero 8 uses it's own internal codecs and plays the mkv video properly. If I disable libavcodec as the default codec for h264 in ffdshow then WMP will use the Nero codec and the mkv then plays back properly. I will have to check to see if there is an update to ffdshow to fix this issue.
Anyway, not sure why it did not affect other mkv videos.
nautilus7
7th May 2008, 10:13
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Can eac3to be made to create the decompressed audio into this format? It could be a new output option like -popcorn?
Here is the first 20mb:
http://hd-r-us.kicks-ass.net/public/output.wav.001
I checked, and this chunk is recognized by TsMuxer.
Also, the solution may not involve the WAV container, because it obviously doesn't support file size > 4gb.
Will you stop filling this thread with nonsense? Will you stop wasting people's time?
1: WAV supports >4GB files and eac3to handles them fine. It's just tsremux that doesn't support them! Post a request THERE!
2: eac3to is just fine and no special switches (like -popcorn) are needed!
3: The link to your sample does not work!
wildchild22
7th May 2008, 13:49
All I did was slit the file into a 100 meg slice then opened the 100 meg slice with the hex editor and posted the bytes before they were all zero till later on. There is a difference in the first 2 lines so maybe eac3to needs to write the differences into the header.
tebasuna51
7th May 2008, 13:50
Will you stop filling this thread with nonsense? Will you stop wasting people's time?
1: WAV supports >4GB files and eac3to handles them fine. It's just tsremux that doesn't support them! Post a request THERE!
2: eac3to is just fine and no special switches (like -popcorn) are needed!
3: The link to your sample does not work!
I agree with nautilus7. Maybe you want continue with this problem, related to the the 4GB WAV limit, in this thread (http://forum.doom9.org/showthread.php?t=137541)
A working link to the lpcm sample please.
tosehee
7th May 2008, 13:54
Hi.
Thanks for a wonderful tool.
I have used this tool to rip my BD and HDDVDs. Two days ago, I tried to rip Chris Botti Live with friends, but for some reason, I can't seem to play this after the conversion. I have tried this on 2.44 and 2.45 version. Both of them produces the gap information. I re-ran the same command to produce the new mkv and flac file, however, after I remux them with mkvmergeGui, it doesn't play. I have tried both with and without gap and the results are same.
The symtom I have is, the mkvtoolnix remux them fine, but when I tried to play in any player (zoomplayer, mpc, kmp, media portal, and etc), none of them works. They just hangs in the beginning, and nothing happens.
I don't see any errors from the eac3to or mkxtoolnix. Oh, here is the command I used.
C:\Users\Public\Videos\Recent>eac3to 00000.m2ts 1: v.mkv 3: a.flac
M2TS, 1 video track, 3 audio tracks, 1:29:02
1: h264/AVC, 1080i60 /1.001 (16:9)
2: AC3, 2.0 channels, 640kbit/s, 48khz
3: RAW/PCM, 5.1 channels, 24 bits, 96khz
4: AC3, 5.1 channels, 640kbit/s, 48khz
[v01] Extracting video track number 1...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Encoding FLAC...
[v01] Muxing video to Matroska...
jchappo
7th May 2008, 13:57
Looks like my own hosting solution didn't work out, try this:
http://www.mediafire.com/?yjjvm0l1zfl
Why is everyone hung up on WAV now? I was only using WAV because I thought that was the only way to make it work.
What I want is to create the exact format of this studio LPCM, which is recognized by TsMuxer AND plays perfectly on my A/V receiver. >4gb WAV files are recognized by TsMuxer BUT do not play perfectly on my A/V receiver.
tosehee
7th May 2008, 14:00
The only thing that I haven't tried is demux the video as .h264. If I do that, what frame rates do I need to assign when remuxing with mkvmerge?
Is it 30 or is it 60? It's 1080i material.. So, it it 30 then? or is 60 still?
jchappo
7th May 2008, 14:01
usually 29.9 30000/1001
tosehee
7th May 2008, 14:07
usually 29.9 30000/1001
Do I type in 29.97 or 29.9 30000/1001 exactly as you typed? Sorry for dumb question. :-(
nautilus7
7th May 2008, 14:07
I believe it's a player/decoder issue. Change the video decoder (ffdshow/coreavc/mpc internal decoder) and report back. Try also the .mkv file that eac3to makes (without audio).
From 1st post:
-24p/30p/60i force the use of the specified framerate for h264 muxing
But, eac3to should detect fps automatically.
jchappo
7th May 2008, 14:11
Ok here is yet more info,
Looks like if I change the extension to RAW, then eac3to has something to say about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.raw
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 16 bits.
The RAW/PCM file seems to have 6 channels.
RAW/PCM, 5.1 channels, 2:13:48, 16 bits, 48khz
I will try converting a DTS-HD track to RAW, and then test is TsMuxer will accept that.
tosehee
7th May 2008, 14:15
I believe it's a player/decoder issue. Change the video decoder (ffdshow/coreavc/mpc internal decoder) and report back. Try also the .mkv file that eac3to makes (without audio).
From 1st post:
But, eac3to should detect fps automatically.
I have done that, but when it tries to open the file, nothing happens and it hangs forever. I don't see any video or hear any sound. That's with eac3to making the video mkv. I haven't tried demuxing it manually and remux again with mkvmerge. That's what I was at. I tried the latest version of ffdshow tryout (May 04, 2008) and I tried coreavc 1.7 professional, and same result.
Mind you that I have ripped about 30+ movies so far without this type of issue now.
jchappo
7th May 2008, 14:22
Do I type in 29.97 or 29.9 30000/1001 exactly as you typed? Sorry for dumb question. :-(
Well 30000/1001 = 29.97, some programs list it either in 29.9 or 30000/1001. If it asks for just fps use 29.97
tosehee
7th May 2008, 14:27
Well 30000/1001 = 29.97, some programs list it either in 29.9 or 30000/1001. If it asks for just fps use 29.97
Thought so. Thought I confirm with you before wasting another 40 min. :-)
I will report back if I am successful with demuxing the video manually and remux them with mkvmerge.
nautilus7
7th May 2008, 14:37
Ok here is yet more info,
Looks like if I change the extension to RAW, then eac3to has something to say about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.raw
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 16 bits.
The RAW/PCM file seems to have 6 channels.
RAW/PCM, 5.1 channels, 2:13:48, 16 bits, 48khz
I will try converting a DTS-HD track to RAW, and then test is TsMuxer will accept that.I just got your sample. So, it seems you demuxed a pcm track, set the extension to wav and then post here saying that eac3to can't detect your "wav" file. Wtf? In addition, i opened tsmuxer and loaded the pcm track. Its parameters were detected correctly!!!
SO MY CONCLUSION IS THAT YOU YOU CAN USE EAC3TO TO CONVERT YOUR AUDIO TO .PCM OR .RAW AND LOAD THEM IN TSMUXER. THAT WOULD WORK FINE FOR YOU.
Well 30000/1001 = 29.97, some programs list it either in 29.9 or 30000/1001. If it asks for just fps use 29.97
You can't set what ever you like. There are switches (i posted them above). 24p stand for 24/1001 or 23,976... progressive, 30p stands for 30/1001 or 29,97... progressive and 60i stands for 60/1001 or 59,94... interlaced.
jchappo
7th May 2008, 14:58
Actually nautilus7, I have been posting the whole time that I am converting to WAV(PCM) because I thought that was the only way to make it work. Once I hit the 4gb barrier and things stopped working, I asked around here and found out what was wrong. Now it seems I have determined that RAW is the way to go, not WAV.
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.
Beastie Boy
7th May 2008, 15:04
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.
It's a shame you didn't spot my post (http://forum.doom9.org/showthread.php?p=1134707#post1134707)earlier :)
nautilus7
7th May 2008, 15:05
Actually nautilus7, I have been posting the whole time that I am converting to WAV(PCM) because I thought that was the only way to make it work. Once I hit the 4gb barrier and things stopped working, I asked around here and found out what was wrong. Now it seems I have determined that RAW is the way to go, not WAV.How are we supposed to know what tsmuxer does and does not accept as input????
You posted here saying you found some weird problem regarding TrueHD & DTS-HD decoding based on the fact that the wav files you made with eac3to weren't accepted by tsmuxer. Madshi respond that everything is ok with the decoders and problem is that tsmuxer can't deal with BIG wav files, but you kept posting and posting and posting here, until i told that tsmuxer (which i don't use and i wasn't aware) can accept raw and pcm format.
So, the correct order to do things should have been:
1. Find what tsmuxer needs/accepts
2. Find a way to make what it needs.
3. Post here questions about using eac3to (since you chose it for make your audio).
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.I don't see any...
It's a shame you didn't spot my post (http://forum.doom9.org/showthread.php?p=1134707#post1134707)earlier :)
Yeah beastie, it's really shame.
madshi
7th May 2008, 15:13
Don't have much time right now, but the "WAV" file posted by jchappo is neither WAV nor RAW. It seems to contain blocks of LPCM data with a 4 byte header for each block. It seems to me that either tsMuxer uses its own private data format for storing LPCM data, or there's a bug in tsMuxer's demuxing code, or there's a new "container" format I've never heard about yet.
nautilus7
7th May 2008, 15:21
He demuxed it with tsremux he said, not tsmuxer. Maybe that's the problem. Anyway the conclusion is that tsmuxer accepts .raw/.pcm
jchappo
7th May 2008, 15:38
It's a shame you didn't spot my post (http://forum.doom9.org/showthread.php?p=1134707#post1134707)earlier :)
Doh, I should have seen it, I was just skimming for madshi replys :stupid:
jchappo
7th May 2008, 16:06
How are we supposed to know what tsmuxer does and does not accept as input????
You posted here saying you found some weird problem regarding TrueHD & DTS-HD decoding based on the fact that the wav files you made with eac3to weren't accepted by tsmuxer.
Maybe you should re-read all my posts because I never said such a thing. I merely said the decoded DTS-HD plays garbage audio after 20-30%. I never once indicated a problem with TsMuxer
nautilus7
7th May 2008, 16:50
You still don't get it huh? How did you determine that dts-hd tracks decoded to garbage? Because you couldn't play them in popcornhour once muxed with tsmuxer!!! Who said that you indicated a problem with tsmuxer? Madshi did!
I won't continue this nonsense any further. PM me if you want to.
jchappo
7th May 2008, 17:02
Actually, I was able to copy the WAV file itself onto the popcorn hour and play it without muxing to M2TS. Try again.
tosehee
7th May 2008, 18:02
K.
The issue remains. But, unlike what I originally thought, it's not the video, but the audio. When I play the flac itself, the audio sounds like a tape dac playing at x10 slower. Does that make sense?
Again, this is what eac3to reports...
C:\Users\Public\Videos\Recent>eac3to 00000.m2ts
M2TS, 1 video track, 3 audio tracks, 1:29:02
1: h264/AVC, 1080i60 /1.001 (16:9)
2: AC3, 2.0 channels, 640kbit/s, 48khz
3: RAW/PCM, 5.1 channels, 24 bits, 96khz
4: AC3, 5.1 channels, 640kbit/s, 48khz
and I converts channel 3 to flac using..
eac3to 00000.m2ts 1: v.mkv 3: a.flac
nautilus7
7th May 2008, 18:21
The mkv file created by eac3to plays fine then? You said it didn't.
Regarding audio... Maybe pcm parameters aren't correctly detected. Is the pcm track 5.1 ch 24 bits 96 khz? Or maybe it's a decoder issue (flac decoder i mean). Try a different one, or convert to another format (e.g. pcm --> ac3) to ensure it's not the decoder.
tosehee
7th May 2008, 18:38
The mkv file created by eac3to plays fine then? You said it didn't.
Regarding audio... Maybe pcm parameters aren't correctly detected. Is the pcm track 5.1 ch 24 bits 96 khz? Or maybe it's a decoder issue (flac decoder i mean). Try a different one, or convert to another format (e.g. pcm --> ac3) to ensure it's not the decoder.
What decoder is it using in default? is it libav? and what should I be using to decode PCM 24bit/96khz to flac conversion?
As for video, I didn't know better it was at halt for like 2 minutes before it started to play. When it plays, the videos are fine, but the audio plays like 10x slow mode. Of course, the audio and video is not in sync and it's not watchable.. i mean inaudible as the video plays fine.
nautilus7
7th May 2008, 18:51
What decoder is it using in default? is it libav? and what should I be using to decode PCM 24bit/96khz to flac conversion?Flac decoder in your player (mpc). Do you use madflac or ffdshow or other? ffdshow for instance is known that can't handle 24 bit flac well.
PCM isn't compressed and doesn't need decoding. Since the pcm parameters are really those detected by eac3to, you don't need to change anything in your command line.
Play the flac track (alone) in your media player, trying different decoders. Also, convert the source pcm track to another format (wav or ac3) to narrow down the possibilities of a wrong eac3to pcm detection.
You can also make a ac3 track from the flac you have already made. If that ac3 plays ok, you definitely have a flac decoding problem in your media player.
Hope i didn't confuse you. :D
tosehee
7th May 2008, 18:53
Flac decoder in your player (mpc). Do you use madflac or ffdshow or other? ffdshow for instance is known that can't handle 24 bit flac well.
PCM isn't compressed and doesn't need decoding. Since the pcm parameters are really those detected by eac3to, you don't need to change anything in your command line.
Play the flac track (alone) in your media player, trying different decoders. Also, convert the source pcm track to another format (wav or ac3) to narrow down the possibilities of a wrong eac3to pcm detection.
I am using madFlac. I tried both ffdshow and madflac. They are both exhibiting same issue. I haven't converted to WAV or any other format yet, only flac. But I can give that a try next.
tosehee
7th May 2008, 19:08
4th channel is AC3. When demuxed to flac, it plays fine. It seems that from pcm --> flac for this particular concert is the issue.
In the case of bad ripping, I tried re-rip three times already and they all have exactly same file size and structure. I doubt it's the bad rip, but who knows.. I dont' get any errors in encoding process though.
n0mag!c
7th May 2008, 20:00
@Madshi
I'm needing to use your helpful tool for the first time and the questions (maybe stupid) comes to light. I'm sorry in advance.
I've decoded E-AC3 1536kbps to RAW file with GraphEdit and its Dump filter. By the way, I did it with Nero(8!) Audio Decoder 2, so how it correlates with yours "Nero 8 doesn't allow its DirectShow filters to be used from outside of Nero ShowTime"? E-AC3 track was muxed to .ts file and demuxed back with haali splitter in graph. But eac3to really can't use "Nero Audio Decoder 2". This is my first question.
And my second stupid question is - how can I get from eac3to "WAVs (multiple mono WAV files, PCM only)"? (I gave up playing with eac3to options).
jchappo
8th May 2008, 00:22
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.
1) Convert TrueHD/DTS-HD to PCM, big endian is needed, where RAW is little endian
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.