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

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th June 2010, 17:18   #10101  |  Link
DoomBot
Registered User
 
Join Date: Jan 2008
Posts: 98
Quote:
Originally Posted by madshi View Post

Spiderman 2 is a seamless branching disc, as far as I remember. If you demux/extract the THD data first and convert it to WAVs or FLAC later, you'll get a "lossless check failed" warning for every seamless branch. That is to be expected. You should have gotten a warning from eac3to, though, when extracting the THD track in the first place. It's not a good idea to extract THD tracks from seamless branching Blu-Rays. Audio and video will drift out of sync, because eac3to can't fix the audio overlaps with THD tracks, when demuxing them. You should convert to THD/WAVs directly from the original Blu-Ray structure. Then those "lossless check failed" warnings should go away and audio and video will stay in sync.
I thought eac3to will let you know if there is audio overlaps with THD tracks even if it can't fix the overlap or is it just a gap it warns you about? Even i did Spider-man 2 keeping the Truehd track and not converting to PCM because i thought there wasn't any overlap since eac3to didn't tell me there was. Can i just convert the truehd from the original blu-ray to pcm or just a WAV and not WAVs? Say if i convert to WAVs should eac3to tell me there was overlaps to fix?

Last edited by DoomBot; 11th June 2010 at 01:53.
DoomBot is offline   Reply With Quote
Old 8th June 2010, 19:09   #10102  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Quote:
Originally Posted by SomeJoe View Post
Ideally, eac3to should produce an OGG chapter format file with this conversion already done, since the OGG chapter format file is supposed to use wall-clock time, not an NDF timecode expressed in fractional seconds.
SomeJoe, thank you a lot for you full explanation.

If eac3to is producing NDF timecode expressed in fractional seconds, I should convert these values to wall-clock time using this formula:

Wall-clock time (seconds) = NDF timecode (fractional seconds) * 1001 / 1000

I make a try immediately and come back after.
Laurent is offline   Reply With Quote
Old 8th June 2010, 22:01   #10103  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Result of the test: that is now perfect
SomeJoe, As you said, eac3to should ideally produce the correct values. This discussion might give the idea to madshi to add an option to apply a coef 1001/1000 to chapter timestamps ?
If not, that means a little tool should be written to apply this correction, taking one OGG chapter file as input and producing a corrected OGG chapter file as output. If this tool does not exist, I will develop one myself, that should not be very hard to do.
Laurent is offline   Reply With Quote
Old 8th June 2010, 22:42   #10104  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,381
Small bug I've come across every now and then with eac3to and NeroAacEnc:

When converting/(de)muxing multiple tracks from a random source, one instance of NeroAacEnc doesn't seem to exit, making eac3to hang at the last progress bar. Ending that hung instance of NeroAacEnc causes eac3to to flood the command prompt with
Quote:
a09 [NeroAacEnc] Processed x seconds...
until it it gets to
Quote:
Aborted at file position x.
where x is the size of the file (so the end of it).

I've never seen this happen when doing single audio conversions to AAC, so I suspect it's something to do with eac3to not continuing to feed that hung instance of NeroAacEnc even after all other track operations had finished. Or maybe not.. who knows. Redoing the same command usually fixes it, suggesting that it happens randomly.
Snowknight26 is offline   Reply With Quote
Old 8th June 2010, 23:34   #10105  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 6,228
@madshi
I did a small test (ArcSoft DTS Decoder installed and working, source is .m2ts)
DTSMA -> .w64
and
DTSMA -> .wav -> .w64

Somehow those two file are not identical
Atak_Snajpera is offline   Reply With Quote
Old 9th June 2010, 00:55   #10106  |  Link
SomeJoe
Registered User
 
Join Date: Jan 2003
Posts: 315
Quote:
Originally Posted by Laurent View Post
Result of the test: that is now perfect
SomeJoe, As you said, eac3to should ideally produce the correct values. This discussion might give the idea to madshi to add an option to apply a coef 1001/1000 to chapter timestamps ?
If not, that means a little tool should be written to apply this correction, taking one OGG chapter file as input and producing a corrected OGG chapter file as output. If this tool does not exist, I will develop one myself, that should not be very hard to do.
Yes, I was actually thinking of developing a similar tool myself.

Such tools already exist for subtitles files, since this type of conversion (and many others, like 23.976 NTSC -> 25.000 PAL) are frequently required. But no such tool as yet exists for OGG chapter format files.
__________________
- SomeJoe
SomeJoe is offline   Reply With Quote
Old 9th June 2010, 02:00   #10107  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by SomeJoe View Post
Yes, I was actually thinking of developing a similar tool myself.

Such tools already exist for subtitles files, since this type of conversion (and many others, like 23.976 NTSC -> 25.000 PAL) are frequently required. But no such tool as yet exists for OGG chapter format files.
I knocked up a python script a while ago to do this if you and Laurent are interested. It's pretty basic but does the job for me.
TinTime is offline   Reply With Quote
Old 9th June 2010, 05:01   #10108  |  Link
Frank K Abbott
Registered User
 
Join Date: Mar 2010
Posts: 69
I hope this isn't the wrong thread but I tried to use eac3to to encode from .wav to .mp3 but looks like it doesn't support that type of conversion? What is the best software that I can use for MP3 encoding? Command line is preferred as long as it is the latest. I went to the LAME website but I can't find the command line encoder of it anywhere
Frank K Abbott is offline   Reply With Quote
Old 9th June 2010, 05:13   #10109  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,401
Quote:
Originally Posted by Frank K Abbott View Post
I went to the LAME website but I can't find the command line encoder of it anywhere
Try this:

http://www.rarewares.org/mp3-lame-bundle.php

HTH.
Midzuki is offline   Reply With Quote
Old 9th June 2010, 05:15   #10110  |  Link
Frank K Abbott
Registered User
 
Join Date: Mar 2010
Posts: 69
Wow, thanks Midzuki! This is exactly what I was looking for!
Frank K Abbott is offline   Reply With Quote
Old 9th June 2010, 18:04   #10111  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Quote:
Originally Posted by TinTime View Post
I knocked up a python script a while ago to do this if you and Laurent are interested. It's pretty basic but does the job for me.
I am using a xcalc sheet to convert values + CSV format (":" as separator). My input and output file is not in OGG chapter format but only the list of values (exactly what is required by multiAVCHD). So this requires few steps to achieve the job.

I have started the update of my AVCHD compilation changing chapters for 3 titles. I will check the result later.

By the way, I am interested by your python script (especially if nothing special is required to run it).
Laurent is offline   Reply With Quote
Old 9th June 2010, 20:18   #10112  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by Laurent View Post
I am using a xcalc sheet to convert values + CSV format (":" as separator). My input and output file is not in OGG chapter format but only the list of values (exactly what is required by multiAVCHD). So this requires few steps to achieve the job.

I have started the update of my AVCHD compilation changing chapters for 3 titles. I will check the result later.

By the way, I am interested by your python script (especially if nothing special is required to run it).
Well, you'd need to install Python 3.1.2, but you can just install it and forget it.

Script and instructions are here.

Script chapters.py outputs an OGG chapter file. Script chapters2.py is the same but with a couple of lines removed so it just outputs the timecodes (it sounds like that would be more useful for you).

Note - it's pretty rough and ready so if you input something other than a standard OGG chapter file it's going to fail with a not very user friendly error message!
TinTime is offline   Reply With Quote
Old 9th June 2010, 22:31   #10113  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
Quote:
Originally Posted by TinTime View Post
Well, you'd need to install Python 3.1.2, but you can just install it and forget it.

Script and instructions are here.

Script chapters.py outputs an OGG chapter file. Script chapters2.py is the same but with a couple of lines removed so it just outputs the timecodes (it sounds like that would be more useful for you).

Note - it's pretty rough and ready so if you input something other than a standard OGG chapter file it's going to fail with a not very user friendly error message!
Thank you, I will check that.
Before using your script, I have to run eac3to to generate again the OGG chapter file from my AVCHD compilation. Easy.

Last edited by Laurent; 9th June 2010 at 22:35.
Laurent is offline   Reply With Quote
Old 9th June 2010, 22:55   #10114  |  Link
Laurent
Registered User
 
Join Date: May 2010
Posts: 35
TinTime, I just tried your two Python scripts. Very usefull and (of course) easier in comparison to my previous method.
Laurent is offline   Reply With Quote
Old 10th June 2010, 07:47   #10115  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,426
@SomeJoe, Laurent try my ChapterGen tool http://forum.doom9.org/showthread.ph...ght=chaptergen, it have OGG Input/output, and conversion between rates. For HDDVD you need to alter from 24->23.976 to get exact chapters.
shon3i is offline   Reply With Quote
Old 10th June 2010, 09:15   #10116  |  Link
krohm
Registered User
 
krohm's Avatar
 
Join Date: May 2009
Posts: 7
Quote:
Originally Posted by Atak_Snajpera View Post
@madshi
I did a small test (ArcSoft DTS Decoder installed and working, source is .m2ts)
DTSMA -> .w64
and
DTSMA -> .wav -> .w64
this will do a lossless conversion of dts to wav right...??

i have arcsoft totalmedia extreme and theatre, will this have the decoder in it?

what command line would i use to get a dts audio file to be decoded with eac3to to lossless wavs so i can load it into a video editor...
krohm is offline   Reply With Quote
Old 10th June 2010, 18:49   #10117  |  Link
ramicio
Banned
 
Join Date: Mar 2004
Location: PA, US
Posts: 684
Quote:
Originally Posted by Atak_Snajpera View Post
@madshi
I did a small test (ArcSoft DTS Decoder installed and working, source is .m2ts)
DTSMA -> .w64
and
DTSMA -> .wav -> .w64

Somehow those two file are not identical
how long is the audio?
ramicio is offline   Reply With Quote
Old 10th June 2010, 19:32   #10118  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 6,228
Both files have identical size


however mediainfo shows something interesting
Code:
General
Complete name                    : C:\temp\audio.w64
Format                           : Wave64
File size                        : 5.20 GiB
Duration                         : 37mn 25s
Overall bit rate                 : 19.9 Mbps

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint                    : Microsoft
Duration                         : 37mn 25s
Bit rate mode                    : Constant
Bit rate                         : 4 608 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 1.20 GiB (23%)
Code:
General
Complete name                    : C:\temp\audio_wav_to.w64
Format                           : Wave64
File size                        : 5.20 GiB
Duration                         : 2h 41mn
Overall bit rate                 : 4 608 Kbps

Audio
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Unsigned
Codec ID                         : 00001000-0000-0100-8000-00AA00389B71
Codec ID/Hint                    : Microsoft
Duration                         : 2h 41mn
Bit rate mode                    : Constant
Bit rate                         : 4 608 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Side: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 5.20 GiB (100%)

Last edited by Atak_Snajpera; 10th June 2010 at 19:35.
Atak_Snajpera is offline   Reply With Quote
Old 11th June 2010, 02:03   #10119  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,253
@Atak_Snajpera
I can confirm the eac3to bug when write the w64 header (work fine with wav input).
The fields RiffLength and DataLength are truncated to 32 bits instead the full 64 bits value (4 GB limit).

Tested decoding standard DTS (I don't have big DTS-MA) with ArcSoft or libav
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is online now   Reply With Quote
Old 12th June 2010, 10:15   #10120  |  Link
alfixdvd
Registered User
 
Join Date: Mar 2004
Posts: 243
With movie Van Helsing Arcsoft Total Media Teather show me 37 subtitles, but eac3to only list 32 subtitles, 5 last ones are absent.

How can I extract them ?

Perhaps anything is wrong ?

Last edited by alfixdvd; 12th June 2010 at 17:04.
alfixdvd is offline   Reply With Quote
Reply

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 22:22.


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