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 10th October 2008, 00:23   #6521  |  Link
Greif
Registered User
 
Join Date: Dec 2006
Location: Ontario, Canada
Posts: 227
Quote:
Originally Posted by madshi View Post
BTW, what is that third audio track? The first two audio streams have the language identifiers "eng" (English) and "fra" (French). But the third has the language identifier "esl" which I don't know how to interpet.
I've never seen it before, but it probably refers to English as a Second Language.
Greif is offline  
Old 10th October 2008, 00:24   #6522  |  Link
fib0by
Registered User
 
Join Date: Feb 2008
Posts: 78
Would it be possible to have a simpler chapter listing?
Right now, from the chapters list provided by eac3to, I filter out any line containing the string "NAME"; then, from the remaining lines, I only retain everything after the "=" sign. Like this:

Code:
cat chaps.txt | grep -v NAME | cut -d = -f 2 > chapters.txt
(This is Bash shell, yes, but it's still on Windows, under Cygwin. I haven't tried to run eac3to on Linux under emulation yet.)

So, what I'm saying is, it would be nice if eac3to could simply dump the list of timestamps, one timestamp per line. No names, no equal signs, nothing else, just the "naked" timestamp values. I never had a need for anything else from the current format of the chapters list and I don't even know if there's a case when that information could be useful - it seems redundant to me.
The "naked" list could easily be imported in tsMuxeR or other applications that simply require a list of timestamps, no need to filter out other things.

Or even more generic: create a list of "naked" timestamps, and let the user choose the separator. Users of the tsMuxeR GUI version will prefer a list separated by newline, because that's how tsMuxeR GUI wants the list. Users of the command-line muxer would prefer comma as a separator, because that's the way to pass the list to the command-line muxer (-blah=timestamp1,timestamp2,timestamp3.......).

If not possible, then OK. I can continue to do the grep thing. It's just a feature that's nice to have.
fib0by is offline  
Old 10th October 2008, 02:35   #6523  |  Link
Zwitterion
Registered User
 
Join Date: May 2008
Posts: 80
Quote:
Originally Posted by fib0by View Post
Would it be possible to have a simpler chapter listing?
Eac3to currently uses the OGG format which is used in MKVmerge and MP4box.
I think too many chapter formats would bloat eac3to unnecessarily. I'd prefer a simple tool which can convert between various chapter formats (is there such a thing?).
Zwitterion is offline  
Old 10th October 2008, 03:02   #6524  |  Link
odin24
Registered User
 
odin24's Avatar
 
Join Date: Mar 2008
Location: The Great North (the better half of North America)
Posts: 301
Quote:
Originally Posted by Zwitterion View Post
Eac3to currently uses the OGG format which is used in MKVmerge and MP4box.
I think too many chapter formats would bloat eac3to unnecessarily. I'd prefer a simple tool which can convert between various chapter formats (is there such a thing?).
Subtitle Workshop.

http://www.urusoft.net/download.php?lang=1&id=sw
odin24 is offline  
Old 10th October 2008, 04:05   #6525  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Trying to work with Ratatouille. Anybody know what the difference is in the angles?

rack04 is offline  
Old 10th October 2008, 08:40   #6526  |  Link
Octo-puss
Registered User
 
Join Date: Jan 2008
Posts: 571
What exactly does this message mean?
[a05] The libav DTS decoder doesn't decode the full DTS-HD information
It processes the file, but I wonder how big problem it is.
The first post mentions some decoders. How do I make eac3to work with them? Automatically by installing them?

Where do I obtain the libav/ffmpeg TrueHD? This one seems to be free by looks of it and since it's said it works fine, I thought it'd be the thing.
Octo-puss is offline  
Old 10th October 2008, 08:48   #6527  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by rack04 View Post
Trying to work with Ratatouille. Anybody know what the difference is in the angles?
You can play the different .m2ts files to figure out what's about. Most probably it has to do with language specific parts.

Quote:
Originally Posted by Octo-puss View Post
What exactly does this message mean?
[a05] The libav DTS decoder doesn't decode the full DTS-HD information
It processes the file, but I wonder how big problem it is.
It means that only the DTS core of the track will be decoded and used as source. If you want t make a flac from this track, then it is a serious problem.

Quote:
Originally Posted by Octo-puss View Post
The first post mentions some decoders. How do I make eac3to work with them? Automatically by installing them?
Yes, as long they are installed in your system they work with eac3to. the command
Code:
eac3to -test
will give a report about the installed decoders.

Quote:
Originally Posted by Octo-puss View Post
Where do I obtain the libav/ffmpeg TrueHD? This one seems to be free by looks of it and since it's said it works fine, I thought it'd be the thing.
The libav decoder comes with eac3to package.

Last edited by nautilus7; 10th October 2008 at 08:53.
nautilus7 is offline  
Old 10th October 2008, 08:59   #6528  |  Link
Octo-puss
Registered User
 
Join Date: Jan 2008
Posts: 571
Quote:
Originally Posted by nautilus7
It means that only the DTS core of the track will be decoded and used as source. If you want t make a flac from this track, then it is a serious problem.
That I don't understand. What is the DTS core?
The source is DTS Master Audio, variable bitrate from what I saw in MediaInfo. All I did was tell eac3to to save it as .dts.

Quote:
Originally Posted by nautilus7
Yes, as long they are installed in your system they work with eac3to. the command
Code:
eac3to -test
will give a report about the installed decoders.

The libav decoder comes with eac3to package.
Well, if it comes with the program, I don't understand why I got the above message, when the first post states it works perfectly well with DTS.
Doing eac3to - test provided no information about it, btw.
Octo-puss is offline  
Old 10th October 2008, 09:06   #6529  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
DTS core is a DTS track inside the DTS-HD track.

Libav works with fine with DTS, not DTS-HD. It is only able to decode DTS tracks thus only the DTS core of the DTS-HD track.

Libav isn't listed under the -test command, because it isn't a directshow decoder and doesn't need installation.
nautilus7 is offline  
Old 10th October 2008, 09:13   #6530  |  Link
Octo-puss
Registered User
 
Join Date: Jan 2008
Posts: 571
Aha, so it's just a little bit lower quality, but nothing too bad?
I am looking at arcsoft.com and can't seem to find any word about the dts decoder. What gives?
Octo-puss is offline  
Old 10th October 2008, 09:20   #6531  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Well, i wouldn't say a little bit lower, since DTS-HD master audio is a lossless format, while DTS is lossy, but all depends on your ears and sound equipment.

Have a look at the wikibooks page of eac3to under the how to use section to find info about the needed decoders.
nautilus7 is offline  
Old 10th October 2008, 09:33   #6532  |  Link
Octo-puss
Registered User
 
Join Date: Jan 2008
Posts: 571
thanks a lot dude
Octo-puss is offline  
Old 10th October 2008, 11:21   #6533  |  Link
himan2001
Registered User
 
Join Date: Feb 2004
Posts: 22
Hello Madshi.

I have strange problems with the Seemless Branching Movie Harold & Kumar 2:

on EVERY gap-fixed Point is a Loud Spike in the AC3 encoded file. As i remember older Versions doesnīt have this Problem.

There is a special reason for using Sonic instead ArcSoft: Arcsoft produces sometimes distorted audio while downmixing from 7.1 -> 5.1:

Code:
eac3to v2.66
command line: eac3to 10) 2: d:\video.mkv 3: d:\audio.ac3 -448 -sonic
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:47:41
1: Chapters, 23 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48khz
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48khz
5: DTS, English, 2.0 channels, 24 bits, 256kbps, 48khz
6: Subtitle (PGS), English
7: Subtitle (PGS), Spanish
[a03] The Sonic Audio Decoder doesn't fully decode 7.1 channels.
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Decoding with DirectShow (Sonic Audio Decoder)...
[v02] Muxing video to Matroska...
[a03] DirectShow reports 5.1 channels, 24 bits, 48khz
[a03] Encoding AC3 <448kbps> with libAften...
[a03] Creating file "d:\audio.ac3"...
[a03] This audio track has a constant bit depth of 24 bits.
[a03] Audio overlaps for 10ms at playtime 0:10:23.
[a03] Audio overlaps for 6ms at playtime 0:11:23.
[a03] Audio overlaps for 9ms at playtime 0:11:48.
[a03] Audio overlaps for 8ms at playtime 0:12:47.
[a03] Audio overlaps for 10ms at playtime 0:19:52.
[a03] Audio overlaps for 9ms at playtime 0:22:30.
[a03] Audio overlaps for 15ms at playtime 0:45:02.
[a03] Audio overlaps for 10ms at playtime 0:48:46.
[a03] Audio overlaps for 7ms at playtime 0:49:10.
[a03] Audio overlaps for 6ms at playtime 1:01:05.
[a03] Audio overlaps for 11ms at playtime 1:02:25.
[a03] Audio overlaps for 7ms at playtime 1:05:19.
[a03] Audio overlaps for 10ms at playtime 1:06:19.
[a03] Audio overlaps for 9ms at playtime 1:20:48.
[a03] Audio overlaps for 6ms at playtime 1:36:53.
[a03] Audio overlaps for 7ms at playtime 1:38:12.
[a03] Audio overlaps for 5ms at playtime 1:39:25.
[a03] Audio overlaps for 8ms at playtime 1:40:22.
[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.
Added fps value to MKV header.
Video track 2 contains 154945 frames.
eac3to processing took 37 minutes, 46 seconds.
Done.
I found out that with actual 2.66-Version itīs no longer possible to decode the audio from german HD-DVD "Terminator 2" with ARCSoft DTS-Decoder.
This HD-DVD has two 7.1 Audios.

eac3to stops with invalid Channel-Table, when using ArcSoft.
Set Deocder to -sonic then it works fine - by decoding 5.1 only.

Another issue i found by decoding "Superman-The Movie".
(5.1/AC3/640 -> 5.1/AC3/448)
The Result was defect/unusuable/crap. (an AC3-File with invalid timecode and only noise in it)

Going the manual way: .wavs -down16 -> encode the wavs to 5.1 was working fine. This Movie has 2,5 hours Playtime.
Maybe a new boundery bug (4 GB, or something) ?

I testet an older Version of eac3to (2.58) and figured out, that this issues here is not present. ?! Hmm....

Edit:

Code:
ac3to v2.66
command line: eac3to 10) 3: d:\audioARCsoft.ac3 -448
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:47:41
1: Chapters, 23 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48khz
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48khz
5: DTS, English, 2.0 channels, 24 bits, 256kbps, 48khz
6: Subtitle (PGS), English
7: Subtitle (PGS), Spanish
Audio gap description file detected, will be used for processing...
[a03] AC3 encoding only supports 6 channels. Will mix the surround channels.
[a03] Extracting audio track number 3...
[a03] Mixing surround channels...
Loading white noise (needed for dithering)...
[a03] Decoding with ArcSoft DTS Decoder...
[a03] Encoding AC3 <448kbps> with libAften...
[a03] Realizing RAW/PCM gaps...
[a03] Creating file "d:\audioARCsoft.ac3"...
[a03] This audio track has a constant bit depth of 24 bits.
Video track 2 contains 154945 frames.
eac3to processing took 27 minutes, 47 seconds.
Done.
Retested it with Arcsoft and has same result. On All fixed gaps loud sparkles...

Edit2:

Found a working Solution:

Code:
eac3to v2.66
command line: eac3to 10) 3: d:\audio.dts -core
------------------------------------------------------------------------------
M2TS, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:47:41
1: Chapters, 23 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 7.1 channels, 24 bits, 48khz
4: DTS Master Audio, English, 2.0 channels, 24 bits, 48khz
5: DTS, English, 2.0 channels, 24 bits, 256kbps, 48khz
6: Subtitle (PGS), English
7: Subtitle (PGS), Spanish
Audio gap description file detected, will be used for processing...
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Realizing DTS gaps...
[a03] Creating file "d:\audio.dts"...
Video track 2 contains 154945 frames.
eac3to processing took 15 minutes, 6 seconds.
Done.

and then:

eac3to v2.66
command line: eac3to audio.dts audio.ac3 -448
------------------------------------------------------------------------------
DTS, 5.1 channels, 1:47:43, 24 bits, 1536kbps, 48khz
Decoding with DirectShow (Sonic Audio Decoder)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3 <448kbps> with libAften...
Creating file "audio.ac3"...
eac3to processing took 17 minutes, 17 seconds.
Done.
The DTS-Core is only 5.1 and was gap-fixed without problems.
I checked the final AC3 result on ALL gap-marks/timecodes and file is OK!

So using 7.1? or DTS-HD directly (without core) there are problems in the fill/add/appendpoint/whatever/? routine...

Can you check what is wrong when gap-fixxing the Raw DTS-HD Stream instead the core in the 2.nd fixx-run ?

i tryed the last step with version 2.65 and version 2.66 and booth encoded ac3-files are ok NOW - but in version 2.66 the final file was 2 AC3-frames shorter as when using 2.65.

Last edited by himan2001; 10th October 2008 at 17:42.
himan2001 is offline  
Old 10th October 2008, 19:31   #6534  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
rica wrote:
Quote:
Remuxing of BDs including multiple m2ts files with TSMuxer doesn't correct or remove the gaps/overlaps; so they have to be re-processed by eac3to,
eac3to can not correct gaps/overlaps of True HD files on those BDs, so they have to be transmitted to any other uncompressed or lossless files like pcm or wav or flac.
There is an easier way.
Load the re-encoded video stream into tsMuxer. Then load the playlist .mpls into tsMuxer, select only the wanted original audio stream and mux direct to Blu-ray.
tsMuxer respects the audio gaps!
You will get a synchronous BD.

Last edited by frank; 10th October 2008 at 19:58.
frank is offline  
Old 10th October 2008, 19:59   #6535  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Quote:
Originally Posted by frank View Post
rica wrote:

There is an easier way.
Load the re-encoded video stream into tsMuxer. Then load the playlist .mpls into tsMuxer, select only the wanted audio stream and mux direct to Blu-ray.
tsMuxer respects the audio gaps!
You will get a synchronous BD.
Frank,

I did try this before, as is.
I got the playlist information from BDInfo and directly remuxed needed files.(via TSMuxer)
When i tried to demux back with eac3to, i saw the gaps/overlaps again in created m2ts under BDMV.

Is any tip/trick in loading re-encoded video; i didn't understand? Why re-encoded video?

Last edited by rica; 11th October 2008 at 01:11.
rica is offline  
Old 11th October 2008, 10:41   #6536  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
No need to reencode if you want to stay at 1920x1080.
But I only use 720p, burning on DVD-9. That's why I reencode.

Don't demux the sound track with these gaps!
If you need the separated track you have to process with eac3to that handles the gaps.

Switch to the ripped BD folder and start the command
Code:
<path> eac3to.exe .
Watch the output and then make your batch.

Example:
d:\eac3\eac3to.exe 2) 4: cetk.ac3

eac3to needs some seconds to search subfolders for the needed mpls and starts demuxing the core.
Make 2 runs. The second one compensates the gaps.

It works with TrueHD!

Last edited by frank; 11th October 2008 at 10:57.
frank is offline  
Old 11th October 2008, 10:55   #6537  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
Frank,
what i am trying to say is TSMuxer remuxing doesn't correct the gaps and overlaps. So those gaps/overlaps must be corrected by eac3to before remuxing with TSMuxer.
rica is offline  
Old 11th October 2008, 11:03   #6538  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Not necessarily. Those combined m2ts files with overlaps in them can still play correctly, if the media player is clever enough. Personally, I don't like the idea of having such "dirty" m2ts movie files, though, where you depend on the media player working around the problem...
madshi is offline  
Old 11th October 2008, 11:06   #6539  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
No. As I said, TsMuxeR respects the timestamps and gaps exactly if you mux the sound via playlist .mpls. Movie plays the same way as with gaps (that are only discontinuities in timestamps) on the original BD.
On remuxing you can select the AC3 core in TsMuxeR.

If you remux a demuxed track then TsMuxeR combines all sound packets continously. Gaps are not respected and the result is asynchronous.

I managed the same movie as you and all things are ok.

Last edited by frank; 11th October 2008 at 11:09.
frank is offline  
Old 11th October 2008, 11:09   #6540  |  Link
rica
Registered User
 
Join Date: Mar 2008
Posts: 2,021
I've been really confused

Edit:Think about i first get an m2ts remux via TSMuxer (directly from mpls)
Demux audio with TSMuxer(as is)/not with eac3to and
Remux back with TSMuxer.
What happens?
Will TSMuxer respect the timestamps this time since audio has been demuxed by itself?

Last edited by rica; 11th October 2008 at 11:27.
rica 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 21:56.


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