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. |
29th November 2007, 02:21 | #1781 | Link | |
Registered User
Join Date: Feb 2005
Posts: 585
|
Quote:
If you're too lazy to type in the full path, then map a drive to your long-and-often-used location.
__________________
Chumbo |
|
29th November 2007, 09:43 | #1783 | Link |
Registered User
Join Date: Mar 2006
Posts: 135
|
TrueHD decode
Hello Madshi,
i found strange thing. When i try to convert TrueHD to DTS, it correctz detects bit depth of TrueHD but it still creates all wav files twice, one for 24 bit and the second for 16. Can i somehow prevent this behaviour? Because it requires twice space on HDD and decode is then twice slower. |
29th November 2007, 09:49 | #1784 | Link | |
teh Fighting Falcon™
Join Date: May 2004
Posts: 15
|
Quote:
I'll just point you in the general direction to get you started on how to find that decoder... lemme tell you, it comes in very handy. Now, as for my most recent problem, which, again has no reference at all in this thread... (grr)... I've used eac3to to happily convert/extract the audio for 5 movies so far... the inconvenience of having to use Audition to downmix the tracks to stereo is nothing compared to the convenience of having it work at all. Well... until most recently. I have a 1.5gb DTS file (extracted using eac3to's DTS Core function) that plays fine in Media Player, but when asked to decode to WAV with eac3to, it results in a 6gb WAV (if 24-bit, otherwise 4gb in 16-bit) that sometimes comes out to around 15 minutes, sometimes to 55 minutes, etc... I can't tell if it's a problem with the reader/player or the file itself, but I can't get this damn thing to decode. If I use avisynth to do DirectShowSource on the DTS file and a 1x1px fake video, I can use VirtualDub to extract a full length 2 channel WAV file, properly downmixed and everything, but it ends up being glitchy - it syncs right in one position but skips a few MS and gets further and further off-sync every minute or so. A very curious DTS file indeed. Any ideas? edit: It has to be a WAV formatter problem... I mean, if I calculate 48000(hz) * 2 (bytes; 16 bits per sample) * 840 (seconds; 14 minutes) * 6 (channels), I get 483,840,000, or about 461 MB. My dbPowerAmp properties tab shows that the file size should be (actually, it claims it "is") 475.5mb - where back on the "general" tab, it clearly says the file is 4.46gb. What the heck gives? Last edited by Falcon4; 29th November 2007 at 09:57. |
|
29th November 2007, 11:03 | #1786 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
29th November 2007, 11:07 | #1787 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
|
||
29th November 2007, 11:13 | #1788 | Link |
teh Fighting Falcon™
Join Date: May 2004
Posts: 15
|
Since eac3to is the only program to understand DTS files, dbPowerAmp couldn't possibly have read the file, and hence there's no way I could have been referring to the DTS file in those calculations... while you came to the correct conclusion that a 1.5gb DTS file couldn't possibly be 14 minutes, you oh so happily pinned it on my calculation's fault. I was calculating the size of the raw WAV data based on the returned length (14 minutes) of the WAV file. And it turned out to be 475 MB. Beh...
Anyway, thanks for the info about the WAV files. That explains why I was able to do 5 other movies - they were all under 4gb for the WAV output. I didn't think WAV files would store their length info like that. But hey, Microsoft is Microsoft, no? And, no, I did searches in this thread on words like "incomplete" or "partial", and both words returned no results. So I can't see how it's been discussed before unless you were speaking a different language. It's sure nice to have such quick replies though... even if a little rude. I guess I'll try finding a way around this problem since Audition can't import FLACs and I can't split the file into chunks to process in parts... =\ edit: Is it possible to force eac3to to output individual tracks as WAVs like I've seen other outputs in this thread do? I think I'm going to try "-0", "-1", etc to get it to output single tracks while I wait for a reply though... the "-0,1,2,3,4,5" command line option may help here if it allows me to specify less than 6 channels... editedit: Nope, it doesn't. Ugh. Okay, I'm stuck here... maybe I'll try to find a WAV splitter in the meantime. Last edited by Falcon4; 29th November 2007 at 11:27. |
29th November 2007, 12:11 | #1789 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Says the most polite poster in this thread... Quote:
|
||
29th November 2007, 12:21 | #1790 | Link | |||
teh Fighting Falcon™
Join Date: May 2004
Posts: 15
|
Couldn't have known to search for that if I didn't even know that was a limitation to begin with
(Maybe it would be a good idea to put a warning in the program itself that almost no programs will be able to read a 4+gb WAV file...?) Quote:
Quote:
edit: That worked great! Quote:
edit edit: I really only wanted the L, R, C, and LFE channels (don't need, and won't be encoding/reading, the SL and SR), so maybe an option to simply not decode/write them is possible? At any rate, I seem to now have the problem solved, so thanks!! Last edited by Falcon4; 29th November 2007 at 12:26. |
|||
29th November 2007, 12:29 | #1791 | Link |
Registered User
Join Date: May 2006
Location: Moscow
Posts: 97
|
how can it work? using surcode 1.0.29
Code:
D:\minep\me_gui\tools\eac3_to>eac3to.exe 12.ac3 test.dts -1536 AC3, 5.1 channels, 0:01:51, 640kbit/s, 48khz Decoding with DirectShow (Nero Audio Decoder 2)... DirectShow reports 5.1 channels, 24 bits, 48khz Writing WAVs... Creating/writing file "test.L.wav"... Creating/writing file "test.R.wav"... Creating/writing file "test.C.wav"... Creating/writing file "test.LFE.wav"... Creating/writing file "test.SR.wav"... Creating/writing file "test.SL.wav"... Surcode sais/asks: "At least one valid source file must be specified to encode." . Pressing the Surcode "Encode" button didn't seem to work... Closing Surcode... Last edited by menlvd; 29th November 2007 at 13:25. |
29th November 2007, 13:11 | #1792 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
Quote:
You need an audio decoder like NicAudio.dll (ac3, dts, mp2, mp3, lpcm), or a plugin to manage wav >4GB RaWav.dll, and SoundOut, GUI to encode to flac, ape, mp2, mp3, ac3, ogg, ... Then you can use an avs script like: Code:
#a = RaWavSource("G:\YourPath\big.wav", 2) a = NicDtsSource("G:\YourPath\input.dts") # A 5 -> 2 downmix Dolby ProLogic II compatible flr = GetChannel(a, 1, 2) fcc = GetChannel(a, 3, 3) lrc = MixAudio(flr, fcc, 0.3254, 0.2301) bl = GetChannel(a, 4) br = GetChannel(a, 5) sl = MixAudio(bl, br, 0.2818, 0.1627) sr = MixAudio(bl, br, -0.1627, -0.2818) blr = MergeChannels(sl, sr) MixAudio(lrc, blr, 1.0, 1.0) # if you want (recommended after a downmix): Normalize(0.95) # And now the GUI to encode SoundOut() And open the avs in VirtualDub. |
||
29th November 2007, 13:41 | #1793 | Link |
teh Fighting Falcon™
Join Date: May 2004
Posts: 15
|
Holy Jesus, that's impressive. You didn't just come up with that on-the-fly, did you? That's cool.
I don't think I could really do a single-step process like that though, because I'm encoding with a dual-core system that I'm trying to split the audio and video up into. At the moment I process the video in two simultaneous VirtualDubMod instances for two passes (with XviD), process the audio with eac3to and Adobe Audition (which the new "wavs" option will greatly assist since Audition has to re-split and scan the multichannel WAV on opening), manually apply DRC to the center channel to my ears' content (cue "You Bastard!" remarks), save as 192k CBR MP3 (again with the "You Bastard!"), then merge the two parts and mux the single audio file in one single pass (yay). It all actually works rather nicely, albeit taking a long time for the VDubMod MPEG2 parsing of 20+gb video files and whatnot. Although if I time it just right and only have a single video file to work with, I can open (parse) the same file in two VDubMod instances at the same time and they'll just fight over Windows' disk cache to read the file only once. But the result is a pristine quality 4.37gb 1080p AVI file that fits perfectly on a DVD-R. Maybe I'll write a guide to Blu-Ray to XviD conversion. I imagine that would help a good number of people... edit: To clean up a little double-talk, I'm saying here that I like using Audition as opposed to a single-step process, where above I said Audition was a pain in the rear - yes, that was true, before a certain few minutes revealed that I could split the DTS decoding into individual WAVs (removing Audition's tedious split-and-rewrite time AND the scan time if I hit "cancel" and zoom in with multitrack view), as well as have Audition apply DRC to make voices more audible with just a few clicks. Yay for extra steps ensuring quality Last edited by Falcon4; 29th November 2007 at 13:51. |
29th November 2007, 13:46 | #1794 | Link | |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Quote:
And warning, mix the LFE channel with front channels can destroy info, Dolby don't recommend use the LFE channel in downmix, only if you are sure the info in LFE is not present in front channels. You still can use the AviSynth method with monowavs to do the downmix more easy than Audition method: fl = WavSource("c:\audio1.L.wav") fr = WavSource("c:\audio1.R.wav") fc = WavSource("c:\audio1.C.wav") ... and mix and merge like you want. |
|
29th November 2007, 14:46 | #1795 | Link | |
Registered User
Join Date: Nov 2007
Posts: 132
|
Quote:
|
|
30th November 2007, 03:07 | #1797 | Link |
Registered User
Join Date: Feb 2007
Location: U.S.A.
Posts: 135
|
EAC3toGUI revisions
Hello Forum,
Based on suggestions from madshi and ACrowley, I will try and update EAC3toGUI to accommodate the newest version of eac3to. I hope to have something ready early next week. Regards, The_Keymaker |
30th November 2007, 17:50 | #1799 | Link |
Registered User
Join Date: Mar 2002
Posts: 117
|
Fist let me say thanks for the great tool you're providing.
Unfortunately the downconvert option doesn't seem to work properly. I tried to convert a PCM Track (5.1 24bit) to FLAC (20bit - 16 doesn't work either). Code:
eac3to.exe in.pcm out_20.pcm -down20 This might be a RAW/PCM file. Trying to figure out the details. This will probably take a while. Please be patient... The RAW/PCM file seems to be big endian. The RAW/PCM file seems to have a bitdepth of 24 bits. The RAW/PCM file seems to have 6 channels. RAW/PCM, 5.1 channels, 1:50:33, 24 bits, 48khz This is probably a Blu-ray PCM track. Will remap channels accordingly. Reading RAW/PCM... Swapping endian... Remapping channels... Reducing depth from 24 to 20 bits... Swapping endian... Remapping channels... Loading white noise (needed for dithering)... Creating/writing file "in.pcm"... The endian swapper crashed. It's strange that Swapping endian... Remapping channels... seems to be done twice. |
1st December 2007, 11:46 | #1800 | Link |
Registered User
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
|
The dts encoding (with surcode) doesn't work. I 've used both 1.0.21 and 1.0.29 but i get the same error message:
Code:
Surcode sais/asks: "At least one valid source file must be specified to encode.". Pressing the Surcode "Encode" button didn't seem to work... Closing Surcode... Is there anyone that can actually use surcode to encode a dts file? |
Tags |
eac3to |
|
|