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

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th November 2012, 03:25   #41  |  Link
BigPines
Registered User
 
Join Date: Dec 2010
Posts: 123
One very small enhancement request that would make my life easier is to change the names of the surround output wav files. The output wavs are currently named as follows: audio.L.wav, audio.R.wav, audio.LFE.wav, audio.SL.wav and audio.SR.wav.

The DTSEncoder looks for different names in the surround channel. It would be as simple as changing the output names as follows:

from audio.SL.wav to audio.LS.wav
from audio.SR.wav to audio.RS.wav

This would enable us to drop a single file (the left channel) onto the DTS encoder window and the rest of the files would load themselves automatically.

Just a small thing that would make a BIG difference to those of us using the DTSEncoder.

Thank you for your consideration.

Mike
BigPines is offline   Reply With Quote
Old 19th November 2012, 11:14   #42  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
make it opensource ?
__________________
ChapterGen - manipulate with chapters in various i/o formats, with CLI support
Official website or Doom9 thread
shon3i is offline   Reply With Quote
Old 19th November 2012, 13:03   #43  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by xkodi View Post
... take even for example "Qtec Hi-Definition Reference Disc" - it has the same 24-bit/96kHz multi-channel track in LPCM, TrueHD and DTS-HD MA which is set to "strange setup" - LPCM and TrueHD are correctly decoded bit-perfect, but Arcsoft 1.1.0.0 decode is not bit-perfect. however, the channel order seems wrongly set in the DTS-HD MA to "strange setup" and it doesn't reflect the true channel order of the recording inside
If I understand correctly, you say than this DTS-HD was erroneusly coded to Ls,Rs,Lsr,Rsr when it must be encoded to Lss,Rss,Lsr,Rsr?

All "strange setup" DTS-HD have the same problem and Ls,Rs (110º) must be decoded directly to SL,SR (90º)?

Quote:
... when 'eac3to' decodes all 8 channels of DTS-HD MA "strange setup" bit-perfect then people like "tebasuna51" that believe that's wrong can mix them to their liking.
I don't have the problem because I have only 5.1 audio systems.
But I think is more important preserve the channels positions than the samples was "bit-perfect".

Quote:
Originally Posted by BigPines View Post
The DTSEncoder looks for different names in the surround channel. It would be as simple as changing the output names as follows:

from audio.SL.wav to audio.LS.wav
from audio.SR.wav to audio.RS.wav
Take in mind than SL (M$ definition) means SideLeft (90º) but Ls (DTS definition) mean LeftSurround (110º).
The correct equivalence to SL is Lss (LeftSurroundSide, 90º).

BTW this is not important for 5.1
And my preference is use M$ names por wav files: FL,FR,FC,LFE,SL,SR (or FL,FR,FC,LFE,BL,BR both the same for 5.1 files)
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 19th November 2012 at 13:11.
tebasuna51 is offline   Reply With Quote
Old 19th November 2012, 14:31   #44  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by Atak_Snajpera View Post
...
I would really prefer to use eac3to instead of outdated/buggy flac.exe but i need at least -block switch
And this 2 pass procces can work for you?

eac3to input.flac stdout.wav | lossywav.exe - intermediate.wav

eac3to intermediate.wav stdout.wav | flac -b 512 -o output.lossy.flac --ignore-chunk-sizes -

Because I think more dificult to implement the input.stdin.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 19th November 2012, 16:59   #45  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,816
Quote:
eac3to intermediate.wav stdout.wav | flac -b 512 -o output.lossy.flac --ignore-chunk-sizes -
ok this creates correct flac at least. Nevertheless exposing -block switch for user is just a 10 min work (libFLAC has it anyway). Madshi could also implement automatic block size for extension .lossy. (44.1/48Khz - 512 , 96Khz - 1024 , 192Khz - 2048 and so on...)

Quote:
eac3to input.flac stdout.wav | lossywav.exe - intermediate.wav
This does not work yet but author is working on compatibility with eac3to.

Last edited by Atak_Snajpera; 19th November 2012 at 17:02.
Atak_Snajpera is offline   Reply With Quote
Old 19th November 2012, 20:25   #46  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
I had posted this request in the original thread as I didn't know about this one. Not sure if this is a small or large effort.

Any chance of adding chapter detection/extraction from MKVs please? Thanks for considering it.
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 19th November 2012, 21:50   #47  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
Not to keep madshi from adding mkv chapter extraction, but I think mkvtoolnix does it just fine.
sneaker_ger is offline   Reply With Quote
Old 20th November 2012, 04:08   #48  |  Link
BigPines
Registered User
 
Join Date: Dec 2010
Posts: 123
What is this DTS strange setup people are talking about?

Mike
BigPines is offline   Reply With Quote
Old 20th November 2012, 08:38   #49  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
Quote:
Originally Posted by Snowknight26 View Post
- Use ffmpeg/libavformat for MKV muxing
Is it better than MKVToolnix?
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 20th November 2012, 11:31   #50  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
- Any chance of adding chapter detection/extraction from MKVs please?
Yes we now than eac3to mkv support is not complete, not only with chapters. Pending, not urgent because there are mkvtoolnix.

- Is it (ffmpeg to mux) better than MKVToolnix?
I don't think so, but eac3to uses Haali mux.

- What is this DTS strange setup people are talking about?
The standard 7.1 DTS channel configuration 1 (see attached image) have a exact equivalence with M$ WAV channels:
L,C,R,LFE,Lss,Rss,Lsr,Rsr -> FL,FR,FC,LFE,BL,BR,SL,SR

The strange 7.1 DTS channel configuration 5 don't have a exact equivalence with M$ WAV channels:
L,C,R,LFE,Ls,Rs,Lsr,Rsr -> FL,FR,FC,LFE,BL,BR,?,?
Attached Images
  
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 20th November 2012, 19:08   #51  |  Link
BigPines
Registered User
 
Join Date: Dec 2010
Posts: 123
Thanks for the DTS strange setup explanation tebasuna51.

That is indeed a strange setup. Not sure why anyone would set up their system like that (or encode for that) since there is so little separation between speakers, it would probably not make any difference to have the rear channels at all if you were using that config. So how do we know if an audio stream has been encoded for strange setup?

Mike
BigPines is offline   Reply With Quote
Old 20th November 2012, 22:43   #52  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
eac3to say you when is a 7.1 strange setup:

DTS Master Audio, 7.1 (strange setup) channels, 24 bits, 48kHz
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 21st November 2012, 02:42   #53  |  Link
BigPines
Registered User
 
Join Date: Dec 2010
Posts: 123
eeeewwwww. I've never noticed that. I'll definitely have to check that out. Someone should start a list of titles that have this "problem".

So, you are saying eac3to will decode a 7.1 file differently depending on if it is strange setup or not? Shouldn't levels and delays be handled by the producer/artist? What does the encoder/decoder do differently for these type of streams? Why does eac3to need to know the difference? In my mind, the encoder should just combine 8 discrete channels of audio and it shouldn't be messing with the content at all but maybe I am wrong.

Mike
BigPines is offline   Reply With Quote
Old 21st November 2012, 18:09   #54  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Quote:
Originally Posted by sneaker_ger View Post
Not to keep madshi from adding mkv chapter extraction, but I think mkvtoolnix does it just fine.
So does MKVExtract, but it would be nice to just use one tool.
__________________
Chumbo
Chumbo is offline   Reply With Quote
Old 22nd November 2012, 15:57   #55  |  Link
Hobbe
Registered User
 
Join Date: Oct 2007
Posts: 42
Use ffmpeg (libav) instead of aften when encoding AC3?
Hobbe is offline   Reply With Quote
Old 26th November 2012, 03:20   #56  |  Link
phate89
Registered User
 
Join Date: Apr 2009
Posts: 153
I have 2 improvements
1) i use a lot eac3to editing and it's a pain actually that the point you use have to be bigger than the edit you do. So if you have to add 2 seconds of silence after the first second you can't, if you have to add 11 seconds of silence after 10 second you cant', if you have to add 31 seconds of silence after 30 seconds you can't and so on.

2) (probably it's not even fixable by eac3to but from the decoder), to be able to manage mixed content, i work a lot with mixed ac3 (both 2.0 and 5.1 from tv transmission recordings) and i always have to use besweet because is the only tool i know that can decode to wav without destroy the audio or to have to clean the stream. if i pass for example an audio that is all 5.1 but have a frame 2.0 at the start it considers all frames as 2.0 so the length is 3 times the original. instead besweet leave where is only 2.0 puts the sound in l and r channel and leave with silence the other 4 channels so you'll get in output a full 5.1 good track.

Last edited by phate89; 26th November 2012 at 03:42.
phate89 is offline   Reply With Quote
Old 26th November 2012, 03:57   #57  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
1) Already included in first post: Bad checking between edit position and duration.

2) Yes, is a decoder issue.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 27th November 2012, 05:38   #58  |  Link
BigPines
Registered User
 
Join Date: Dec 2010
Posts: 123
I stumbled across what appears to be another eac3to bug. This time it showed up on The Lorax 3D. Although the disc is 3D and has an SSIF folder in the STREAM folder, eac3to does not appear to recognize it as a 3D disc. The right eye does not show up in the list of tracks nor can it be demuxed using eac3to.

Z:\Internal HD\Volumes\LORAX_NA_3D\BDMV\PLAYLIST>"C:\Program Files (x86)\eac3to\
eac3to.exe"
1) 00031.mpls, 00028.m2ts+00035.m2ts, 1:26:19
- Chapters, 20 chapters
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- DTS, Spanish, multi-channel, 48kHz
- DTS, French, multi-channel, 48kHz
- AC3, English, stereo, 48kHz
- AC3, English, stereo, 48kHz

2) 00027.mpls, 00028.m2ts, 1:02:37
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- DTS, Spanish, multi-channel, 48kHz
- DTS, French, multi-channel, 48kHz
- AC3, English, stereo, 48kHz
- AC3, English, stereo, 48kHz

3) 00030.mpls, 00035.m2ts, 0:23:42
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48kHz
- DTS, Spanish, multi-channel, 48kHz
- DTS, French, multi-channel, 48kHz
- AC3, English, stereo, 48kHz
- AC3, English, stereo, 48kHz

Mike
BigPines is offline   Reply With Quote
Old 2nd December 2012, 23:33   #59  |  Link
DarkSpace
Registered User
 
Join Date: Oct 2011
Posts: 204
BigPines, does that also happen when you select a playlist or only in the general overview? Try e.g.
Code:
Z:\Internal HD\Volumes\LORAX_NA_3D\BDMV\PLAYLIST>"C:\Program Files (x86)\eac3to\eac3to.exe" 1)
It may simply not show the right eye stream because it only parses the playlist files* and not the actual files on the disc, whereas it will analyze the actual files when you specify a playlist.

* The Playlist files may or may not contain incorrect data about the streams. I think I remember a case in the eac3to thread where the Playlist file specified an AC3 track but the actual format of the track was DTS-HDMA (as correctly detected by eac3to when parsing the files).

Last edited by DarkSpace; 2nd December 2012 at 23:42.
DarkSpace is offline   Reply With Quote
Old 5th December 2012, 19:28   #60  |  Link
get8p
Guest
 
Posts: n/a
If I may, I would like to suggest some features that I think are important. Consider these, please:

1) avi, mp4, mov, mpg, flv support for demux(maybe even muxing, that would be fantastic). Basically, avi/mp4 support is most important feature I think eac3to is lacking, along with..
2) Proper ac3 decoding. As a freeware progs like azid or tranzcode can properly decode ac3, it's a real shame such powerful instrument as eac3to uses nero/libav for that.
3) ac3(maybe also dts)dialnorm applying. There's also a freeware tool ChangeDN(I think it's even opersourced), which can simply apply a given dialnorm to ac3 without decoding.

/Thanks in advance

Last edited by get8p; 5th December 2012 at 19:34.
  Reply With Quote
Reply


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 00:23.


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