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 > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th June 2010, 19:05   #10161  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
thanks a lot...
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!
b66pak is offline   Reply With Quote
Old 18th June 2010, 19:11   #10162  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,409
Man, that was fast!

Midzuki is offline   Reply With Quote
Old 18th June 2010, 20:30   #10163  |  Link
AnryV
Registered User
 
Join Date: Jun 2007
Posts: 42
THANKS!


Will be anything made with the decoding of "strange setup" 7.1?
AnryV is offline   Reply With Quote
Old 18th June 2010, 20:55   #10164  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 8,986
Quote:
Originally Posted by AnryV View Post
Will be anything made with the decoding of "strange setup" 7.1?
It's the fault of the ArcSoft DTS decoder. There's nothing I can do about it (at least not with any reasonable amount of work).
madshi is offline   Reply With Quote
Old 18th June 2010, 23:08   #10165  |  Link
SomeJoe
Registered User
 
Join Date: Jan 2003
Posts: 315
Quote:
Originally Posted by madshi View Post
I'm producing a chapter format file which mkvtoolnix accepts. Does mkvtoolnix also accept OGG chapter format files?

Well, HD-DVD streams are officially 1080i60 / 1.001, so I guess that justifies the use of NDF timecodes. And the HD DVD specification officially says that NDF timecodes are used. So eac3to should really convert...
As far as I know, what you're outputting from eac3to is an OGG chapter format file. MKVToolnix refers to it as "simple" chapter format. DVDDecrypter refers to it as "Chapter Information - OGG".

I noticed you fixed this for HD-DVD in build 3.21 - thanks, this works well.

Is the patch specifically only for HD-DVD? Because the chapter points are almost always off by the 1001/1000 ratio for Blu-Ray also.
__________________
- SomeJoe
SomeJoe is offline   Reply With Quote
Old 19th June 2010, 00:33   #10166  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,278
Thanks madshi.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 19th June 2010, 01:37   #10167  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
Hi,
I'm getting very odd results from "Mary and Max" The disk should have a DTS-HD track but the first run is yeilding this.

Code:
eac3to v3.21
command line: "C:\eac3to\eac3to.exe" "D:\BDMV\STREAM\" -log="C:\Program Files\ACD\Another EAC3to GUI\log.txt"
------------------------------------------------------------------------------
1) 00000.mpls, 00023.m2ts+00000.m2ts, 1:32:26
   - Chapters, 17 chapters
   - h264/AVC, 1080p24 /1.001 (16:9)
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz

2) 00007.mpls, 00007.m2ts, 0:22:04
   - MPEG2, 480i60 /1.001 (16:9)
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz

3) 00002.mpls, 00005.m2ts, 0:15:48
   - Chapters, 6 chapters
   - MPEG2, 480i60 /1.001 (4:3)
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
   - RAW/PCM, English, stereo, 48kHz
When I try to extract playlist 1, I get this. Notice the time it said the playlist is only 10 seconds long.

Code:
eac3to v3.21
command line: "C:\eac3to\eac3to.exe" 1) -log="C:\Program Files\ACD\Another EAC3to GUI\log.txt"
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 0:00:10, 24p /1.001
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
4: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
5: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
6: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
7: Subtitle (PGS), Spanish
8: Subtitle (PGS), English
Here is what Media Info says about 00023.m2ts



00000.m2ts does have a DTS-MA Track. I'll try to run eac3to only on 00000.m2ts and see what results I get.



Thank!

Mike
__________________
Another EAC3to GUI Plus
MikeEby is offline   Reply With Quote
Old 19th June 2010, 03:47   #10168  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
I ran eac3to on just 00000.m2ts for "Mary and Max" and it was able to demux. Here is my log...I noticed I didn't get a chapter file....That might be normal when only demuxing a single file....It's been a while since I did one this way.

Code:
eac3to v3.21
command line: "C:\eac3to\eac3to.exe" "D:\BDMV\STREAM\00000.m2ts" "C:\Work Folder\MaryAndMax.mkv"
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 1:32:16, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: RAW/PCM, English, 2.0 channels, 24 bits, 48kHz
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
   (core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
4: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
5: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
6: Subtitle (PGS), Spanish
7: Subtitle (PGS), English
[s07] Extracting subtitle track number 7...
[a02] Extracting audio track number 2...
[a04] Extracting audio track number 4...
[a02] Reading RAW/PCM...
[a04] Reading RAW/PCM...
[a02] Swapping endian...
[s06] Extracting subtitle track number 6...
[a04] Swapping endian...
[a02] Encoding FLAC with libFlac...
[a05] Extracting audio track number 5...
[a04] Encoding FLAC with libFlac...
[a05] Reading RAW/PCM...
[a05] Swapping endian...
[a03] Extracting audio track number 3...
[a05] Encoding FLAC with libFlac...
[v01] Extracting video track number 1...
[a03] Decoding with ArcSoft DTS Decoder...
[v01] Muxing video to Matroska...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "C:\Work Folder\MaryAndMax - 3 - DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz.flac"...
[a02] Creating file "C:\Work Folder\MaryAndMax - 2 - PCM, English, 2.0 channels, 24 bits, 48kHz.flac"...
[a05] Creating file "C:\Work Folder\MaryAndMax - 5 - PCM, English, 2.0 channels, 16 bits, 48kHz.flac"...
[a04] Creating file "C:\Work Folder\MaryAndMax - 4 - PCM, English, 2.0 channels, 16 bits, 48kHz.flac"...
[s07] Creating file "C:\Work Folder\MaryAndMax - 7 - Subtitle (PGS), English.sup"...
[s06] Creating file "C:\Work Folder\MaryAndMax - 6 - Subtitle (PGS), Spanish.sup"...
[a02] The original audio track has a constant bit depth of 24 bits.
[a03] The original audio track has a constant bit depth of 24 bits.
[a04] The original audio track has a constant bit depth of 16 bits.
[a05] The original audio track has a constant bit depth of 16 bits.
Added fps value (24 /1.001) to MKV header.
Video track 1 contains 132730 frames.
Subtitle track 6 contains 1120 captions.
Subtitle track 7 contains 1426 captions.
eac3to processing took 34 minutes, 43 seconds.
Done.
Mike
__________________
Another EAC3to GUI Plus
MikeEby is offline   Reply With Quote
Old 19th June 2010, 09:46   #10169  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
Quote:
Originally Posted by MikeEby View Post
I ran eac3to on just 00000.m2ts for "Mary and Max" and it was able to demux. Here is my log...I noticed I didn't get a chapter file....That might be normal when only demuxing a single file....It's been a while since I did one this way.
yes, that's normal. chapter info is stored in the playlist (MPLS), not the m2ts.

Quote:
Originally Posted by MikeEby View Post
Hi,
I'm getting very odd results from "Mary and Max" The disk should have a DTS-HD track but the first run is yeilding this.
If you post an AnyDVD logfile then we can take a look. I suspect the mpls has been badly authored here. The playlistmarks might be incorrect & the DTS track also left out.

Last edited by mrr19121970; 19th June 2010 at 09:49.
mrr19121970 is offline   Reply With Quote
Old 19th June 2010, 09:51   #10170  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
Quote:
Originally Posted by ramicio View Post
would a numerical progress indicator be feasible? i have my windows larger with a different font than default so i have no idea how far along the file is.
Not sure why Madshi said no to this, as it already exists.

Code:
-progressnumbers
mrr19121970 is offline   Reply With Quote
Old 19th June 2010, 10:15   #10171  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 8,986
Quote:
Originally Posted by SomeJoe View Post
As far as I know, what you're outputting from eac3to is an OGG chapter format file. MKVToolnix refers to it as "simple" chapter format. DVDDecrypter refers to it as "Chapter Information - OGG".
Yes, that's also the conclusion I came to, when looking up OGG chapters yesterday.

Quote:
Originally Posted by SomeJoe View Post
I noticed you fixed this for HD-DVD in build 3.21 - thanks, this works well.

Is the patch specifically only for HD-DVD? Because the chapter points are almost always off by the 1001/1000 ratio for Blu-Ray also.
The patch is only for HD DVD right now, because the HD DVD spec clearly confirms your comments about how to interpret the XML chapter times. The Blu-Ray spec is quite different. It says:

"The mark_time_stamp shall point to a presentation-time in the interval from the IN_time until the OUT_time of the PlayItem referred to by the ref_to_PlayItem_id, measured in units of a 45kHz clock."

Doesn't sound to me as if I should do * 1.001, or what do you think?

Quote:
Originally Posted by MikeEby View Post
I'm getting very odd results from "Mary and Max" The disk should have a DTS-HD track but the first run is yeilding this.
I've seen some cases where the main playlist was like "movie.m2ts + someVeryShortDummy.m2ts". In such cases often the dummy m2ts file has less audio/video tracks than the movie m2ts file. eac3to is able to handle this situation, it then automatically ignores the dummy m2ts file. However, in your case it seems that the playlist *starts* with a dummy m2ts file and ends with the real movie m2ts file. I've not seen this yet. Not sure why eac3to shows a wrong runtime in this case. I wouldn't have expected that...

Quote:
Originally Posted by mrr19121970 View Post
Not sure why Madshi said no to this, as it already exists.

Code:
-progressnumbers
Yes, but that option is made specifically for GUIs. eac3to outputs one new line to the command window for every progress. I think ramicio wants a numerical indicator which updates itself in the same line, similar to what some other command tools are doing.
madshi is offline   Reply With Quote
Old 19th June 2010, 11:46   #10172  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Quote:
Originally Posted by SomeJoe View Post
As far as I know, what you're outputting from eac3to is an OGG chapter format file. MKVToolnix refers to it as "simple" chapter format. DVDDecrypter refers to it as "Chapter Information - OGG".

I noticed you fixed this for HD-DVD in build 3.21 - thanks, this works well.
I just tried and I can confirm that now it is fixed.
Thank you Madshi.
Laurent is offline   Reply With Quote
Old 19th June 2010, 13:10   #10173  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,443
Quote:
Originally Posted by SomeJoe View Post
Is the patch specifically only for HD-DVD? Because the chapter points are almost always off by the 1001/1000 ratio for Blu-Ray also.
Quote:
Originally Posted by madshi View Post
The patch is only for HD DVD right now, because the HD DVD spec clearly confirms your comments about how to interpret the XML chapter times. The Blu-Ray spec is quite different. It says:

"The mark_time_stamp shall point to a presentation-time in the interval from the IN_time until the OUT_time of the PlayItem referred to by the ref_to_PlayItem_id, measured in units of a 45kHz clock."

Doesn't sound to me as if I should do * 1.001, or what do you think?
I'm a chapter-fanatic mysself. After I extract chapters.txt with eac3to, then convert to frames (and tsMuxeR timecodes) using shon3i's ChapterGen tool, I next examine each chapter location against the DGIndexNV-indexed video in VirtualDub, looking for discrepancies between the chapter marks and the video scene changes. In most (all?) BD cases these chapter marks fall exactly on the first frame of a new scene. But this is for h264 only. If the BD was made with VC1, I often times observe that the chapter points fall a single frame or two beyond the scene change.

Since I use the chapter info to make a qpfile.txt to incorporate into my x264 conversions (to assure there are I-frames where I need them for chapter markers), I need then to adjust the qpfile (and corresponding txMuxeR timecode info) to land exactly on that scene-change frame. Can be a real PIA if there are a lot of chapters...

But it seems I only see this with VC1 BDs, and not with EVERY VC1 BD. But it's as though the mastering tool used w/VC1 is different from h264 (dunno about MPEG2 ottomh). But like I say I don't ALWAYS have to fix these VC1 BDs, just *most* of the time.
laserfan is offline   Reply With Quote
Old 19th June 2010, 13:38   #10174  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,409
madshi,

could you please read again this post and then specify what is the (most) "problematic" 7.1 channel layout for the ArcSoft DTS decoder ???

-----

EDIT:

OK, I've just found this:

Quote:
Originally Posted by xkodi View Post
only 7.1 channel tracks with order "C L R Ls Rs LFE Lsr Rsr" are handled incorrectly and there is only one such track from "Qtec Hi-Definition Reference Disc".
However additional comments would be welcome of course.

Last edited by Midzuki; 19th June 2010 at 19:10.
Midzuki is offline   Reply With Quote
Old 19th June 2010, 13:50   #10175  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
Quote:
Originally Posted by madshi View Post
I've seen some cases where the main playlist was like "movie.m2ts + someVeryShortDummy.m2ts". In such cases often the dummy m2ts file has less audio/video tracks than the movie m2ts file. eac3to is able to handle this situation, it then automatically ignores the dummy m2ts file. However, in your case it seems that the playlist *starts* with a dummy m2ts file and ends with the real movie m2ts file. I've not seen this yet. Not sure why eac3to shows a wrong runtime in this case. I wouldn't have expected that...
Madshi, thanks for the quick reply. Yes the dummy file 00023.m2ts is first file in the playlist and it is just a studio logo that is 10 seconds long. It also only has PCM audio tracks, while the second file is the main movie (00000.m2ts) has a DTS-HD track. Eac3to does create the all the files requested for the first file but seems to quits when it sees the second file 00000.m2ts that contains the DTS-HD track. See my screen shots from MediaInfo posted above.

I don't think I've seen a playlist that contains 2 files with different audio track structures, which seems to be the case on this disk. Does eac3to compare the track structure between different files in the playlist?

Mike
__________________
Another EAC3to GUI Plus

Last edited by MikeEby; 19th June 2010 at 13:59.
MikeEby is offline   Reply With Quote
Old 19th June 2010, 14:03   #10176  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
Quote:
Originally Posted by mrr19121970 View Post
If you post an AnyDVD logfile then we can take a look. I suspect the mpls has been badly authored here. The playlistmarks might be incorrect & the DTS track also left out.
I don't think that's the issue in this case. The problem might be because the 2 files do not contain the same track structure.

Mike
__________________
Another EAC3to GUI Plus
MikeEby is offline   Reply With Quote
Old 19th June 2010, 17:22   #10177  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,155
Quote:
Originally Posted by MikeEby View Post
Madshi, thanks for the quick reply. Yes the dummy file 00023.m2ts is first file in the playlist and it is just a studio logo that is 10 seconds long. It also only has PCM audio tracks, while the second file is the main movie (00000.m2ts) has a DTS-HD track. Eac3to does create the all the files requested for the first file but seems to quits when it sees the second file 00000.m2ts that contains the DTS-HD track. See my screen shots from MediaInfo posted above.

I don't think I've seen a playlist that contains 2 files with different audio track structures, which seems to be the case on this disk. Does eac3to compare the track structure between different files in the playlist?

Mike
Ive encountered the same problem twice now, for example with saving private ryan (US) as well. and also criterion and some other studios now include their logos as seperate small .m2ts file which then preceeds the main movie more often than before. therefore it would be nice if you could come up with a solution here.
Thunderbolt8 is online now   Reply With Quote
Old 19th June 2010, 18:55   #10178  |  Link
SomeJoe
Registered User
 
Join Date: Jan 2003
Posts: 315
Quote:
Originally Posted by madshi View Post
The patch is only for HD DVD right now, because the HD DVD spec clearly confirms your comments about how to interpret the XML chapter times. The Blu-Ray spec is quite different. It says:

"The mark_time_stamp shall point to a presentation-time in the interval from the IN_time until the OUT_time of the PlayItem referred to by the ref_to_PlayItem_id, measured in units of a 45kHz clock."

Doesn't sound to me as if I should do * 1.001, or what do you think?

You're right, I agree that the spec seems to be very specific and shouldn't leave any doubt about where the chapter point is. If the chapter points end up being off by a 1001/1000 ratio, then you would surmise that it's essentially an authoring error on the disc -- the timecodes were NDF prior to the BD being authored, and no conversion was applied during authoring.

I'll do some further research and see if I can find some additional info on some of the BDs I have.
__________________
- SomeJoe
SomeJoe is offline   Reply With Quote
Old 20th June 2010, 01:37   #10179  |  Link
lchiu7
Registered User
 
Join Date: Apr 2002
Posts: 279
a05 The thd ac3 joiner doesn't have the correct connections.

I am trying to join two evo files from the 300 HD-DVD. They had some wierd names but I worked out which was the first and which was the second. Using eac3to to extract the audio and VC1 file with this command line

eac3to.exe "E:\TEMP\HVDVD_TS\FEATURE_300NDOM6LF1VC1_HD1.EVO"+"E:\TEMP\HVDVD_TS\FEATURE_300NDOM6LF1VC1_HD2.EVO" 2: "C:\Temp\HDDVD.vc1" 5: -down2 -192 "C:\Temp\HDDVD5.thd+ac3" -stripPulldown -progressNumbers -libav

I get the message as noted above

a05 Extracting audio track number 5...
a05 Removing TrueHD dialog normalization...
a05 Decoding with libav/ffmpeg...
a05 Downmixing multi channel audio to stereo...
a05 Encoding AC3 <192kbps> with libAften...
a05 The thd ac3 joiner doesn't have the correct connections.
Aborted at file position 1048576.

Out of interest I removed ac3 as an output option (I don't need it) so the output file was "C:\Temp\HDDVD5.thd" and while it completed with no errors, the thd file isn't recognized by tsmuxer as an audio file of any type it knows. It knows about the THD+ac3 file though.

This is the version of eac3to I am using

25/01/2009 09:58 p.m. 1,779,712 eac3to.exe

Any ideas what could be going wrong? Is it possible in copying the files off the HD-DVD they got corrupted?

Thanks

[EDIT]

Never mind. While I don't know what the problem was I found a way around it. I just ran eac3to and demuxed everything in the EVO files. This created the VC1 I needed for the encode and a THD file. While tsmuxer can't read the THD file another eacto run to create a THD+AC3 create a file that tsmuxer could read so all is going okay now.

Last edited by lchiu7; 20th June 2010 at 05:54. Reason: Found the answer
lchiu7 is offline   Reply With Quote
Old 20th June 2010, 14:51   #10180  |  Link
NASRMAX
Registered User
 
Join Date: Mar 2010
Posts: 3
Hello, I am currently in the process of testing this new version eac3to I thank Madshi for this work, the extension mkv demux for Bluray 3D works only for the left eye, having extracted without H.264 contenair, the right eye does not pass in mkvmerge, it is progressing well, hoping an update that fixes this
NASRMAX is offline   Reply With Quote
Reply

Tags
eac3to

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 17:29.


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