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
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 1st May 2008, 16:08   #4541  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Bluestraw View Post
Are you absolutely sure about this? For example, in the Cars BD I was talking about, there are 3 language versions. All the playlists shown by eac3to are identical, yet different languages do result in a different required join order. The same thing happens in Open Season - there are different orders for the different languages, simply in order to show the movie title on screen in the right language, and all this in the single mpls file.

If you load that mpls file I sent above into the latest version of BDEdit, you'll see that it contains 3 'angles' - I presume these correspond to the 3 languages.
Hmmmm... You're right, I forgot about angles. eac3to always uses the first angle, IIRC. Do you need access to the other ones, too? I don't think the order of the parts changes, though. Instead different languages are using different parts, I believe.
madshi is offline  
Old 1st May 2008, 17:33   #4542  |  Link
Bluestraw
Registered User
 
Join Date: Mar 2008
Posts: 33
Quote:
Originally Posted by madshi View Post
Hmmmm... You're right, I forgot about angles. eac3to always uses the first angle, IIRC. Do you need access to the other ones, too? I don't think the order of the parts changes, though. Instead different languages are using different parts, I believe.
That's right I think - e.g. you could have

0000
0001
0004
0005
0008

as the English version,

0000
0002
0004
0006
0008

as the German one

0000
0003
0004
0007
0008

as the French one.

where for example part 0001 has some on-screen English text, 0002 has German and 0003 has French. From what I've seen so far, each one has all the audio tracks, so for example you could watch the 'French version' but keep the English soundtrack.

From my pov, I always want the English one, so it depends for me whether or not which angle that is. My guess would be that I'd typically be lucky and get the first one, but others (like you!) may not find their first choice available!
Bluestraw is offline  
Old 1st May 2008, 18:26   #4543  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Bluestraw View Post
others (like you!) may not find their first choice available!
Actually I want the English one, too, which is usually the first. But there may be other people who want their local version. So I guess angle support would make sense...
madshi is offline  
Old 1st May 2008, 19:19   #4544  |  Link
Bluestraw
Registered User
 
Join Date: Mar 2008
Posts: 33
Quote:
Originally Posted by madshi View Post
Actually I want the English one, too, which is usually the first. But there may be other people who want their local version. So I guess angle support would make sense...
Sorry didn't mean to offend, I thought I remember you saying you weren't English. Not that I could tell from what you write - impeccable English!
Bluestraw is offline  
Old 1st May 2008, 19:38   #4545  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Surf's Up consists of 3 m2ts files. The 2nd is language specific. It might uses angles too.
nautilus7 is offline  
Old 1st May 2008, 20:16   #4546  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
Anyway, I hear you. I can lower the threshold to something lower than 40ms. But there's one thing you should know: The timestamps are not 100% reliable. If I lower the threshold too much, we'll get false alarms. I mean then eac3to will report audio gaps/overlaps for movies which don't really have any gaps/overlaps. We don't want that, do we? So it's kind of difficult to find the right threshold. But maybe 40ms is really a bit too much. I chose this value because an AC3 frame is usually 32ms long and I wanted to allow one AC3 frame "off" without reporting a gap/overlap.
false alarms would indeed be really bad, you are right that we dont want that. hm is there maybe a way to combine the gap/overlap checking with the audio tracks used? for example if I only decide to use a pcm or truehd/dts-hd and no ac3 track for my muxing at all would it be possible then to have that checking only apply to those tracks, which have quite shorter frames as ac3?
or would this be too complicated?
Thunderbolt8 is offline  
Old 1st May 2008, 20:47   #4547  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
Quote:
Originally Posted by madshi View Post
Hmmmm... That's quite strange. Could you send me the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts?
Ok, I will, but I don't understand how to use this HxD program.
bmnot is offline  
Old 1st May 2008, 22:27   #4548  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by bmnot View Post
Ok, I will, but I don't understand how to use this HxD program.
You load the file. Then go to edit--> select block and set the size (20MB) in bytes. Make sure dec is chosen. To select the start of the file you put 0 to start-offset and 20971520 in end-offset. To select the end, click the mouse to the end of the file and then put in the start-offset (end-offset - 20971520). Final step is to copy-paste the selected part to a new file. Be careful not to modify the original file.

Last edited by nautilus7; 1st May 2008 at 22:30.
nautilus7 is offline  
Old 1st May 2008, 23:19   #4549  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Or use clip.exe.

usage: clip <infile> <outfile> <start offset> <length>
Snowknight26 is offline  
Old 1st May 2008, 23:33   #4550  |  Link
Rectal Prolapse
Registered User
 
Join Date: Mar 2005
Posts: 433
madshi, Ratatouille also makes use of multi-angles for different languages.

Is there a way to lower the overlap/gap threshold only for m2ts files that are to be joined from a single playlist, and only at the endpoints of the m2ts files? That may give better results overall - for multiple m2ts and single m2ts files.

Anyways - thanks for the great tool - again.
Rectal Prolapse is offline  
Old 2nd May 2008, 00:03   #4551  |  Link
jchappo
Registered User
 
Join Date: Oct 2007
Posts: 36
howdy, been using your nice program here for awhile. I recently ran into a problem decoding DTS-HD to WAV using Sonic Decoder 4.3. When remuxing the WAV file back with the video in M2TS container, TsMuxer reports the WAV has no channel info.

When playing the movie back over a popcorn hour A-100, the audio plays fine for about 20-30% of the movie, then it goes all screetchy and is basically garbage. I can't determine what the problem is. How to I test if Sonic is not causing the problem? It's weird because the audio plays fine for a little while, then goes bad for some reason.
jchappo is offline  
Old 2nd May 2008, 01:21   #4552  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
hi all
strange problem with Basic Instinct, here is the log:

Quote:
eac3to v2.44
command line: eac3to244\eac3to "K:\Basic Instinct (1992) BluRay AVC dts-HD Hi-Res" 1) 2: i:\video.mkv
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 2:08:15
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Hi-Res, English, 6.1 channels, 24 bits, 3093kbit/s, 48khz, dialnorm: -4dB
4: AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.
Aborted at file position 142065664.
i've tried to remux raw h264 stream (using 3 different programs) and then mux it with mkvtollnix, but... :-( runtime was 2:09:44
big 10x in advance 4 helping with this one!

Yraen, nope, for sorry that is not the problem, with or without any " the result is the same...

Last edited by itsancho; 2nd May 2008 at 01:49. Reason: aswer to Yraen
itsancho is offline  
Old 2nd May 2008, 01:38   #4553  |  Link
Yraen
Registered User
 
Join Date: Dec 2007
Location: Okie in Muskogee
Posts: 174
Looks like you missed an " here:
i:\video.mkv"

That might be the problem. Try it and if it fails post that log.
Yraen is offline  
Old 2nd May 2008, 02:05   #4554  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
Quote:
Originally Posted by madshi View Post
Hmmmm... That's quite strange. Could you send me the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts?
Ok here you go: http://www.mediafire.com/?g499bligrz0

end of first m2ts doesn't play, i hope it did right

BTW the end of the file is at 30684420096, while the error is at 30684829696, BUT the file converts to mkv fine when there is no joining.
bmnot is offline  
Old 2nd May 2008, 05:27   #4555  |  Link
gregt
Registered User
 
Join Date: Apr 2008
Posts: 12
Hi,
I seem to have run into another bug as follows:
M:\to convert\SciFi\bluray>eac3to UNDERWORLD
1) 00106.mpls, 2:13:39
[93+94+95+96+97+98+99+100].m2ts
- MPEG2, 480i30 /1.001 (4:3)
- AC3, English, stereo, 48khz

2) 00011.mpls, 00011.m2ts, 2:13:37
- h264/AVC, 1080p24 /1.001 (16:9)
- RAW/PCM, English, multi-channel, 48khz
- AC3, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- RAW/PCM, Italian, multi-channel, 48khz
- AC3, Italian, multi-channel, 48khz
- AC3, English, stereo, 48khz

3) 00095.mpls, 00093.m2ts, 0:47:18
- MPEG2, 480i30 /1.001 (4:3)
- AC3, English, stereo, 48khz

4) 00101.mpls, 00099.m2ts, 0:19:13
- MPEG2, 480i30 /1.001 (4:3)
- AC3, English, stereo, 48khz

M:\to convert\SciFi\bluray>eac3to UNDERWORLD UNDERWORLD.mkv
M2TS, 1 video track, 1 audio track, 2:13:38
1: Chapters, 13 chapters
2: MPEG2, 480i60 /1.001 (4:3)
3: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Creating file "UNDERWORLD - Chapters.txt"...
[a03] Extracting audio track number 3...
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
[a03] Removing dialog normalization...
[a03] Creating file "UNDERWORLD - 3 - AC3, English, 2.0 channels, 192kbps, 48khz
.ac3"...
[v02] Video overlaps for 1 frames at playtime 0:47:18.
[v02] Video overlaps for 1 frames at playtime 1:00:21.
[v02] Video overlaps for 1 frames at playtime 1:10:18.
[v02] Video overlaps for 1 frames at playtime 1:22:48.
[v02] Video overlaps for 1 frames at playtime 1:34:31.
[v02] Video overlaps for 1 frames at playtime 1:45:18.
[v02] Video overlaps for 1 frames at playtime 2:04:31.
[v02] The MKV file was created without making use of the gap/overlap information
.
[v02] Please check whether audio is in sync. If it is in sync everything is fine
.
[v02] Otherwise you can ask eac3to to repeat the muxing. It will then automatica
lly
[v02] make use of the detailed gap/overlap information.
[a03] Audio overlaps for 31ms at playtime 0:47:18.
[a03] Audio overlaps for 42ms at playtime 1:00:21.
[a03] Audio overlaps for 27ms at playtime 1:10:18.
[a03] Audio overlaps for 24ms at playtime 1:22:48.
[a03] Audio overlaps for 46ms at playtime 1:34:31.
[a03] Audio overlaps for 39ms at playtime 1:45:18.
[a03] Audio overlaps for 25ms at playtime 2:04:31.
[a03] The audio file was demuxed without making use of the gap/overlap informati
on.
[a03] Please rerun the same eac3to command line. That will correct the gaps/over
laps.
Added fps value to MKV header.
Video track 2 contains 240318 frames.
eac3to processing took 8 minutes, 15 seconds.
Done.


For some reason the main (listed under 2) movie is not converted by default. The main movie file is 38GB so may be that is the reason. When I went into the stream directory and converted the 00011.m2ts file directly it converted correctly.
__________________
zap
gregt is offline  
Old 2nd May 2008, 07:28   #4556  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Bluestraw View Post
Sorry didn't mean to offend, I thought I remember you saying you weren't English. Not that I could tell from what you write - impeccable English!
You didn't offend me at all, don't worry. You are right in that my native language is not English. So it makes sense that you thought I'd prefer having my native language muxed. But it's just not that way. And thanks for the compliment on my English capabilities... I guess reading/writing English every day helps!

Quote:
Originally Posted by Thunderbolt8 View Post
false alarms would indeed be really bad, you are right that we dont want that. hm is there maybe a way to combine the gap/overlap checking with the audio tracks used? for example if I only decide to use a pcm or truehd/dts-hd and no ac3 track for my muxing at all would it be possible then to have that checking only apply to those tracks, which have quite shorter frames as ac3?
Not sure if I've understood you correctly. eac3to already checks only those tracks you are demuxing.

Quote:
Originally Posted by Rectal Prolapse View Post
Is there a way to lower the overlap/gap threshold only for m2ts files that are to be joined from a single playlist, and only at the endpoints of the m2ts files? That may give better results overall - for multiple m2ts and single m2ts files.
That sounds like a good idea in theory. The problem is that I've two different thresholds: (1) For one gap/overlap it's 5ms. (2) For all gaps/overlaps combined it's 40ms. The small threshold for one gap/overlap is not problematic because even if the timestamps are unstable, they are always fluctuating around the right value. And thanks to 2 pass processing eac3to can clear out most short time fluctuations.

I guess I'll try lowering the threshold in the next build. Maybe to 20ms. And maybe I can also offer a switch to lower it even further. But I'll depend on you guys reporting your results with the thresholds, so that we can find the optimal default value (which would be the lowest possible value with which there are no false alarms with 99.9% of the movies).

Quote:
Originally Posted by jchappo View Post
I recently ran into a problem decoding DTS-HD to WAV using Sonic Decoder 4.3. When remuxing the WAV file back with the video in M2TS container, TsMuxer reports the WAV has no channel info.
There are two different types of WAV headers. Some programs prefer one type, others prefer the other type. eac3to by default writes the simpler type. It can also write the more complicated one, but currently there's no option for that. Will add that in the next build. It seems that TsMuxer wants to have the more complicated type. That most likely doesn't have anything to do with the garbage problems you're having, though...

Quote:
Originally Posted by jchappo View Post
When playing the movie back over a popcorn hour A-100, the audio plays fine for about 20-30% of the movie, then it goes all screetchy and is basically garbage. I can't determine what the problem is. How to I test if Sonic is not causing the problem?
By playing the WAV file itself (without the video/movie) on your HPTC or on your popcorn hour.

Quote:
Originally Posted by itsancho View Post
strange problem with Basic Instinct, here is the log:

Code:
Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.
There's a bug in the Haali Matroska Muxer which results in a total freeze when muxing some h264 movies. eac3to detects this situation and aborts processing directly before the Haali Matroska Muxer freezes. Currently there's no way to properly mux such a movie with eac3to respectively with Haali's Matroska Muxer. You can use the option "-seekToIFrames" to mux the movie in a different way. This should succeed. However, this comes at a cost: Sometimes when seeking such a movie there are very noticable image artifacts for a short time (max a few seconds). Haali knows about this problem but hasn't fixed it yet, sadly.

Quote:
Originally Posted by bmnot View Post
Ok here you go: http://www.mediafire.com/?g499bligrz0

end of first m2ts doesn't play, i hope it did right

BTW the end of the file is at 30684420096, while the error is at 30684829696, BUT the file converts to mkv fine when there is no joining.
Thanks, will check this out. If it's a bug in eac3to, it will be fixed in the next build.

Quote:
Originally Posted by gregt View Post
I seem to have run into another bug as follows: [...] For some reason the main (listed under 2) movie is not converted by default. The main movie file is 38GB so may be that is the reason. When I went into the stream directory and converted the 00011.m2ts file directly it converted correctly.
There's no easy to find information (I know of) in the Blu-Ray disc structure which tells us which is the main movie. Consequently eac3to can only list all playlists sorted by their runtime. The playlist with the longest runtime is listed first cause that's usually the movie. In your case it's not the movie. So you have to do "eac3to UNDERWORLD 2) UNDERWORLD.mkv".
madshi is offline  
Old 2nd May 2008, 08:44   #4557  |  Link
sundansx
Registered User
 
Join Date: Feb 2007
Posts: 5
Madshi,
first, thanks for a great program.
I am working on Serenity HDDVD and it fails to use libav when I specify it with other streams as shown below. It tries to use nero, which I dont have installed. When I run a pass with the audio separately followed by a separate pass to pick up the rest it works fine and uses libav. As a note, this same thing also happened on Beowulf. I dont think it is title dependent.

Code:
F:\VideoStore\DVD\Serenity>c:\utils\HDCruncher\eac3to.exe d:\HVDVD_TS 1) 2: chap
ters.txt 3: out.mkv 4: out.ac3 8: subtitle.sup -libav -down6 -640 -24
EVO, 1 video track, 4 audio tracks, 3 subtitle tracks, 1:59:01
"MainMovie"
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9)
4: E-AC3, English, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, Spanish, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, French, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
   "Director's Commentary"
8: Subtitle, English, "SDH"
9: Subtitle, Spanish
10: Subtitle, French
Creating file "chapters.txt"...
[a04] The Nero decoder doesn't seem to work, will use libav instead.
[v03] Extracting video track number 3...
[v03] Muxing video to Matroska...
[a04] Extracting audio track number 4...
[a04] Removing dialog normalization...
[a04] Decoding with DirectShow (Nero Audio Decoder 2)...
[a04] Getting "Nero Audio Decoder 2" instance failed.
Aborted at file position 32768.

Last edited by sundansx; 2nd May 2008 at 08:50.
sundansx is offline  
Old 2nd May 2008, 08:56   #4558  |  Link
Beastie Boy
Registered User
 
Beastie Boy's Avatar
 
Join Date: Mar 2002
Posts: 353
The -libav switch should be used in the audio 'group of the command line, so your command lines becomes:
Code:
F:\VideoStore\DVD\Serenity>c:\utils\HDCruncher\eac3to.exe d:\HVDVD_TS 1) 2: chap
ters.txt 3: out.mkv 4: out.ac3 -libav 8: subtitle.sup
Note that -640 is not required as that is the default.

Cheers, Beastie
Beastie Boy is offline  
Old 2nd May 2008, 11:01   #4559  |  Link
monohouse
Registered User
 
Join Date: Jul 2007
Posts: 106
hi, I was wondering, is there a way to use the libav/ffmpeg TrueHD decoder in real time ? as in decoding the stream as it being played ? not for reconversion purpose ?

I have demuxed the truehd track using evodemux and now wondering how to replace the FLAC I created with the truehd track that is present, is there a program that is used to do this or evodemux can do this also ? I seemed to notice that eac3to appears to be able to mux it as well, but I was unable to find the manual for eac3to.

I have a few questions: why doesn't eac3to tell the original bit-depth of the stream ? only resolution and channels, and can this stream be directly muxed with a video without additional operations, I understand that the use of FLAC in video is new, so I am not entirely sure if any additional procedures are required, are there any guides that explain how to handle evo+truehd ?

Last edited by monohouse; 2nd May 2008 at 16:20.
monohouse is offline  
Old 2nd May 2008, 11:10   #4560  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
Quote:
Originally Posted by madshi View Post
There's a bug in the Haali Matroska Muxer which results in a total freeze when muxing some h264 movies. eac3to detects this situation and aborts processing directly before the Haali Matroska Muxer freezes. Currently there's no way to properly mux such a movie with eac3to respectively with Haali's Matroska Muxer. You can use the option "-seekToIFrames" to mux the movie in a different way. This should succeed. However, this comes at a cost: Sometimes when seeking such a movie there are very noticable image artifacts for a short time (max a few seconds). Haali knows about this problem but hasn't fixed it yet, sadly.
BIG, BIG 10x madshi!!! Everything is absolutely OK and btw there is no any "seeking artifacts"!
itsancho is offline  
Closed Thread

Tags
eac3to


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:07.


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