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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 22nd June 2008, 15:20   #5201  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v2.48 released

http://madshi.net/eac3to.zip

Code:
v2.48
* 96kHz LPCM tracks in (M2)TS and EVO/VOB containers didn't work correctly
* "Applying (E-)AC3 delay" now only shows if the bitstream is actually modified
* fixed crash in MP2 reader when checking some PCM tracks
* added support for MLP formats 13 - 16
* improved/corrected MLP channel descriptions
* MLP parser sets correct channel mask
* added proper channel remaps for libav MLP decoding of "funny" channel formats
* added proper channel remaps for Nero MLP decoding of "funny" channel formats
* added proper channel remaps for Nero AC3 decoding of "funny" channel formats
* when doubling 7th channel the channel mask is set correctly now
* channel mask is corrected if a decoder doesn't output all channels
* channel mask is corrected if a channel downmixing is performed
I've checked out the ArcSoft Audio Decoder. It seems to work well enough - but only when using it in GraphEdit and when manually adjusting the parameters to the correct values. When accessing the decoder from within eac3to the ArcSoft Audio Decoder always outputs stereo, only. I've not found a (documented/official) way how eac3to could convince the decoder to output more than 2 channels, sadly...
madshi is offline  
Old 22nd June 2008, 15:27   #5202  |  Link
menlvd
Registered User
 
Join Date: May 2006
Location: Moscow
Posts: 97
madshi
when rename w64 file 2 pcm file -> eac3to detecting file fine, but the channel masking is't right
original -> produced by eac3to
L -> SL
R -> SR
C -> L
LFE -> R
SL -> C
SR -> LFE
maybe U can look at this
simple need channel remaping -4,5,0,1,2,3

Last edited by menlvd; 22nd June 2008 at 15:38.
menlvd is offline  
Old 22nd June 2008, 16:39   #5203  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by rebkell View Post
tsmuxer might possibly remove the pulldowns, I'm assuming hd-dvd, blu-ray doesn't normally have pulldowns in their h264 files.
Yes it is Transformers HD DVD.
rack04 is offline  
Old 22nd June 2008, 16:54   #5204  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by madshi View Post
eac3to v2.48 released
thanks!

regarding all those mlp changes/fixes, does that mean that some former converted flac tracks could possible be 'wrong' or not working correctly?

and regarding the problematic mpeg2 .ts files, is this already adressed here as well and I can try it again with 2.48?
Thunderbolt8 is offline  
Old 22nd June 2008, 16:54   #5205  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
Quote:
Originally Posted by rack04 View Post
Yes it is Transformers HD DVD.
madshi recommended h264info, and he would be a much better source than I ever hope to be on the subject. If you plan on re-encoding the h264, then DGAVCDec will recognize the pulldowns and frame serve them minus the pulldowns.

I've used tsmuxer in the past, but found that eac3to seems to always keep audio and video in sync and I never have any problems dealing with anything it ouputs.

I'm probably not the normal eac3to user, I normally just extract the video track and convert one of the English audio tracks to a lower bitrate ac3 stream.
rebkell is offline  
Old 22nd June 2008, 16:59   #5206  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by rebkell View Post
madshi recommended h264info, and he would be a much better source than I ever hope to be on the subject. If you plan on re-encoding the h264, then DGAVCDec will recognize the pulldowns and frame serve them minus the pulldowns.

I've used tsmuxer in the past, but found that eac3to seems to always keep audio and video in sync and I never have any problems dealing with anything it ouputs.

I'm probably not the normal eac3to user, I normally just extract the video track and convert one of the English audio tracks to a lower bitrate ac3 stream.
Yes I'm going to re-encode. Using eac3to I change the container to mkv the pulldown is removed, i.e 23.976. When I extract the h264 and use DGAVCDec to index it reports 29.97 and audio video is out of sync. I'll try h264info and report back.
rack04 is offline  
Old 22nd June 2008, 17:08   #5207  |  Link
rebkell
Registered User
 
Join Date: Oct 2006
Posts: 303
Quote:
Originally Posted by rack04 View Post
Yes I'm going to re-encode. Using eac3to I change the container to mkv the pulldown is removed, i.e 23.976. When I extract the h264 and use DGAVCDec to index it reports 29.97 and audio video is out of sync. I'll try h264info and report back.
Does it report 29.97 after you let it(DGAVCIndex) finish? It will report 29.97, but when it finishes it will say that it has pulldowns and would you like to remove them(or something similar to that), click yes and it will then serve them without the pulldowns, at least that was my experience, I think it was with Beowulf that I used it for.
rebkell is offline  
Old 22nd June 2008, 17:13   #5208  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by rebkell View Post
Does it report 29.97 after you let it(DGAVCIndex) finish? It will report 29.97, but when it finishes it will say that it has pulldowns and would you like to remove them(or something similar to that), click yes and it will then serve them without the pulldowns, at least that was my experience, I think it was with Beowulf that I used it for.
Don't think I let it finish. I'll try again thanks.

EDIT1: I just re-ran DGAVCDec and it never asked to remove the pulldowns.

EDIT2: Change the setting to FORCE FILM and it appears to have worked. Thanks.

Last edited by rack04; 22nd June 2008 at 18:03.
rack04 is offline  
Old 22nd June 2008, 18:38   #5209  |  Link
rickardk
Registered User
 
Join Date: Jul 2007
Posts: 259
Quote:
Originally Posted by madshi View Post
I think tebasuna51 can probably answer this best. However, I've just done some tests with funny AC3 channel formats and sometimes the Nero decoder boosted volume on some channels. But normally in my experience the decoders recommended to be used by eac3to (see first post of this thread) do not do any do anything "wrong". In other words: I tried encoding a WAV file in AC3 and DTS. And decoded them again. And encoded them again. And decoded them again. The volume of all channels were unchanged in my tests. I didn't test this with all decoders, but I think the decoders recommended for use with eac3to should be fine.
I asked because I read that some software decoders boost the lfe channel with +10dB (just as hardware ac3/dts decoders does in your regular av receiver).

Great to know that this is not the case with eac3to. Because then you can have your receiver or software like ffshow do the lfe +10dB boost on all remuxes created with eac3to.



This might be ot, but how do I use Graph Edit to decode my 7.1 DTS-HD MA tracks with Arcsoft TMT audio decoder?

I extracted the audio tracks long ago to .dts files. I can't connect the output pin from Sonic HD Demuxer to Arcsoft HD Audio decoder without having Sonic Cinemaster Audio decoder or ffdshow conncted in between.
rickardk is offline  
Old 22nd June 2008, 19:03   #5210  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by menlvd View Post
when rename w64 file 2 pcm file -> eac3to detecting file fine, but the channel masking is't right
original -> produced by eac3to
L -> SL
R -> SR
C -> L
LFE -> R
SL -> C
SR -> LFE
maybe U can look at this
simple need channel remaping -4,5,0,1,2,3
w64 files are simply not supported yet.

Quote:
Originally Posted by Thunderbolt8 View Post
regarding all those mlp changes/fixes, does that mean that some former converted flac tracks could possible be 'wrong' or not working correctly?
Blu-Rays and HD DVDs are TrueHD and *not* MLP. So for most people all the MLP related changes have no effect whatsoever. MLP is mainly used by DVD-Audio.

Quote:
Originally Posted by Thunderbolt8 View Post
and regarding the problematic mpeg2 .ts files, is this already adressed here as well and I can try it again with 2.48?
Yes.

Quote:
Originally Posted by rickardk View Post
how do I use Graph Edit to decode my 7.1 DTS-HD MA tracks with Arcsoft TMT audio decoder?

I extracted the audio tracks long ago to .dts files. I can't connect the output pin from Sonic HD Demuxer to Arcsoft HD Audio decoder without having Sonic Cinemaster Audio decoder or ffdshow conncted in between.
Don't know if you can directly decode demuxed DTS files in GraphEdit with ArcSoft. Maybe it's possible somehow, not sure.

In the meanwhile I've found a way to make the ArcSoft DTS Decoder work inside of eac3to. However, I have to tell the decoder how many channels I want to have decoded. That's problematic because my DTS-HD channel detection isn't really reliable...

Last edited by madshi; 22nd June 2008 at 19:06.
madshi is offline  
Old 22nd June 2008, 20:01   #5211  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
madshi,
My PC has 2 disks, and I usually work with eac3to from one disk to the other and vice-versa until all the processing needed is terminated. From my experience with eac3to it appears that some of the tasks use temp files.
I believe this should be a very simple thing to change, so is it possible for you to create some kind of setting to be used by people like me who uses two disks? It would be great for processing speed and also for disk protection.

For example:
Demuxing 1 video and 2 tracks for the raw streams took 9m16s.
Demuxing 1 video track to mkv and 2 audio tracks for raw streams took 11m18s.

It appears the video to mkv has some kind of temp file, I only don't know if it's located in the source disk or the target disk.

Thanks for your great work!
yesgrey is offline  
Old 22nd June 2008, 20:38   #5212  |  Link
rickardk
Registered User
 
Join Date: Jul 2007
Posts: 259
Quote:
Originally Posted by madshi View Post
Yes.


Don't know if you can directly decode demuxed DTS files in GraphEdit with ArcSoft. Maybe it's possible somehow, not sure.

In the meanwhile I've found a way to make the ArcSoft DTS Decoder work inside of eac3to. However, I have to tell the decoder how many channels I want to have decoded. That's problematic because my DTS-HD channel detection isn't really reliable...
I re-ripped one movie with DTS-HD MA 7.1 audio. But still I can't connect to Arcsoft Audio Decoder HD. Do I have use more filters in the graph?
rickardk is offline  
Old 22nd June 2008, 23:47   #5213  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by madshi View Post
In the meanwhile I've found a way to make the ArcSoft DTS Decoder work inside of eac3to. However, I have to tell the decoder how many channels I want to have decoded. That's problematic because my DTS-HD channel detection isn't really reliable...
Wow!! That's good news, after the bomb you dropped earlier! I am certain that we will get over any problems we come across.

I am quite sure I have dts-ma 4ch track (don't know if it's 4.0 or 3.1) but I can't find it right now. I guess that counts as "funny" format.
Quote:
Originally Posted by rickardk View Post
I re-ripped one movie with DTS-HD MA 7.1 audio. But still I can't connect to Arcsoft Audio Decoder HD. Do I have use more filters in the graph?
See 4-5 pages back, where xkodi posts his findings + graph.

Last edited by nautilus7; 22nd June 2008 at 23:55.
nautilus7 is offline  
Old 23rd June 2008, 07:07   #5214  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by yesgrey3 View Post
For example:
Demuxing 1 video and 2 tracks for the raw streams took 9m16s.
Demuxing 1 video track to mkv and 2 audio tracks for raw streams took 11m18s.

It appears the video to mkv has some kind of temp file, I only don't know if it's located in the source disk or the target disk.
There is no temp file involved when doing MKV muxing. It's just that the MKV muxer costs a bit of performance.

Quote:
Originally Posted by nautilus7 View Post
I am quite sure I have dts-ma 4ch track (don't know if it's 4.0 or 3.1) but I can't find it right now. I guess that counts as "funny" format.
Yes, it does. If you find, can you please upload a small sample (5MB is enough)? Thanks...
madshi is offline  
Old 23rd June 2008, 07:40   #5215  |  Link
ideas_man69
Registered User
 
ideas_man69's Avatar
 
Join Date: May 2004
Posts: 18
just a quick question guys.. not sure if it has been asked - i've skimmed through quite a few pages of this thread already.

when converting tracks to DTS - is the general consensus that:

TrueHD to DTS > E-AC3 to DTS?

or

TrueHD to AC3 > E-AC3 to AC3?

TrueHD is decoded using ffmpeg, eac3 decoded by nero. Are nero's eac3 decoders better quality? Which mode retains the most information?

Last edited by ideas_man69; 23rd June 2008 at 07:57.
ideas_man69 is offline  
Old 23rd June 2008, 08:17   #5216  |  Link
EPiPH0NE
b4k3d
 
Join Date: Sep 2007
Posts: 310
Quote:
Originally Posted by ideas_man69 View Post
just a quick question guys.. not sure if it has been asked - i've skimmed through quite a few pages of this thread already.

when converting tracks to DTS - is the general consensus that:

TrueHD to DTS > E-AC3 to DTS?

or

TrueHD to AC3 > E-AC3 to AC3?

TrueHD is decoded using ffmpeg, eac3 decoded by nero. Are nero's eac3 decoders better quality? Which mode retains the most information?
What I use for HD-DVD:

1. TrueHD -> PCM
2. TrueHD -> DTS
3. 640K/> EAC3 -> AC3 (core for BluRay)
4. 768k/< EAC3 -> DTS


BluRay:

1. TrueHD -> PCM
2. TrueHD -> DTS
3. TrueHD -> AC3 (core)
4. EAC3 (see HD-DVD)

IMHO, best quality is these orders. Depends on your hardware.

Last edited by EPiPH0NE; 23rd June 2008 at 20:28.
EPiPH0NE is offline  
Old 23rd June 2008, 08:30   #5217  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Quote:
Originally Posted by madshi View Post
eac3to v2.48 released

http://madshi.net/eac3to.zip

Code:
v2.48
* 96kHz LPCM tracks in (M2)TS and EVO/VOB containers didn't work correctly
* "Applying (E-)AC3 delay" now only shows if the bitstream is actually modified
* fixed crash in MP2 reader when checking some PCM tracks
* added support for MLP formats 13 - 16
* improved/corrected MLP channel descriptions
* MLP parser sets correct channel mask
* added proper channel remaps for libav MLP decoding of "funny" channel formats
* added proper channel remaps for Nero MLP decoding of "funny" channel formats
* added proper channel remaps for Nero AC3 decoding of "funny" channel formats
* when doubling 7th channel the channel mask is set correctly now
* channel mask is corrected if a decoder doesn't output all channels
* channel mask is corrected if a channel downmixing is performed
I've checked out the ArcSoft Audio Decoder. It seems to work well enough - but only when using it in GraphEdit and when manually adjusting the parameters to the correct values. When accessing the decoder from within eac3to the ArcSoft Audio Decoder always outputs stereo, only. I've not found a (documented/official) way how eac3to could convince the decoder to output more than 2 channels, sadly...
Hi Madshi,
I see that you havent made a reply to my post. Do you haveyou plans/time/possibillties to fullfill my request (converting to 24fps), or shall i simply keep using AviSynth + SoundOut () ?
G_M_C is offline  
Old 23rd June 2008, 08:40   #5218  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by G_M_C View Post
I see that you havent made a reply to my post.
Yes, I have. Look again...
madshi is offline  
Old 23rd June 2008, 09:47   #5219  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Quote:
Originally Posted by madshi View Post
Yes, I have. Look again...


Oops, sorry i overlooked that. My bad ...



Regarding the 24 fps though; More and more displays are beinig "optimized" for 24 fps. Many newer display-manuafacturers even market those functions ("Real cinema 24fps" kind of features). My Panasonic 42pz85 is made for/accepts 1080p24 (and other 24 fps), and so are all displays from this years (2008) generation.

And not only displays are made to work on 24 fps, so are the (newer) players. My dpm dp30 has a specific setting to let it output at 24 fps; But also the PS3 has had an update to output @ 24 fps, and many other players recently been made fit to work on 24fps.

I do not know on what fps movies are encoded and/or stored on the physical disk, if it is 23,976 or not; But even PC-apps & rippers prodce 24 fps these days (and even the "less legal" full BD-rips / torrents often seem to be 24 fps). But now i'm rambling on ... but i think 24 fps will be seen more often in the future.

Last edited by G_M_C; 23rd June 2008 at 09:58.
G_M_C is offline  
Old 23rd June 2008, 09:50   #5220  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by madshi View Post
Do you happen to also have samples for all the funny DTS channel formats?
I make the samples for ac3/mlp with the encoders but with the Surcode DTS v1.0.23 only can make 5.0/5.1 samples and I can't check the eac3to detection and libav channelmap behaviour.

With less channels Surcode put empty channels. For instance:
Code:
eac3to v2.48
command line: "D:\Test\AudioN\eac3to\eac3to.exe" "E:\Test\wavs\2w200.wav" "E:\Test\wavs\2w200.dts"
------------------------------------------------------------------------------
WAV, 2.0 channels, 0:00:20, 16 bits, 48khz
Reading WAV...
Writing WAVs...
Creating file "E:\Test\wavs\2w200.L.wav"...
Creating file "E:\Test\wavs\2w200.R.wav"...
Found Surcode DTS Encoder version 1.0.23.0.
Surcode encoding successfully started. Please wait...
Closing Surcode...
eac3to processing took 1 second.
Surcode encoding took 6 seconds.
Done.


eac3to v2.48
command line: "D:\Test\AudioN\eac3to\eac3to.exe" "E:\Test\wavs\2w200.dts"
------------------------------------------------------------------------------
DTS, 5.0 channels, 0:00:20, 24 bits, 1536kbit/s, 48khz
With FC,BL,BR empty

Quote:
Originally Posted by rickardk
Is the lfe channel always mixed at -10dB for all formats (AC3, E-AC3, TrueHD, DTS, DTS-HD (MA), LPCM)?

Does any of the default decoders apply the +10dB for the lfe channel? (I hope not)
I never see this fixed attenuation/amplification in encoders/decoders.

AFAIK, the encoders can use only (forced or optional) a lowpass filter for LFE channel. Other question is the recommended relative volume level between channels, but is a free choice for the soundtrack author.
tebasuna51 is offline  
Closed Thread

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 08:56.


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