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. |
2nd October 2010, 14:53 | #10581 | Link |
Matroska find' ich toll
Join Date: Apr 2008
Posts: 1,370
|
i have testet the same file with eac3to 3.22 and it works fine.
the same problem happened with ac3 files but with 3.22 all fine. i have winxp32bit sp3. arcsoftdecoder 1.1.0.0 Last edited by hubblec4; 2nd October 2010 at 15:12. |
2nd October 2010, 20:53 | #10582 | Link |
Registered User
Join Date: Aug 2005
Posts: 22
|
Hi Madshi,
Thanks again for your great program! As eac3to doesn't support merging FLAC files (yet) I tried doing it using Foobar2000 and flac.exe 1.2.1. However, when the merged file reaches 2.00GB the encoding stops with an error. I asked about this in the Foobar2000 forum (see this thread) and it seems to be a specific limitation of the Windows FLAC build. However you manage to create FLAC files with eac3to in Windows that are >2GB just fine. How is that possible? |
2nd October 2010, 22:06 | #10584 | Link |
Registered User
Join Date: Aug 2005
Posts: 22
|
Yep, I figured that out and doing the conversion at the moment
So yeah, this work-around is okay for me because I don't need to do these kind of merges that often. I was just curious how Madshi was able to implement encoding >2GB flac files |
2nd October 2010, 22:57 | #10585 | Link | |
Registered User
Join Date: Jan 2009
Location: UK
Posts: 403
|
Quote:
Anyway, from your link it looks like an i/o limitation in flac.exe, so that's why eac3to is ok - it handles i/o itself and uses libflac to encode. |
|
4th October 2010, 17:37 | #10587 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Would it be possible to add an option to normalize to a certain level?
As far as I know, eac3to only normalizes to 0 dB. I always like to leave a little headroom for further conversions so that would be nice. Possibly something like "-normalize -2dB". |
4th October 2010, 19:24 | #10588 | Link | |
Registered User
Join Date: Aug 2005
Posts: 22
|
Quote:
A kind HA.org user modified the flac.exe to work with large input files and I find it to work perfectly with my FLACs! See the thread I linked to earlier. |
|
4th October 2010, 20:26 | #10590 | Link | |
Registered User
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
|
Quote:
you must do: Code:
eac3to audio.xxx normalized_audio.wav -normalize eac3to normalized_audio.wav final-2dB_audio.wav -2dB
__________________
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)! |
|
4th October 2010, 21:22 | #10591 | Link |
Registered User
Join Date: Dec 2001
Posts: 96
|
Fragmentation!
Is there any way to prevent the massive file fragmentation in conjunction with eac3to?
I understand, that this is an issue of the (sometimes) unknown size of handled streams, but the count of segments of some of eac3to's files is just insane. Suggestions: - reserving file space for separate streams what can safely cover the size of a (sub)stream, later crop filesize to the real size of the stream. - command line option: "just reserve +100MB per stream" - ...?
__________________
shh |
4th October 2010, 21:28 | #10592 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Yes, that's what I've been doing so far. However, I was asking if this feature could added so I don't have to do 2 passes (actually 3 passes, because the "normalize" function already needs 2 passes). |
|
5th October 2010, 16:19 | #10593 | Link |
21 years and counting...
Join Date: Oct 2002
Location: Germany
Posts: 716
|
I'm getting this error message when encoding an audio stream:
Code:
eac3to v3.24 command line: eac3to eng.ac3 eng_new.ac3 -384 -normalize ------------------------------------------------------------------------------ AC3, 5.0 channels, 1:33:59, 384kbps, 48kHz The Nero decoder doesn't seem to work, will use libav instead. Decoding with libav/ffmpeg... Remapping channels... Writing WAV... Creating file "eng_25p.ac3.pass1.wav"... Caution: The WAV file is bigger than 4GB. <WARNING> Some WAV readers might not be able to handle this file correctly. <WARNING> Starting 2nd pass... Reading WAV... The AC3 encoder received a non-supported data format (float, 5, 64, -). <ERROR> Aborted at file position 262144. <ERROR> Code:
eac3to v3.24 command line: eac3to eng_new.wav eng_new.ac3 -384 ------------------------------------------------------------------------------ WAV, 5.0 channels, 1:33:59, 24 bits, 5760kbps, 48kHz Reading WAV... The AC3 encoder received a non-supported data format (pcm, 5, 24, -). <ERROR> Aborted at file position 262144. <ERROR> |
6th October 2010, 16:36 | #10595 | Link |
Registered User
Join Date: Mar 2002
Posts: 30
|
dts to ac3 script
Does anyone have a .bat/.reg file that would allow me to right click on a .mkv file and have it call a .bat file to automatically convert dts to ac3? I don't want to use a gui.
If not can anyone help me with creating a bat file that I run to convert dts to ac3? Thanks. |
6th October 2010, 16:43 | #10596 | Link | |
Registered User
Join Date: Mar 2006
Posts: 1,538
|
Quote:
eac3to input.mkv track: output.ac3 If you must use a bat file here is a quick and dirty. It only works with mkv, single audio track, and doesn't allow for additional options. Hence the reason why using the cmd is a better approach. Code:
@SET MediaInfo_PATH=C:\Program Files\MediaInfo\CLI\MediaInfo.exe @SET eac3to_PATH=C:\Program Files\eac3to\eac3to.exe @SET Working_Directory=C:\Personal\Videos @Echo off Echo. Echo. Echo\*************** Input **************** Echo. Echo. set /p INPUT_VIDEO="Path to Source: " Echo. Echo. Echo\****************************************** Echo. Echo General;%%FileName%%>"%Working_Directory%\temporary-generalfilename.txt" "%MediaInfo_PATH%" --Inform=file://"%Working_Directory%\temporary-generalfilename.txt" "%INPUT_VIDEO%">"%Working_Directory%\temporary-analyzegeneralfilename.txt" Echo General;%%FolderName%%>"%Working_Directory%\temporary-generalfoldername.txt" "%MediaInfo_PATH%" --Inform=file://"%Working_Directory%\temporary-generalfoldername.txt" "%INPUT_VIDEO%">"%Working_Directory%\temporary-analyzegeneralfoldername.txt" Echo General;%%FileExtension%%>"%Working_Directory%\temporary-generalfileextension.txt" "%MediaInfo_PATH%" --Inform=file://"%Working_Directory%\temporary-generalfileextension.txt" "%INPUT_VIDEO%">"%Working_Directory%\temporary-analyzegeneralfileextension.txt" type "%Working_Directory%\temporary-analyzegeneralfilename.txt">"%Working_Directory%\temporary-analyzegeneralfilename.tmp" type "%Working_Directory%\temporary-analyzegeneralfoldername.txt">"%Working_Directory%\temporary-analyzegeneralfoldername.tmp" type "%Working_Directory%\temporary-analyzegeneralfileextension.txt">"%Working_Directory%\temporary-analyzegeneralfileextension.tmp" set /p SOURCE_FILENAME=<"%Working_Directory%\temporary-analyzegeneralfilename.tmp" set /p SOURCE_FOLDER=<"%Working_Directory%\temporary-analyzegeneralfoldername.tmp" set /p SOURCE_EXTENSION=<"%Working_Directory%\temporary-analyzegeneralfileextension.tmp" DEL "%Working_Directory%\temporary-generalfilename.txt" DEL "%Working_Directory%\temporary-analyzegeneralfilename.txt" DEL "%Working_Directory%\temporary-analyzegeneralfilename.tmp" DEL "%Working_Directory%\temporary-generalfoldername.txt" DEL "%Working_Directory%\temporary-analyzegeneralfoldername.txt" DEL "%Working_Directory%\temporary-analyzegeneralfoldername.tmp" DEL "%Working_Directory%\temporary-generalfileextension.txt" DEL "%Working_Directory%\temporary-analyzegeneralfileextension.txt" DEL "%Working_Directory%\temporary-analyzegeneralfileextension.tmp" if "%SOURCE_EXTENSION%" EQU "mkv" goto process Echo. Echo.Source file is not MKV ! Echo. Echo. goto end :process Echo Audio;%%ID%%>"%SOURCE_FOLDER%\%SOURCE_FILENAME%-audid.txt" "%MediaInfo_PATH%" --Inform=file://"%SOURCE_FOLDER%\%SOURCE_FILENAME%-audid.txt" "%INPUT_VIDEO%">"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyzeaudid.txt" type "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyzeaudid.txt">"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyzeaudid.tmp" set /p ID=<"%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyzeaudid.tmp" DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-audid.txt" DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyzeaudid.txt" DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-analyzeaudid.tmp" @Echo on "%eac3to_PATH%" "%INPUT_VIDEO%" %ID%: "%SOURCE_FOLDER%\%SOURCE_FILENAME%.ac3" >"%SOURCE_FOLDER%\%SOURCE_FILENAME%-eac3to.txt" @Echo off DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME%-eac3to.txt" DEL "%SOURCE_FOLDER%\%SOURCE_FILENAME% - Log.txt" Echo. Echo. Echo.Finished ! Echo. Echo. :end Pause Last edited by rack04; 6th October 2010 at 17:19. |
|
6th October 2010, 18:01 | #10597 | Link |
Registered User
Join Date: Mar 2002
Posts: 30
|
Thanks for the reply. I should have mentioned that my mkv files only have (1) dts track and I don't use any options. I use cmd: eac3to input.mkv input.ac3
I'll take a look at the script you posted to see if I can make sense of it. Thanks again. Ideally, I wanted to right click on a mkv file from the context menu, pass that file to a bat script to automagically create the ac3 output. I do a lot of ripping and converting. This cmd part is getting a little old. Just must be getting lazy. Edit: I agree, that if I have to type the source input in everytime, then it doesn't make much since to use a bat file. I was hoping I could run it and it would locate all the 'mkv files I have and spit out ac3 files with the same input name and the mkv. Maybe I am asking for too much. I can't believe no one else has a need for this though. If only I could use wildcards: eac3to *.mkv *.ac3 something like that Last edited by icon; 6th October 2010 at 18:18. |
6th October 2010, 18:25 | #10598 | Link | |
Registered User
Join Date: Mar 2006
Posts: 1,538
|
Quote:
|
|
6th October 2010, 18:53 | #10599 | Link |
Registered User
Join Date: Mar 2002
Posts: 30
|
I see. I use handbrake to do a lot of my encodings. It keeps the dts but does not convert to ac3. It seems that I need to run my encodes through mkmerge anyhow for proper playback on my video boxes. I did find an old script in this thread from Snowkight26, that I was able to modify for my needs. Thanks again for the help.
|
7th October 2010, 00:23 | #10600 | Link | |
Registered User
Join Date: Mar 2002
Posts: 30
|
Quote:
|
|
Tags |
eac3to |
Thread Tools | Search this Thread |
Display Modes | |
|
|