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 11th January 2009, 23:54   #7781  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by kurt View Post
hm, I'm quite sure I have the latest haali media splitter (1.9.42.1) installed.
Oh well. There's nothing I can do. The homepage says 11th January while the splitter itself says 10th. So eac3to thinks that there's a new version available. No way to fix that, unfortunately...
madshi is offline  
Old 11th January 2009, 23:57   #7782  |  Link
Jeff Flowerday
Registered User
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
Quote:
Originally Posted by madshi View Post
Does that VOB come from a DVD? If so, it would probably be wise to use a tool like DVDDecrypter, because it makes use of the IFO files to properly extract the tracks. eac3to works fine for "simple" VOB files. But complicated DVDs (e.g. multi angle or seamless branching) are not yet properly supported. I'll have to add full IFO parsing etc in order to make that work...
Yes, it's from a DVD.

I used the MakeMKV and it worked, so I'm fine. Thanks again!
Jeff Flowerday is offline  
Old 11th January 2009, 23:57   #7783  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
@all
thanks for the comments and responses re: audio stretching
just to say that this technique is merely a band-aid solution for an obviously broken rip - the stretching merely hides the problem(s) as far as general human perception is concerned - as for the tools, I will consider using eac3to to convert ac3 to wav in future, for a measure of certainty (for whatever the desired application/result)

the real solution is of course to go back to the source and rip the original using the latest and greatest version of eac3to!

cheers
magic144 is offline  
Old 12th January 2009, 00:12   #7784  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
Quote:
Originally Posted by Thunderbolt8 View Post
another question regarding the -bitrate switches for ac3 decoding: when slowing down a 25fps track to 23.976 then the default value is always 640 kbit. assuming the original track has a lower initial bitrate, can I use that switch then to adjust to that bitrate and still would have zero quality loss of the file I slowed down?
I distinctly recall Madshi stating, earlier, that stretching always causes quality degradation at the same bitrate. I take it that's why it will use 640Kbps anyway (even though the source may have been at, say, 448Kbps).
__________________
Gorgeous, delicious, deculture!
asarian is offline  
Old 12th January 2009, 00:18   #7785  |  Link
setarip_old
Registered User
 
setarip_old's Avatar
 
Join Date: Aug 2005
Posts: 16,267
@Jeff Flowerday
Quote:
I used the MakeMKV and it worked, so I'm fine. Thanks again!
I'm glad to hear that my suggestion resolved your dilemma ;>}
setarip_old is offline  
Old 12th January 2009, 00:19   #7786  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
First release in the year 2009. Since I didn't like the idea of reaching "v2.100" sometime this year, I decided to use the opportunity to jump to "v3.00". That's also the reason why there was no new build last week. I've "collected" some things, so that v3.00 really is a worthy upgrade. Enjoy!

-------------------------------------------

eac3to v3.00 released

http://madshi.net/eac3to.zip

Code:
* broken AC3, DTS, AAC and MPx streams are now automatically repaired
* errors in TS/m2ts files are now reported (with runtime) and ignored
* damaged first max 5MB and max 5% of a TS/m2ts file are automatically skipped
* video/audio tracks which can't be parsed, are now demuxed in raw form
* added support for "line 21" closed captions in ATSC/NTSC broadcasts and DVDs
* added reading of movie / network name from "line 21" XDS information
* for gaps, edits & repairs > 1000ms eac3to now inserts silence by default
* for gaps, edits & repairs < 1000ms eac3to now loops audio by default
* option "-silence" forces eac3to to insert silence instead of looping audio
* option "-loop" forces eac3to to loop audio instead of inserting silence
* newly encoded AC3 frame is now used for "silence" instead of file's 1st frame
* increased reading block size (might improve reading performance)
* optimized TS/m2ts demuxing performance
* optimized MPEG2, VC-1 and h264 parsing performance
* command line output is colored now (e.g. errors drawn in red)
* MPEG2 1920x1088 bitstream is now automatically patched/cropped to 1920x1080
* log file now contains "<WARNING>" and "<ERROR>" indicators
* workaround for movie playlists which want the same m2ts file played twice
* added version check for eac3to (doh!)
* when a read error occurs, reading is tried again up to 3 times
* (E-)AC3 frames with -0db dialnorm are now automatically patched to -31db
* updated to newer libAften build -> fixes 44.1khz encoding
* fixed: sometimes "The last DTS frame is incomplete" was a false alarm
* fixed: mkvtoolnix version check didn't work, anymore
* fixed: errors were meant to be output to stderr, but they weren't
* fixed: automatic gap/overlap fixing with AAC targets aborted processing
* fixed: positive edit began a bit too early
* fixed: two ID3 tags after each other made eac3to fail detecting the format
* fixed: some VOB files were not detected properly
Since there have been a lot of changes, some new bugs may appear (hopefully not).
madshi is offline  
Old 12th January 2009, 00:35   #7787  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
Thank You, madshi!
itsancho is offline  
Old 12th January 2009, 00:35   #7788  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
looks huge, thanks!!!

edit: can you please explain how that automatic repair thing technically works? I guess this mainly refers to those .ts streams with audio frames errors?
Thunderbolt8 is offline  
Old 12th January 2009, 00:40   #7789  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,462
@Madshi,

My, you've been busy!
__________________
Gorgeous, delicious, deculture!
asarian is offline  
Old 12th January 2009, 00:46   #7790  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Thunderbolt8 View Post
can you please explain how that automatic repair thing technically works? I guess this mainly refers to those .ts streams with audio frames errors?
Corrupt frames are simply deleted from the audio streams. If the source is a container, the audio gap detection will automatically detect the resulting gaps in the audio stream and fill them again with either looping or silence (depending on how big the gap is). This way the audio tracks should stay in sync.

With demuxed audio tracks eac3to tries to keep the audio track in sync, too, but it's more difficult because the helpful container timestamps are missing. So keeping audio in sync when repairing demuxed audio tracks can be a lottery.
madshi is offline  
Old 12th January 2009, 00:53   #7791  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
madshi your improvements are really amazing! Excellent JOB!!!
Atak_Snajpera is offline  
Old 12th January 2009, 01:09   #7792  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
oops... unfortunately i found the first bug, sorry...
Quote:
eac3to v3.00
command line: z\eac3to "H:\Casino Royale (2006) Blu-ray AVC PCM" 1) 1: e:\Chapters.txt 2: e:\Casino.mkv 4: l:\Casino.wav 7: d:\Casino.sup 8: d:\Casino1.sup
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 8 subtitle tracks, 2:24:13
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: AC3, English, 5.1 channels, 448kbps, 48khz
4: RAW/PCM, English, 5.1 channels, 16 bits, 48khz
5: AC3, French, 5.1 channels, 640kbps, 48khz
6: AC3, Spanish, 5.1 channels, 448kbps, 48khz, dialnorm: -29dB
7: Subtitle (PGS), English
8: Subtitle (PGS), English
9: Subtitle (PGS), French
10: Subtitle (PGS), Spanish
11: Subtitle (PGS), Chinese
12: Subtitle (PGS), Korean
13: Subtitle (PGS), Portuguese
14: Subtitle (PGS), Thai
Creating file "e:\Chapters.txt"...
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] The ts pcm reader received a non-supported data format. <ERROR>
[s08] Extracting subtitle track number 8...
[s07] Extracting subtitle track number 7...
[v02] Muxing video to Matroska...
Aborted at file position 1048576. <ERROR>
with 2.87 audio is demuxing just fine.

Last edited by itsancho; 12th January 2009 at 01:12.
itsancho is offline  
Old 12th January 2009, 01:13   #7793  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by madshi View Post
Corrupt frames are simply deleted from the audio streams. If the source is a container, the audio gap detection will automatically detect the resulting gaps in the audio stream and fill them again with either looping or silence (depending on how big the gap is). This way the audio tracks should stay in sync.

With demuxed audio tracks eac3to tries to keep the audio track in sync, too, but it's more difficult because the helpful container timestamps are missing. So keeping audio in sync when repairing demuxed audio tracks can be a lottery.
Was wondering about this, too. Thanks for that nice feature.
nautilus7 is offline  
Old 12th January 2009, 04:13   #7794  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
and thanks for the looping/silence audio edit options!
magic144 is offline  
Old 12th January 2009, 06:06   #7795  |  Link
sidekick2
Registered User
 
Join Date: Jan 2007
Posts: 17
Thanks madshi!

I'm giving it a whirl right now.

Since you're using colors now, how about changing the "----" as it's converting to some bright color? The dark gray is hard to see with my old eyes!

I don't know if this a bug, or if I did something wrong with this: (It didn't like .thd+ac3 -- Bourne-Ultimatum hd-dvd)

C:\eac3to-ver3>eac3to.exe g: 1) 3: L:\bourne-ult\bu.vc1 2: L:\bourne-ult\bu.txt 5: L:\bourne-ult\bu.
thd+ac3 10: L:\bourne-ult\bu.sup
EVO, 2 video tracks, 5 audio tracks, 3 subtitle tracks, 1:55:18
"Main Movie"
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: VC-1, 480p24 /1.001 (3:2)
5: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB
6: E-AC3, English, 5.1 channels, 384kbps, 48khz, dialnorm: -27dB, -17ms
7: E-AC3, French, 5.1 channels, 384kbps, 48khz, dialnorm: -27dB, -17ms
8: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -17ms
"Commentary"
9: E-AC3, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -4ms
10: Subtitle (VobSub), English, "SDH"
11: Subtitle (VobSub), French
12: Subtitle (VobSub), French, "Forced"
Creating file "L:\bourne-ult\bu.txt"...
v03 Extracting video track number 3...
v03 There's no valid framerate in this bitstream.
a05 Extracting audio track number 5...
a05 Extracting audio track number 5...
v03 Writing new framerate "24fps /1.001" to bitstream.
a05 Removing TrueHD dialog normalization...
a05 Removing TrueHD dialog normalization...
v03 Writing new framerate "24fps /1.001" to bitstream.
a05 Decoding with libav/ffmpeg...
v03 Removing VC-1 pulldown...
a05 Encoding AC3 <640kbps> with libAften...
a05 TrueHD overflow in the thd ac3 joiner.
Aborted at file position 1048576.
sidekick2 is offline  
Old 12th January 2009, 09:04   #7796  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by itsancho View Post
oops... unfortunately i found the first bug, sorry...
with 2.87 audio is demuxing just fine.
Quote:
Originally Posted by sidekick2 View Post
I don't know if this a bug, or if I did something wrong with this: (It didn't like .thd+ac3 -- Bourne-Ultimatum hd-dvd)
These two bugs will be fixed in v3.01.

Quote:
Originally Posted by sidekick2 View Post
Since you're using colors now, how about changing the "----" as it's converting to some bright color? The dark gray is hard to see with my old eyes!
I find the dark progress bar prettier. But if you don't like it, you can adjust the colors to your heart's content in the command prompt settings (right click on the top left corner of the command prompt's title bar, then choose "settings").

What is everyone's opinion? Is the dark gray progress bar good? Or do you prefer the old normal colored one?
madshi is offline  
Old 12th January 2009, 09:06   #7797  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v3.01 released

http://madshi.net/eac3to.zip

Code:
* fixed: m2ts LCPM demuxing didn't work with v3.00
* fixed: TrueHD -> TrueHD+AC3 conversion didn't work with v3.00
madshi is offline  
Old 12th January 2009, 09:09   #7798  |  Link
bmnot
Registered User
 
Join Date: Jun 2007
Posts: 215
Great update, thanks!

So when's this program going to be renamed to Madshi's Uber HD Tool?
bmnot is offline  
Old 12th January 2009, 09:31   #7799  |  Link
itsancho
Registered User
 
Join Date: Jan 2004
Location: Sofia, Bulgaria
Posts: 29
thanx, madshi!

well, about colours... i've ment not to border u with this, but since u've asked. ;-)
i prefer command prompt to look "normal" - white background/black screen text, but with v3.00/3.01 every time i hit "Enter" eac3to automaticly is chaning my custom made settings to black background/grey text...
itsancho is offline  
Old 12th January 2009, 12:40   #7800  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
I like the colors as they are...

madshi, what does this mean?

Code:
eac3to "F:\bd-sc-j" 1) 3: aaa.flac
M2TS, 1 video track, 4 audio tracks, 2:04:01
1: Chapters, 29 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB), -13ms
4: TrueHD/AC3, Japanese, 5.1 channels, 48khz, dialnorm: -27dB
(embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB), -13ms
5: AC3, English, 2.0 channels, 256kbps, 48khz, dialnorm: -27dB, -13ms
6: AC3, English, 2.0 channels, 256kbps, 48khz, dialnorm: -27dB, -13ms
a03 Extracting audio track number 3...
a03 This track begins with a non-major frame.
a03 Extracting TrueHD stream...
a03 Removing TrueHD dialog normalization...
a03 Decoding with libav/ffmpeg...
a03 Applying RAW/PCM delay...
a03 Encoding FLAC with libFlac...
a03 Creating file "aaa.flac"...
It's Sin City JAP Blu-ray Disc. The procedure seems to continue normally after that.
nautilus7 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:02.


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