View Full Version : eac3to - audio conversion tool
Snowknight26
1st March 2011, 23:06
Does eac3to support WAV files as input yet?
Check the first post?
73ChargerFan
5th March 2011, 08:42
Yeah!
audio123
6th March 2011, 13:57
Hey guys !
Is it possible by now to decode DTS-ES Matrix to 7-channel wav file ?
I tried to search the whole thread here, but as most of the discussion and answers on that topic seem to be from 2008 dealing with workarounds like using foobar free surround plugin to create the BC from BL and BR channels and so on ...
Is there a proper decoding solution for DTS-ES Matrix meanwhile ?
audio123
:D
djmasturbeat
9th March 2011, 20:25
Hi i am a noob to eac3to, so bear with me if this was answered in the 550 pages before :)
i am trying to convert 5.1 FLAC (48k / 24 bit) files to LPCM (or DTSHDMA or True HD), if this is possible.
I have tried to convert to LPCM, wavs and w64 but i am getting errors.
example of log (same errors i get for wavs or w64 or LPCM)
eac3to v3.24
command line: "C:\Users\xxx\Downloads\Application exe files\eac3to\eac3to Version3.24\eac3to" "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.flac" "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.wavs"
------------------------------------------------------------------------------
FLAC, 5.1 channels, 1:52:51, 24 bits, 4239kbps, 48kHz
Decoding FLAC...
Writing WAVs...
Creating file "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.L.wav"...
Creating file "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.SR.wav"...
Creating file "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.R.wav"...
Creating file "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.C.wav"...
Creating file "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.LFE.wav"...
Creating file "C:\Disc 8\Doomsday.Unrated\Doomsday.Unrated_track3.SL.wav"...
The frame's data did not match the CRC in the footer. <ERROR>
Aborted at file position 1032060928. <ERROR>
what am i leaving out? is there some header i need to remove or change. not sure why i am getting crc errors. i have extracted the FLAC from an mkv remux .
I could make it easier and just re-rip it from disc to make a backup disc (which is what i am trying to do here), but now i am curious how i go about converting FLAC back to other lossless audio accepted on Bluray discs. Any noob-friendly advice would be appreciated.
EDIT:
I have tried using megui (which in turn uses eac3to) and i still get the same type of errors. Not sure what the issue is, if someone can help me i would appreciate it.
Now i suppose i should try other BD/ HDDVD movies in which i xcoded the audio to FLAC, since so far i have only tried with one remux/ reencode i have made.
TDiTP_
12th March 2011, 21:45
To All.
What about decoding E-AC3 in eac3to? I have a problem (sample is here (http://www.mediafire.com/?2q2a0vrx30i1hm6)).
1. Decode with libav-eac3to:
eac3to v3.24
command line: eac3to 1.ec3 1.lib.wavs -libav
------------------------------------------------------------------------------
E-AC3, 5.1 channels, 0:04:06, 1536kbps, 48kHz, dialnorm: -27dB
Removing E-AC3 dialog normalization...
Decoding with libav/ffmpeg...
Remapping channels...
Reducing depth from 64 to 24 bits...
Writing WAVs...
Creating file "1.lib.L.wav"...
Creating file "1.lib.C.wav"...
Creating file "1.lib.SL.wav"...
Creating file "1.lib.SR.wav"...
Creating file "1.lib.LFE.wav"...
Creating file "1.lib.R.wav"...
eac3to processing took 16 seconds.
Done.
2. Decode with nero-eac3to. I know about bug (http://forum.doom9.org/showthread.php?p=1404212#post1404212) in DRC-off but anyway:
eac3to v3.24
command line: eac3to 1.ec3 1.nero.wavs
------------------------------------------------------------------------------
E-AC3, 5.1 channels, 0:04:06, 1536kbps, 48kHz, dialnorm: -27dB
Disabling DRC for Nero (E-)AC3 decoding...
Removing E-AC3 dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
DirectShow reports 5.1 channels, 24 bits, 48kHz
Writing WAVs...
Creating file "1.nero.L.wav"...
Creating file "1.nero.R.wav"...
Creating file "1.nero.SR.wav"...
Creating file "1.nero.SL.wav"...
Creating file "1.nero.C.wav"...
Creating file "1.nero.LFE.wav"...
eac3to processing took 19 seconds.
Done.
3. Decode with libav-ffmpeg (build from last MeGui):
D:\test>ffmpeg.exe -i 1.ec3 1.ffmpeg.wav
FFmpeg version SVN-r25870-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 4 2010 05:23:23 with gcc 4.2.5 20090330 (prerelease) [Sherpya]
libavutil 50.33. 0 / 50.33. 0
libavcore 0.14. 0 / 0.14. 0
libavcodec 52.97. 2 / 52.97. 2
libavformat 52.87. 1 / 52.87. 1
libavdevice 52. 2. 2 / 52. 2. 2
libavfilter 1.67. 0 / 1.67. 0
libswscale 0.12. 0 / 0.12. 0
libpostproc 51. 2. 0 / 51. 2. 0
[eac3 @ 01a7ce80] max_analyze_duration reached
[eac3 @ 01a7ce80] Estimating duration from bitrate, this may be inaccurate
Input #0, eac3, from '1.ec3':
Duration: 00:04:06.12, bitrate: 1536 kb/s
Stream #0.0: Audio: eac3, 48000 Hz, 5.1, s16, 1536 kb/s
Output #0, wav, to '1.ffmpeg.wav':
Metadata:
encoder : Lavf52.87.1
Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5.1, s16, 4608 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 138447kB time=246.13 bitrate=4608.0kbits/s
video:0kB audio:138447kB global headers:0kB muxing overhead 0.000048%
Results. Comparison C-channels:
1.
http://thumb.phyrefile.com/t/td/tditp/2011/03/12/300/eac3to-libav.png (http://www.phyrefile.com/image/view/XgshvYoL08UtF4N2)http://thumb.phyrefile.com/t/td/tditp/2011/03/12/300/eac3to-nero.png (http://www.phyrefile.com/image/view/2KMgP7g29ELn9EM0)http://thumb.phyrefile.com/t/td/tditp/2011/03/12/300/ffmpeg.png (http://www.phyrefile.com/image/view/S9JttITT9bx7wQWn)
Comparing libav-eac3to and nero-eac3to, looks like bug in DRC. DRC is only partially ignored: volume increasing still applies, while attenuation is ignored.
But what about libav-ffmpeg?
2.
Spectrums:
http://thumb.phyrefile.com/t/td/tditp/2011/03/12/300/spectrum.png (http://www.phyrefile.com/image/view/g33GdGWPplFOrRIT)
-----------------------------------
Also i used Nero9 and Sonic decoders (graphedit: source->dec->WavDest->FileWriter) but DRC and DN was applied - it was expected, they're Dolby certified. AFAIK, libavcodec - is only one freeware opensource decoder and it doesn't apply DN and DRC.
I've tried ffdshow tryouts [rev3771 Mar 3 2011 with] with graphedit. In this revision ffmpeg was updated: "Libavcodec AC3/E-AC3/DTS decoders now output floating point data.". With this one i've got the same result as with libav-eac3to (-full). byte-in-byte but WAV (eac3to) is bigger WAV (ffdshow) in last 2048 byte.
So, i can't understand why ffmpeg.exe produces a different result and what is right solution for decode E-AC3 ? Unfortunately I have no DD+ Encoder and can't check it myself.
henryho_hk
15th March 2011, 05:45
Can I force eac3to listing all playlists of a bluray disc (it currently excludes short playlists like trailers)?
Vilous
16th March 2011, 03:50
Hope someone can help me with this mystery I've been having. I'm betting it is something obvious.. well obvious to someone.
I've been using RipBot264 for about a year now, converting Blu-Rays to AVCHD's. And for the most part, everything has been going fine but recently, things stopped working.
So, I installed a new copy of RipBot264 to a new location on a mostly empty 3TB harddrive, and uninstalled and reinstalled all the pre-requisites for RipBot to work (AviSynth, Haali, FFDShow, and Java), just to make sure it wasn't some problem with those. After doing all that, I still have the same issue.
Here's what happens. (this is happening now with every bluray I try to rip)
So copy the bluray to my HD, I use RipBot to 'add' one of the M2TS files from the Stream folder. I then select the playlist that I want to use and keep most of the other default settings on that screen.
Now, clearly, since I got this far, eac2to has analyzed the bluray and presented me with the playback options. Looking in the job file I see all of this in the job folder under the ripBot264temp folder.
Anyway, at this point I choose OK, and here's what happens.. it gets stuck Demuxing the stream at Progress 1% -forever-. No log file is seemingly generated, at least nothing with any useful debug info.
Looking at the processor, eac2to.exe drops to 00 CPU usage. And it never goes back up, I have left one job there for days. (btw, I turned OFF Low Priority on RipBot's main screen)
So, in desperation, I tried running the command from Blu-Ray_ExtractStreams.cmd that Ripbot generates from a command line.
Not surprisingly, it gets through the analyze phase with no problems, but when it gets to process phase, it hands right there at 1%. Here's the last few lines of output from eac3to.exe
s08 Extracting subtitle track number 8...
v02 Extracting video track number 2...
a03 Extracting audio track number 3...
v02 Muxing video to Matroska...
a03 Decoding with ArcSoft DTS Decoder...
a03 Reducing depth from 24 to 16 bits...
a03 Writing W64...
a03 Creating file "G:\temp\RipBot264temp\job1\audio_English.dtsma.w6 4"...
process: 1%
And it stays there forever. There is plenty of harddrive space on G. Everything has the right permissions to run. The OS is Windows 7.
If anyone knows what eac3to is doing at this point, or has some clue as to how I can proceed to figure out why it is stuck, I'd be VERY grateful.
Thanks,
-Vilous
TinTime
16th March 2011, 11:20
Can I force eac3to listing all playlists of a bluray disc (it currently excludes short playlists like trailers)?
Short answer - no, because otherwise there would (typically) be more information than can be viewed in a command window.
You'll need to run eac3to against the individual playlists.
tebasuna51
16th March 2011, 11:38
...
So, in desperation, I tried running the command from Blu-Ray_ExtractStreams.cmd that Ripbot generates from a command line....
Please post the Blu-Ray_ExtractStreams.cmd and the full log.
henryho_hk
16th March 2011, 11:53
You'll need to run eac3to against the individual playlists.
Do you mean "eac3to.exe <playlist file full path name>"? Let me try....
TinTime
16th March 2011, 12:14
Do you mean "eac3to.exe <playlist file full path name>"? Let me try....
Yes, that's exactly it.
e.g.
eac3to.exe "F:\BDMV\PLAYLIST\00001.mpls"
You can treat the mpls files in the same way as a stream or m2ts file.
Vilous
16th March 2011, 17:32
Please post the Blu-Ray_ExtractStreams.cmd and the full log.
Here's the eac3to command line from the CMD file:
"G:\Tools\Ripbot264\Tools\eac3to\eac3to.exe" "G:\Working\bd\SALT\" 1) 2: "G:\temp\RipBot264temp\job1\video.mkv" -seekToIFrames 4: "G:\temp\RipBot264temp\job1\audio_English.dtsma.w64" -down16 15: "G:\temp\RipBot264temp\job1\15_subtitles_English_1080.sup" 16: "G:\temp\RipBot264temp\job1\16_subtitles_English_1080.sup" 17: "G:\temp\RipBot264temp\job1\17_subtitles_French_1080.sup" 18: "G:\temp\RipBot264temp\job1\18_subtitles_Spanish_1080.sup" 19: "G:\temp\RipBot264temp\job1\19_subtitles_English_1080.sup" 20: "G:\temp\RipBot264temp\job1\20_subtitles_Spanish_1080.sup" 21: "G:\temp\RipBot264temp\job1\21_subtitles_English_1080.sup" 22: "G:\temp\RipBot264temp\job1\22_subtitles_Spanish_1080.sup" 23: "G:\temp\RipBot264temp\job1\23_subtitles_English_1080.sup" 24: "G:\temp\RipBot264temp\job1\24_subtitles_Spanish_1080.sup" 25: "G:\temp\RipBot264temp\job1\25_subtitles_English_1080.sup" 26: "G:\temp\RipBot264temp\job1\26_subtitles_Spanish_1080.sup" 1: "G:\temp\RipBot264temp\job1\chapters.txt" -progressnumbers -log="G:\temp\RipBot264temp\job1\demuxlog.txt"
Here is the entire output:
M2TS, 2 video tracks, 11 audio tracks, 12 subtitle tracks, 1:44:03, 24p /1.001
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48kHz)
5: AC3, English, 2.0 channels, 192kbps, 48kHz
6: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
7: DTS Master Audio, French, 5.1 channels, 16 bits, 48kHz
(core: DTS, 5.1 channels, 16 bits, 1509kbps, 48kHz)
8: AC3, Spanish, 5.1 channels, 640kbps, 48kHz
9: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
10: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
11: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
12: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
13: AC3 Surround, English, 2.0 channels, 448kbps, 48kHz
14: DTS Express, English, 2.0 channels, 24 bits, 192kbps, 48kHz
15: Subtitle (PGS), English
16: Subtitle (PGS), English
17: Subtitle (PGS), French
18: Subtitle (PGS), Spanish
19: Subtitle (PGS), English
20: Subtitle (PGS), Spanish
21: Subtitle (PGS), English
22: Subtitle (PGS), Spanish
23: Subtitle (PGS), English
24: Subtitle (PGS), Spanish
25: Subtitle (PGS), English
26: Subtitle (PGS), Spanish
Creating file "G:\temp\RipBot264temp\job1\chapters.txt"...
v02 Extracting video track number 2...
s15 Extracting subtitle track number 15...
s23 Extracting subtitle track number 23...
s16 Extracting subtitle track number 16...
s19 Extracting subtitle track number 19...
s26 Extracting subtitle track number 26...
a04 Extracting audio track number 4...
s24 Extracting subtitle track number 24...
s20 Extracting subtitle track number 20...
s17 Extracting subtitle track number 17...
s25 Extracting subtitle track number 25...
s22 Extracting subtitle track number 22...
s18 Extracting subtitle track number 18...
s21 Extracting subtitle track number 21...
v02 Muxing video to Matroska...
a04 Decoding with ArcSoft DTS Decoder...
a04 Reducing depth from 24 to 16 bits...
a04 Writing W64...
a04 Creating file "G:\temp\RipBot264temp\job1\audio_English.dtsma.w64"...
process: 1%
Also of note: As I said, eac3to.exe process stays around just gets 0% CPU forever. (its using a lot of memory while its doing nothing. :))
Also indicative of it actually doing nothing as opposed to doing something really slowly is that the audio_English.dtsma.w64 file stays at a static size of 26,624KB, and the video.mkv file stays at a static size of 2,688 KB
The demuxlog.txt file never gets created.
The file version of eac3to.exe is 3.24.0.0
Please let me know if there is any additional info you'd like.
tebasuna51
16th March 2011, 18:42
...Also of note: As I said, eac3to.exe process stays around just gets 0% CPU forever. (its using a lot of memory while its doing nothing. :))
...
the audio_English.dtsma.w64 file stays at a static size of 26,624KB, and the video.mkv file stays at a static size of 2,688 KB...
Please let me know if there is any additional info you'd like.
I don't know if is a bug or corrupt data.
I can suggest only try to run the .cmd with only one stream once.
And, maybe, the video without the -seekToIFrames parameter.
Vilous
16th March 2011, 21:39
I don't know if is a bug or corrupt data.
I can suggest only try to run the .cmd with only one stream once.
And, maybe, the video without the -seekToIFrames parameter.
Well, as I indicated, this happens with every movie or M2TS file I try this with now. (I get the same results with just a single stream. I haven't tried without the -seekToIFrames yet, I will do that an report back).
And it is just bizzarre, because everything -was- working fine for a long time, and I didn't change anything and STILL get this result after downloading all new software.:confused:
Oh well, thanks for looking.
-Vilous
Vilous
16th March 2011, 21:55
Well, as I indicated, this happens with every movie or M2TS file I try this with now. (I get the same results with just a single stream. I haven't tried without the -seekToIFrames yet, I will do that an report back).
And it is just bizzarre, because everything -was- working fine for a long time, and I didn't change anything and STILL get this result after downloading all new software.:confused:
Oh well, thanks for looking.
-Vilous
FYI. Removing -seekToIFrames had no impact on the hang. Still happened.
-Vilous
setarip_old
16th March 2011, 22:37
@Vilous
Hi!
Is the following just a typo, or possibly part of your problem? (Notice the space between "6" and "4"):
a03 Creating file "G:\temp\RipBot264temp\job1\audio_English.dtsma.w6 4"
tebasuna51
17th March 2011, 01:01
@setarip_old
See the last post, for that I request the CMD.
setarip_old
17th March 2011, 01:39
@tebasuna51
Hi!
I'm sorry, but I don't understand what you're trying to say...
Vilous
17th March 2011, 03:39
@tebasuna51
Hi!
I'm sorry, but I don't understand what you're trying to say...
It was a typo/artifact of a cut'n'paste.
In my second post with the full CMD and its full output, there is no space.
(I think he was trying to say he noticed that too and thus requested the full CMD)
-Vilous
Snowknight26
17th March 2011, 17:49
Out of space on your G drive? Tried changing output formats? What about input formats?
Vilous
17th March 2011, 21:54
Out of space on your G drive? Tried changing output formats? What about input formats?
First, I appreciate all efforts here.
That said, as I mentioned above, G has tons of room (over 2.5 TB free)
I can't really change the input format, the input format is the movie.
I can try to adjust the output format, and report back what happens. I'm not sure how it will help me if that works though.
-Vilous
Snowknight26
17th March 2011, 22:11
I can't really change the input format, the input format is the movie.
Try a different one if you can.
Try to do each extraction separately to see if a certain one stalls eac3to's progress.
Is the drive you're outputting to a RAID? It could be Haali Media Splitter's gdsmux not liking the drive. I've had an issue where eac3to couldn't write more than ~2MB an MKV on one of my RAIDs. The only solution was to switch RAID controllers/recreate the array. Never figured out exactly what caused it but it might be worthwhile to investigate.
Vilous
18th March 2011, 01:04
Try a different one if you can.
Try to do each extraction separately to see if a certain one stalls eac3to's progress.
Is the drive you're outputting to a RAID? It could be Haali Media Splitter's gdsmux not liking the drive. I've had an issue where eac3to couldn't write more than ~2MB an MKV on one of my RAIDs. The only solution was to switch RAID controllers/recreate the array. Never figured out exactly what caused it but it might be worthwhile to investigate.
The drive is not RAID. So that's not the issue.
I'm running some additional tests, the hangs appears to be in the creation of the mkv file. It does not hang when just creating the .w64 file.
So I ran -test and noticed that, despite Haali being installed and recognized, it says MkvToolnix is not installed.
I never installed that tool in the past, is it actually needed?
Snowknight26
18th March 2011, 01:19
No, it's not used for MKV muxing.
Try remuxing the file with gdsmux (in your Haali Media Splitter directory). Chances are it won't work either, in which case it's not an eac3to issue.
Vilous
18th March 2011, 01:42
No, it's not used for MKV muxing.
Try remuxing the file with gdsmux (in your Haali Media Splitter directory). Chances are it won't work either, in which case it's not an eac3to issue.
You are correct. It did not. It got hung up in a very similiar manner.
Any suggestions as to a good forum to seek support for this issue?
Thanks,
-Vilous
Snowknight26
18th March 2011, 20:52
This one, but it's hopeless. I don't think Haali reads the forums anymore so don't expect it to ever be fixed. The only alternate is to output to a different drive.
Qriist
19th March 2011, 01:55
Thank you for this tool. It is very useful.
I request a couple features, however.
1: A command parameter to demux a given file without demuxing the video. "-demux novideo"
2: The ability to output a plain-text list of all produced files from demux or mkv conversion. "-makelist"
Example list inside Movie1.txt:
video > c:\folder\movie1 - 2 - VC-1, 1080p24.vc1
audio > c:\folder\movie1 - 3 - DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz.dtsma
subtitle > c:\folder\movie1 - 4 - Subtitle (PGS), English.sup
subtitle > c:\folder\movie1 - 5 - Subtitle (PGS), Spanish.sup
subtitle > c:\folder\movie1 - 6 - Subtitle (PGS), French.sup
Please and thank you.
Please keep up the good work.
Sparktank
21st March 2011, 00:27
I have been using this tool for awhile. I really like it.
And I try to prowl around this thread for information.
I find enough to get done what I want to do.
I even use the Google search function to try narrow my search.
But some things are just difficult to solve.
For instance...
When I use the -demux command, it doesn't demux to same folder as the source (most cases ".m2ts" files).
Instead it demuxes files to my Documents...
WinXP
"C:\Documents and Settings\(username)\files.*"
Vista
"C:\Users\(username)\files.*"
I have to copy the files to the desired folder.
And when I do use the command to demux to a different folder, it saves the files in the desired folder and the Documents folder, too.
Is this normal behavior? (in both cases)
Edit:
Scenario one: Demuxing without setting parameter for new folder
eac3to v3.24
command line: "D:\Apps\eac3to\eac3to.exe" "E:\Work\Bram Stoker's Dracula (Trailer)\MainMovie\DRACULA_TRAILER\BDMV\STREAM\00112.m2ts" -demux
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 0:01:28, 24p /1.001
1: MPEG2, 1080p24 /1.001 (16:9)
2: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz, dialnorm: -29dB
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[a02] Removing AC3 dialog normalization...
[v01] Creating file "00112 - 1 - MPEG2, 1080p24.m2v"...
[a02] Creating file "00112 - 2 - AC3 Surround, English, 2.0 channels, 192kbps, 48kHz.ac3"...
Video track 1 contains 2119 frames.
eac3to processing took 12 seconds.
Done.
Saved demuxed files to Documents and not the original folder of the .m2ts file.
Log file is present in documents with demuxed files (named after the .m2ts file) & the eac3to folder as well (simply named "log.txt")
Scenario two: Demuxing to a new folder
eac3to v3.24
command line: "D:\Apps\eac3to\eac3to.exe" "E:\Work\Bram Stoker's Dracula (Trailer)\MainMovie\DRACULA_TRAILER\BDMV\STREAM\00112.m2ts" "E:\Work\Bram Stoker's Dracula (Trailer)(eac3to demuxed)\.*" -demux
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 0:01:28, 24p /1.001
1: MPEG2, 1080p24 /1.001 (16:9)
2: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz, dialnorm: -29dB
[v01] Extracting video track number 1...
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[a02] Extracting audio track number 2...
[a02] Removing AC3 dialog normalization...
[a02] Removing AC3 dialog normalization...
[v01] Creating file "E:\Work\Bram Stoker's Dracula (Trailer)(eac3to demuxed)\ - 1 - MPEG2, 1080p24.m2v"...
[v01] Creating file "00112 - 1 - MPEG2, 1080p24.m2v"...
[a02] Creating file "00112 - 2 - AC3 Surround, English, 2.0 channels, 192kbps, 48kHz.ac3"...
[a02] Creating file "E:\Work\Bram Stoker's Dracula (Trailer)(eac3to demuxed)\ - 2 - AC3 Surround, English, 2.0 channels, 192kbps, 48kHz.ac3"...
Video track 1 contains 2119 frames.
eac3to processing took 21 seconds.
Done.
Saved demuxed files to Documents & the designated folder.
Log files present in the designated folder & the eac3to folder but not the Documents folder.
Midzuki
21st March 2011, 01:53
@ Sparktank:
eac3to is a command-line application, so, by default, it outputs its results to the current working directory — which, by default, is the <opinion>stupid</opinion> user's homepath. :) The "best" :devil: policy is 1) include eac3to's directory in the PATH environment-variable, and 2) open the command-prompt directly in the target-folder (easy with Vista and Seven, requires registry-editing in XP).
Sparktank
21st March 2011, 02:06
1) include eac3to's directory in the PATH environment-variable
and 2) open the command-prompt directly in the target-folder (easy with Vista and Seven, requires registry-editing in XP).
thanks for the info.
I just extracted eac3to a working folder when i first downloaded it.
I'll have a look into these options.
Joniii
26th March 2011, 10:38
Is this something to worry about and why these errors occur exactly (main movie in this Blu-ray is splitted on several m2ts files on the disc)?
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Creating file "d:\gl.dts"...
[v02] Creating file "d:\gl.h264"...
[a04] Audio overlaps for 9ms at playtime 0:17:14. <WARNING>
[a04] Audio overlaps for 5ms at playtime 0:18:58. <WARNING>
[a04] Audio overlaps for 8ms at playtime 0:32:51. <WARNING>
[a04] Audio overlaps for 6ms at playtime 0:54:09. <WARNING>
[a04] Audio overlaps for 5ms at playtime 0:58:03. <WARNING>
[a04] Audio overlaps for 7ms at playtime 1:11:07. <WARNING>
[a04] Audio overlaps for 5ms at playtime 1:26:02. <WARNING>
[a04] Audio overlaps for 6ms at playtime 1:44:18. <WARNING>
[a04] Audio overlaps for 12ms at playtime 1:52:11. <WARNING>
[a04] Audio overlaps for 6ms at playtime 2:04:42. <WARNING>
[a04] Audio overlaps for 7ms at playtime 2:10:04. <WARNING>
[a04] Audio overlaps for 11ms at playtime 2:15:25. <WARNING>
[a04] Audio overlaps for 8ms at playtime 2:24:38. <WARNING>
[a04] Audio overlaps for 8ms at playtime 2:25:29. <WARNING>
[a04] Audio overlaps for 8ms at playtime 2:31:13. <WARNING>
[a04] Audio overlaps for 8ms at playtime 2:34:06. <WARNING>
[a04] Audio overlaps for 7ms at playtime 2:43:40. <WARNING>
[a04] Starting 2nd pass...
[a04] Realizing DTS gaps...
[a04] Creating file "d:\gl.dts"...
Video track 2 contains 245919 frames.
eac3to processing took 13 minutes, 11 seconds.
Done.
krosswindz
26th March 2011, 19:38
I have question on the following two options of eac3to. Can one use these options to convert audio length to match the fps of the video. Basically if I have a audio from a NTSC DVD (23.976fps) then I can use the -changeTo24.000 option to convert it so that I can use it with video from a Blu-ray (24fps).
-23.976/... define source fps to be "23.976", "24.000", "25.000", ...
-changeTo24.000 change source fps to "23.976", "24.000", "25.000", ...
henryho_hk
27th March 2011, 00:01
Doesn't Blu-ray's "24" also mean 23.976fps?
tebasuna51
27th March 2011, 00:57
I have question on the following two options of eac3to. Can one use these options to convert audio length to match the fps of the video. Basically if I have a audio from a NTSC DVD (23.976fps) then I can use the -changeTo24.000 option to convert it so that I can use it with video from a Blu-ray (24fps).
Yes.
Doesn't Blu-ray's "24" also mean 23.976fps?
No.
sneaker_ger
27th March 2011, 02:52
Well, most of the time "1080p24" actually means 24/1.001 fps in the Blu-Ray world, but tebasuna51 is correct in that Blu-Ray supports both 24/1.000 and 24/1.001 fps.
krosswindz
27th March 2011, 04:09
Yes.
I used the following command line to do the conversion, I find that the runtime of the audio is still the same as the original. Am I doing something wrong or will the audio and video be in sync. The video runtime for the DVD and Blu-ray source are different.
\path\to\eac3to.exe src.ac3 dest.ac3 -448 -23.976 -changeTo24.000 +1000ms -log=log.txt
Sharc
27th March 2011, 08:59
I used the following command line to do the conversion, I find that the runtime of the audio is still the same as the original. Am I doing something wrong or will the audio and video be in sync. The video runtime for the DVD and Blu-ray source are different.
\path\to\eac3to.exe src.ac3 dest.ac3 -448 -23.976 -changeTo24.000 +1000ms -log=log.txt
Try
\path\to\eac3to.exe src.ac3 dest.ac3 -448 -24.000 +1000ms -log=log.txt
tebasuna51
27th March 2011, 12:21
I used the following command line to do the conversion:
eac3to.exe src.ac3 dest.ac3 -448 -23.976 -changeTo24.000 +1000ms
I find that the runtime of the audio is still the same as the original.
Only if the runtime is 0:16:41.000
Am I doing something wrong or will the audio and video be in sync. The video runtime for the DVD and Blu-ray source are different.
We can't know. Put exact runtime or number of frames.
Try
\path\to\eac3to.exe src.ac3 dest.ac3 -448 -24.000 +1000ms -log=log.txt
Here the parameter -24.000 does nothing.
krosswindz
27th March 2011, 17:47
Only if the runtime is 0:16:41.000
We can't know. Put exact runtime or number of frames.
dvd video (23.976fps) runtime is: 10619286 ms
blu-ray video (24fps) runtime is: 10631458 ms
When I used the converted audio while muxing if I add suitable delay it starts of in sync and loses sync progressively.
jj666
27th March 2011, 18:09
You can't normally just take a DVD track and expect it to fit with BD (slowed down or not) - Audition or similar is needed to do a waveform comparison to check for initial delay and any necessary cuts/inserts.
Cheers,
-jj-
Snowknight26
27th March 2011, 18:44
eac3to doesn't seem to handle TrueHD frame changes at the moment. A sample file I have switches from 6 channels to 2 channels within the first few hundred KB, but when it does, eac3to returns "a03 libav Restart header sync incorrect (got 0x14be)" then fails while ffmpeg decodes it properly. Any chance supporting this?
Sharc
27th March 2011, 18:46
....Here the parameter -24.000 does nothing.
Out of curiosity: Isn't the effect similiar to avisynth's AssumeFPS(xx) vs ChangeFPS(yy)?
I mean -24.000 would set the new audio playback speed and change the original duration, while -changeTo24.000 would keep the original duration?
Undead Sega
27th March 2011, 19:27
Hi guys, sorry if this may have been brought up before, but I was wondering if it is possible to do either slowdown or speedup whilst preserving the pitch?
For example: '23.796 to 25' pitch preserving/correction? and vice-versa with different framerates?
Thunderbolt8
27th March 2011, 22:56
eac3to doesn't seem to handle TrueHD frame changes at the moment. A sample file I have switches from 6 channels to 2 channels within the first few hundred KB, but when it does, eac3to returns "a03 libav Restart header sync incorrect (got 0x14be)" then fails while ffmpeg decodes it properly. Any chance supporting this?not unless you post the sample :p
Sharc
28th March 2011, 00:25
Hi guys, sorry if this may have been brought up before, but I was wondering if it is possible to do either slowdown or speedup whilst preserving the pitch?
For example: '23.796 to 25' pitch preserving/correction? and vice-versa with different framerates?
I am not sure how it goes with eac3to. However, it's certainly possible via avisynth (timestretch) and more easily via BeSweet/BeLight (GUI) for example.
tebasuna51
28th March 2011, 03:03
dvd video (23.976fps) runtime is: 10619286 ms
blu-ray video (24fps) runtime is: 10631458 ms
Then
dvd video have 10619286 x 23.976 = 254608 frames
bd video have 10631458 x 24 = 255155 frames
The bd video have 547 more frames (~23 seconds) than dvd video. Isn't the same video and you need a big edit to use the audio.
krosswindz
28th March 2011, 03:10
Then
dvd video have 10619286 x 23.976 = 254608 frames
bd video have 10631458 x 24 = 255155 frames
The bd video have 547 more frames (~23 seconds) than dvd video. Isn't the same video and you need a big edit to use the audio.
I noticed the difference in runtime, what is weird is the main movie is the same for both Blu-ray and DVD. There is difference in the title and credits of the movie in terms of additional information. I thought adding suitable delay to sync the audio should work. For some reason it just goes out of sync progressively. When I compare the runtimes of the converted audio from the original audio the original audio is ~1.001 * converted audio runtime. I guess I need to see what else is different to fix it.
tebasuna51
28th March 2011, 12:47
Out of curiosity: Isn't the effect similiar to avisynth's AssumeFPS(xx) vs ChangeFPS(yy)?
I mean -24.000 would set the new audio playback speed and change the original duration, while -changeTo24.000 would keep the original duration?
Audio don't have reference to video fps, then a pair of fps like -24.000 -changeTo23.976 only means enlarge the audio duration by (24/(24/1.001)) = 1.001
Some defaults can work, for instance:
-slowdown is equivalent to -25.000 -changeTo23.976
-speedup is equivalent to -23.976 -changeTo25.000
But I like always put the fps pair and don't assume any fps for audio.
The fps equivalent parameter for audio is samplerate:
48 KHz means 48000 audio samples per second, like 24 fps means 24 video frames per second.
Hi guys, sorry if this may have been brought up before, but I was wondering if it is possible to do either slowdown or speedup whilst preserving the pitch?
Nope with soft included in eac3to
... it's certainly possible via avisynth (timestretch) and more easily via BeSweet/BeLight (GUI) for example.
Yes.
(but with BeSweet try only with stereo files)
tebasuna51
28th March 2011, 12:55
...
There is difference in the title and credits of the movie in terms of additional information...
Then try only with a initial delay, with the original DVD audio or with the stretched (1/1.001) DVD audio.
No problem with end credits the audio can be short than video.
Sharc
28th March 2011, 19:37
Audio don't have reference to video fps, then a pair of fps like -24.000 -changeTo23.976 only means enlarge the audio duration by (24/(24/1.001)) = 1.001
Thanks for clarification.
Does such pair of fps preserve or change the pitch?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.