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 17th August 2010, 21:47   #10461  |  Link
nurbs
Registered User
 
Join Date: Dec 2005
Posts: 1,460
Quote:
Originally Posted by rapscallion View Post
By "apply" do you mean it removes it when decoding an ac3 track? Because that's what I'm looking for the decoder to do.
It removes it on demuxing and doesn't apply it on decoding which is essentially the same as removing it.
nurbs is offline  
Old 17th August 2010, 21:49   #10462  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
Gotcha, thanks !
__________________
"Talk to me Goose"
rapscallion is offline  
Old 17th August 2010, 21:58   #10463  |  Link
Abradoks
Registered User
 
Join Date: Mar 2008
Posts: 71
Quote:
Originally Posted by rapscallion View Post
Or am I misunderstanding how the decoder processes the stream to wavs ?
DRC is metainformation. By default Nero decoder always applies DRC when such information is presented. eac3to uses some hacks to avoid it, but as you see it doesn't work always. On the contrary, with libav you have full control over this and by default it doesn't apply DRC. So you don't need to "remove" anything.

Quote:
Originally Posted by rapscallion View Post
Thanks, however I actually saw that link but didn't see anywhere to download the file, just an explanation of what it does. Am I missing something ?
Here is direct link: AFsp-v8r2.tar.gz. win32 binaries are in MSVC/bin folder.
Abradoks is offline  
Old 17th August 2010, 22:29   #10464  |  Link
rapscallion
NY Frame of Mind
 
rapscallion's Avatar
 
Join Date: Dec 2005
Location: L.I.,NY
Posts: 586
Quote:
Originally Posted by Abradoks View Post
DRC is metainformation. By default Nero decoder always applies DRC when such information is presented. eac3to uses some hacks to avoid it, but as you see it doesn't work always. On the contrary, with libav you have full control over this and by default it doesn't apply DRC. So you don't need to "remove" anything.
Ok, I really did misunderstand that process. And now I see why it was so long before the problem was discovered.
Reminds me of years ago when I worked for the Norwegian audio co Tandberg. The running joke was that the name translated to "intermittent".

Quote:
Originally Posted by Abradoks View Post
Here is direct link: AFsp-v8r2.tar.gz. win32 binaries are in MSVC/bin folder.
Thank you again and for the link..... had to go back to my command prompt days to do this one
__________________
"Talk to me Goose"
rapscallion is offline  
Old 18th August 2010, 20:06   #10465  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Newer versions (e.g. 1.1.0.7) of the dtsdecoder.dll seem to have this problem. Older versions (e.g. 1.1.0.0) work just fine.
Does older version contain any serious bugs which were fixed in newer? In other words. Is it safe to downgrade decoder to older version?
Atak_Snajpera is offline  
Old 18th August 2010, 20:11   #10466  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by Atak_Snajpera View Post
Does older version contain any serious bugs which were fixed in newer? In other words. Is it safe to downgrade decoder to older version?
v1.1.0.0 works fine for me, without know bugs, with XP SP3.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 20th August 2010, 03:43   #10467  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
Quote:
Originally Posted by madshi View Post
Hmmmmm... This is a difficult one. Sometimes there might be a small intro with different channels before the real movie which I could easily ignore without doing any damage. But then there might be movies where actually different parts have different audio tracks (e.g. seamless branching theatrical cut vs. director's cut). How can eac3to know? E.g. if the first m2ts file is 10 minutes long, shall I still cut it away? For an intelligent human it's not so difficult to find out whether an m2ts file can be dropped or not, but for a computer program it's much more difficult. I fear that if I simply drop the first m2ts file if it has different audio track properties, then I might damage some real movies.

Thoughts?

(BTW, the frame rate is not different, eac3to is more or less "guessing" the m2ts framerate, it's sometimes wrong. The video track framerate is reliable and it's identical.)
I've run into a couple of disks with playlists such as this too. The latest one is called “Dead Man Running”.

Perhaps if eac3to could look at the first 2 files in the playlist and then it notices they do not have matching tracks it could then use only the file with the higher track count and longest time. If the track counts don’t match eac3to will fail anyway, so there would be nothing to loose. The chapter times would also have to be offset by missing file length. Maybe if the first file is less than 30 seconds long just drop it, or perhaps a switch?

Mike
__________________
Another EAC3to GUI Plus

Last edited by MikeEby; 20th August 2010 at 03:49.
MikeEby is offline  
Old 20th August 2010, 10:17   #10468  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
Quote:
Hmmmmm... This is a difficult one. Sometimes there might be a small intro with different channels before the real movie which I could easily ignore without doing any damage. But then there might be movies where actually different parts have different audio tracks (e.g. seamless branching theatrical cut vs. director's cut). How can eac3to know? E.g. if the first m2ts file is 10 minutes long, shall I still cut it away? For an intelligent human it's not so difficult to find out whether an m2ts file can be dropped or not, but for a computer program it's much more difficult. I fear that if I simply drop the first m2ts file if it has different audio track properties, then I might damage some real movies.

Thoughts?

(BTW, the frame rate is not different, eac3to is more or less "guessing" the m2ts framerate, it's sometimes wrong. The video track framerate is reliable and it's identical.)
I agree with MikeEby. eac3to should compare two first files in playlist. File with higher number of channels should be kept. File with lower number of channels should be automatically discarded.

Quote:
I've run into a couple of disks with playlists such as this too.
MikeEby can you provide samples or at least logs like mine
Quote:
eac3to v3.22
------------------------------------------------------------------------------
1) 00014.mpls, 00034.m2ts+00014.m2ts, 2:35:21
- Chapters, 35 chapters
- VC-1, 1080p24 /1.001 (16:9)
- AC3, German, stereo, 48kHz

00034.m2ts
M2TS, 1 video track, 1 audio track, 0:00:37, 29.766p
1: Chapters, 35 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: AC3, German, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB

00014.m2ts
M2TS, 1 video track, 1 audio track, 0:00:29, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, German, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB

Last edited by Atak_Snajpera; 20th August 2010 at 10:25.
Atak_Snajpera is offline  
Old 20th August 2010, 10:31   #10469  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
Or change the way the info is presented, currently:
Code:
M2TS, 1 video track, 1 audio track, 0:20:43, 50i
1: Chapters, 4 chapters
2: MPEG2, 576i50 (16:9)
3: AC3, German, 2.0 channels, 192kbps, 48kHz
if streams differ in underlying .m2ts files

Code:
00001.M2TS, 1 video track, 1 audio track, 0:00:43, 50i
1: Chapters, 4 chapters
2: MPEG2, 576i50 (16:9)
3: AC3, German, 2.0 channels, 192kbps, 48kHz

00002.M2TS, 1 video track, 1 audio track, 0:20:00, 24p
4: VC-1,1080p24 (16:9)
5: DTS, German, 5.1 channels
mrr19121970 is offline  
Old 20th August 2010, 12:07   #10470  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
madshi,

"-mono" switch to output only center channel (in mono wavs) doesn't seem to work correctly when a second pass is needed.

Code:
eac3to v3.24
command line: eac3to  audio.thd audio.bd.wavs -mono
------------------------------------------------------------------------------
TrueHD, 5.1 channels, 48kHz
Decoding with libav/ffmpeg...
Writing WAVs...
Creating file "audio.bd.C.wav"...
[libav] Lossless check failed - expected 0, calculated c  <WARNING>
The original audio track has a constant bit depth of 16 bits.
Superfluous zero bytes detected, will be stripped in 2nd pass.
Starting 2nd pass...
Decoding with libav/ffmpeg...
Reducing depth from 24 to 16 bits...
Writing WAVs...
Creating file "audio.bd.L.wav"...
Creating file "audio.bd.C.wav"...
Creating file "audio.bd.SR.wav"...
Creating file "audio.bd.LFE.wav"...
Creating file "audio.bd.R.wav"...
Creating file "audio.bd.SL.wav"...
The processed audio track has a constant bit depth of 16 bits.
eac3to processing took 21 minutes, 21 seconds.
Done.

Last edited by nautilus7; 20th August 2010 at 12:12.
nautilus7 is offline  
Old 20th August 2010, 18:05   #10471  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Hate to nag, but any hopes of getting -check working with SRT subs in an upcoming build? ASS subs work fine, but SRT..
Snowknight26 is offline  
Old 20th August 2010, 19:10   #10472  |  Link
chompy
Registered User
 
Join Date: Jul 2004
Posts: 213
I don't know if this is a bug, or if that's what's meant to be, but demuxed H264 videos cannot be opened with Adobe Premiere, while the same videos demuxed with tsMuxeR can be opened and edited perfectly.

Greetings

EDIT: The files I'm demuxing are m2ts ripped from bluray

Last edited by chompy; 20th August 2010 at 19:28.
chompy is offline  
Old 20th August 2010, 19:36   #10473  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
Quote:
Originally Posted by Atak_Snajpera View Post
I agree with MikeEby. eac3to should compare two first files in playlist. File with higher number of channels should be kept. File with lower number of channels should be automatically discarded.
what about movies like "Fireflies In The Garden"?

Code:
Logo 1, Channels: 2.0, 10.400s
Logo 2, Channels: 5.1, 4.992s
Logo 3, Channels: 2.0, 15.680s
Movie, Channels: 5.1
it should stay as it is...
_
__________________
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  
Old 21st August 2010, 03:48   #10474  |  Link
Momber
Registered User
 
Join Date: Mar 2007
Posts: 217
Quote:
Originally Posted by madshi View Post
The FLAC is correct. ... If you still get incorrect channel assignments then it's the fault of some other filter
I'm not in the least surprised to hear that.

Quote:
eac3to and madFlac definitely handle 3.0 correctly now.
Great! Thank you very much.
Momber is offline  
Old 21st August 2010, 13:21   #10475  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,542
I am trying to convert "American Gangster" extended edition from BD to MKV.

Firstly I have to correctly demux every track but a problem exist.

The standard lenght is composed by the following M2TS:
Code:
2:36:50

235+222
236+223
237+224
238+225
239+226
240+227
241+228
242+229
243+230
244+231
245+232
246+233
247+234
248
The extended lenght from the following:

Code:
2:55:46

235+249
236+250
237+251
238+252
239+253
240+254
241+255
242+256
243+257
244+258
245+259
246+260
247+261
248
The standard lenght has every language and subs, the extended only the english in the alternative M2TS.

I need the italian+english(when italian missing) extended version. How is possible to tell eac3to to select a particular stream from a M2TS and changing it while joining?
__________________
@turment on Telegram
tormento is offline  
Old 22nd August 2010, 00:53   #10476  |  Link
MikeEby
Registered User
 
Join Date: Apr 2010
Posts: 24
Quote:
Originally Posted by Atak_Snajpera View Post


MikeEby can you provide samples or at least logs like mine
Here you go.
The Girl With The Dragon Tatoo (US Version)
Code:
1) 00001.mpls, 2:33:02
   [1+0+17+18].m2ts
   - Chapters, 17 chapters
   - h264/AVC, 1080p24 /1.001 (16:9)

00001.m2ts
M2TS, 1 video track, 0:00:10, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)

00000.m2ts
M2TS, 1 video track, 2 audio tracks, 1 subtitle track, 2:32:44, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: AC3, Swedish, 5.1 channels, 448kbps, 48kHz, dialnorm: -27dB
3: AC3, English, 5.0 channels, 448kbps, 48kHz, dialnorm: -27dB
4: Subtitle (PGS), English

00017.m2ts
M2TS, 1 video track, 0:00:04, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)

00018.m2ts
M2TS, 1 video track, 0:00:04, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)

Mary and Max (US Version) This one has matching track counts just the track properties don't match.
Code:
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

00023.m2ts
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 0:00:10, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: RAW/PCM, English, 2.0 channels, 16 bits, 48kHz
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: Subtitle (PGS), Spanish
7: Subtitle (PGS), English

00000.m2ts
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
Dead Man Running This one has matching track counts too...Different audio types in the two files. My original thought won't work.

Code:
1) 00001.mpls, 00009.m2ts+00003.m2ts, 1:31:48
   - Chapters, 12 chapters
   - h264/AVC, 1080p24 /1.001 (16:9)
   - DTS, English, stereo, 48kHz
   - DTS, English, stereo, 48kHz

2) 00005.mpls, 00011.m2ts, 0:23:55
   - h264/AVC, 1080i60 /1.001 (16:9)
   - DTS, English, stereo, 48kHz

3) 00004.mpls, 00010.m2ts, 0:23:12
   - h264/AVC, 1080i60 /1.001 (16:9)
   - DTS, English, stereo, 48kHz

00009.m2ts
M2TS, 1 video track, 2 audio tracks, 0:00:15, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS, English, 2.0 channels, 16 bits, 510kbps, 48kHz
3: DTS, English, 2.0 channels, 16 bits, 510kbps, 48kHz

00003.m2ts
M2TS, 1 video track, 2 audio tracks, 1:31:32, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 16 bits, 48kHz core: DTS, 5.1 channels, 16 bits, 1509kbps, 48kHz)
3: DTS, English, 2.0 channels, 16 bits, 768kbps, 48kHz
Thanks!
Mike
__________________
Another EAC3to GUI Plus

Last edited by MikeEby; 22nd August 2010 at 01:04.
MikeEby is offline  
Old 22nd August 2010, 20:15   #10477  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
@tormento

Hi!
Quote:
I am trying to convert "American Gangster" extended edition from BD to MKV.
That's a simple task for MakeMKV (including stream selection)...
setarip_old is offline  
Old 23rd August 2010, 01:05   #10478  |  Link
krosswindz
Registered User
 
Join Date: Feb 2006
Location: kernel space
Posts: 245
I am using the eac3to v3.24 to extract wave files from a DTS MA source. I noticed that the wave files have a bitrate of 1152kbps though the core is 1509 kbps. I am using the arcsoft DTS decoder v1.1.0.0. I extracted the wave files using the following command line

Code:
c:\path\to\eac3to.exe e:\path\to\blu-ray\source 1) 3: output.wavs
I am wondering is there something that I am doing wrong. If I extract the core as wave files the bitrate is again at 1152 kbps.
krosswindz is offline  
Old 23rd August 2010, 01:25   #10479  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
No, nothing's wrong. The bitrate of a PCM WAV file is always going to be (bitdepth * sample rate * channels / 1000) kbps. More specifically bitdepth will be rounded up to the nearest byte.

So in your example it's 24 * 48000 * 1 / 1000 = 1152kbps

It doesn't matter if the source is lossy or lossless. If they both decode to the same bitdepth then the resultant wavs will be the same size.
TinTime is offline  
Old 23rd August 2010, 02:21   #10480  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,542
Quote:
Originally Posted by setarip_old View Post
That's a simple task for MakeMKV (including stream selection)... [/Color]
Sorry, I have tried but Make MKV sees only the eng audio for the extended version.. My will is to use the eng audio where the ita audio is missing... I could try to encode every M2TS separately and join them but doing this would not correct the audio gaps and so.
__________________
@turment on Telegram
tormento 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 15:30.


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