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
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 10th November 2020, 08:48   #15041  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
This is a "Frequently Asked Question". One reply here: No worries.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 10th November 2020 at 08:50.
LigH is offline  
Old 10th November 2020, 22:07   #15042  |  Link
zeropc
Registered User
 
Join Date: Mar 2007
Posts: 114
What is latest version of FLAC that works with eac3to?
Can someone point me in the direction?

Thanks
zeropc is offline  
Old 11th November 2020, 09:21   #15043  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,782
Not sure, but probably one available at RareWares... I would be surprised of any recent major changes breaking compatibility.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline  
Old 11th November 2020, 12:14   #15044  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Tested the latest libFLAC v.1.3.3.git-ce6dd6b5 for win32 (in RareWares) and work fine with eac3to.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 28th November 2020, 20:16   #15045  |  Link
vkostas
Registered User
 
Join Date: Nov 2020
Posts: 1
Hello,
I was struggling today with eac3to errors during conversion. Initially thought the files were corrupt but had no issues when using other tools.
Finally I found out it was because of accented characters.
Using the last version of eac3to (3.34) in windows 10 CMD.
Quote:
1. Command: eac3to "07 -- Veinte Años.flac" "07 -- Veinte Años.wav"
returns error: The destination file "eac3to 07 -- Veinte Años.flac 07 -- Veinte Años.wav" could not be created.
2. Command eac3to "Veinte Años.flac" "Veinte Años.wav"
creates file eac3to Veinte Años.flac Veinte Años.wav
Accented character "fools" eac3to which joins/mixes parameters.
Anyone has faced such issues?

Last edited by vkostas; 28th November 2020 at 22:18. Reason: amend text in quote box
vkostas is offline  
Old 29th November 2020, 01:18   #15046  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Work fine here:

Quote:
C:\Portable\eac3to>eac3to "07 -- Veinte Años.flac" "07 -- Veinte Años.wav"
FLAC, 2.0 channels, 0:02:50, 16 bits, 800kbps, 44.1kHz
Decoding FLAC...
Writing WAV...
Creating file "07 -- Veinte Años.wav"...
The original audio track has a constant bit depth of 16 bits.
eac3to processing took 1 second.
Done.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 14th December 2020, 14:56   #15047  |  Link
Ryushin
Registered User
 
Ryushin's Avatar
 
Join Date: Mar 2011
Posts: 432
Dolby Vision

Is it possible to extract the Dolby Vision stream out of a file created by MakeMKV?
Ryushin is offline  
Old 15th December 2020, 22:53   #15048  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
DGDemux is your friend.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline  
Old 17th December 2020, 16:20   #15049  |  Link
Legremlins_Keitaro
Registered User
 
Join Date: Jul 2005
Posts: 5
Hi everybody, I need a little help. I try to convert a DTS-HD Master to "simple" DTS so my soundbar could do the job in passthrough.
Actually my source is:
Audio
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Bit rate mode : Variable
Channel(s) : 6 channels
Channel layout : C L R Ls Rs LFE
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 16 bits
Compression mode : Lossless

I try using Megui with "HD Stream extractor" and specify DTS instead DTS_CORE but when I check the generated file it have the same properties of above.
I try using "USEac3To GUI", I don't know if I have checked to good option but the generated file have same properties of the source.

Is someone can help me to convert DTS-HD Master 5.1 file to "simple" DTS ?

Thanks
Legremlins_Keitaro is offline  
Old 17th December 2020, 16:44   #15050  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
eac3to "filename.dts" "filename_withcoreonly.dts" -core
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 17th December 2020, 17:02   #15051  |  Link
Legremlins_Keitaro
Registered User
 
Join Date: Jul 2005
Posts: 5
Quote:
Originally Posted by Boulder View Post
eac3to "filename.dts" "filename_withcoreonly.dts" -core
Ok so simple to do it in command, so complicated with GUI lol

Thanks
Legremlins_Keitaro is offline  
Old 4th January 2021, 13:07   #15052  |  Link
user8235
Registered User
 
Join Date: Dec 2020
Posts: 1
Force eac3to to Silent Mode

Quote:
Originally Posted by loekf View Post
Maybe a stupid question, but is there a way to force eac3to into silent mode ? I haven't been able to find any commandline option to disable to "buzzer" sound after an error has occurred or the other sound after completion.

I'm using eac3to in a video transcoding tool I'm writing and these sounds are, I won't say annoying.... , but not preferred... ;-)
I spent many weeks trying to find an answer to this exact question. The solution for me was to delete the 2 wav files in your eac3to install directory. Of course, you could probably rename them if you want to keep them around.
user8235 is offline  
Old 4th January 2021, 18:18   #15053  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
@user8235
Welcome to Doom9's forum.

[EDIT]
The answer was in next post:

Quote:
Originally Posted by TinTime View Post
I think you can just delete the two wav files that eac3to uses.
(some other off topic posts deleted)
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 7th January 2021 at 15:51. Reason: moderated
tebasuna51 is offline  
Old 7th January 2021, 23:22   #15054  |  Link
Harrenkyym
Registered User
 
Join Date: Sep 2018
Posts: 7
I've been looking all over the forum and in the internet. How to use eac3to via powershell? I want to use the qaac codec and using UsEac3to (what I've been using for years) the command line output would be:

Code:
 "eac3to.exe path" "input mkv path" tracknumber:  stdout.wav delayapplied video frame rate frame rate change -progressnumbers -log = "file.mkv_Job_n.log"
| "qaac.exe path" -V n --ignorelength --adts --no-delay -o "fileoutput.mkv_0lang.aac" -
I've underlined every "unit" of info of the code to make ir clearer.

I've tried to do something like:

Code:
$convert_eac3to = -join ($moviefile, " ", $numbertrack, ": stdout.wav ", $frameratechange, " -log = 'logfile path' ", $qaac_path, " -V ", $audioquality,
" --ignorelength --adts --no-delay -o ", $audiooutput)
which is an exact copy of the other code but with variables so I can play with them, but, as expected, it doesn't work with: & $eac3to $convert_eac3to ($eac3to is the path where the exe is)

How would be the code? I guess @stax76 knows the answer as he looks almost the only one "fighting" for using Powershell. ^^

Thanks

EDIT

I've tried to understand much better the behavior of the command and I've tried to adapt it to Powershell, but it's not my lucky day.

Code:
& $eac3to $moviefile $numbertrack $stdout $timedelay $frameratechange > $qaac_path $audiooutput -v $audioquality --ignorelength --adts --no-delay
$eac3to: eac3to.exe with path
$moviefile: movie.mkv with path
$stdout: stdout.wav with same path as moviefile
$timedelay: i.e. +340ms
$frameratechange: i.e. -24.000 -changeTo23.976
$qaac_path: qaac.exe with path
$audiooutput: i.e. movie.2spa.aac
$audioquality i.e. 99

Last edited by Harrenkyym; 8th January 2021 at 03:18.
Harrenkyym is offline  
Old 8th January 2021, 11:44   #15055  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Sometimes it's necessary to call cmd from powershell:

1. using built in cmd functionality like mklink (powershell 5 has New-Item for symlinks)
2. certain kind of pipe

I've never researched the reason of the pipe problem, but I know how to call cmd from powershell, have a look at /s /c in the cmd console help:

cmd /?

If this does not work then you might additionally need a stop parsing command:

--%

https://docs.microsoft.com/en-us/pow...powershell-5.1

Some of these ideas are originally from qyot27 btw.

Last edited by stax76; 8th January 2021 at 12:22.
stax76 is offline  
Old 8th January 2021, 23:41   #15056  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Code:
$eac3toPath = "C:\path\to\eac3to\eac3to.exe"
$input = "D:\"
$chapterTrackNumber = 1
$videoTrackNumber = 2
$audioTrackNumber = 3
$audioFormat = "flac"
& ${eac3toPath} "$input" ${chapterTrackNumber}: "Z:\temp.txt" ${videoTrackNumber}: "Z:\temp.mkv" ${audioTrackNumber}: "Z:\temp.$audioFormat" -log=nul > $null
Adjust as necessary.
Snowknight26 is offline  
Old 9th January 2021, 00:19   #15057  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
@Snowknight26

That may work for extract, Harrenkyym try to recode to AAC with a pipe ("|" in command line, ">" in powershell syntax) from eac3to.exe to qaac.exe.
And seems that don't work.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 9th January 2021, 16:01   #15058  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
Let's say you got a complex command line that does pipe and also has paths with spaces:

ffmpeg -i "D:\aa aa_temp\aa aa.avs" -f yuv4mpegpipe -strict -1 -loglevel fatal -hide_banner - | x265 --crf 18 --frames 4069 --y4m --output "D:\aa aa_temp\aa aa_out.hevc" -

If this command line is in a variable or for instance in the clipboard, you can run it in powershell like so:

Code:
cmd /c (Get-Clipboard)

Last edited by stax76; 9th January 2021 at 16:05.
stax76 is offline  
Old 10th January 2021, 18:24   #15059  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by tebasuna51 View Post
@Snowknight26

That may work for extract, Harrenkyym try to recode to AAC with a pipe ("|" in command line, ">" in powershell syntax) from eac3to.exe to qaac.exe.
And seems that don't work.
Piping is the done same way Powershell as it is in cmd. | is pipe, > is redirect. However, since Powershell treats the results of all outputs as objects/strings, new lines get added to the piped data, so you can't do it directly by calling "process1.exe | process2.exe" without adverse effects.

You either have to use C# in Powershell or launch cmd via Powershell which doesn't have the issue.

Code:
$eac3toPath = "C:\path\to\eac3to.exe"
$ffmpegPath = "C:\path\to\ffmpeg.exe"
$input = "C:\path\to\input.ext"
$output = "C:\path\to\output.ext"
$trackNumber = 2

& cmd @('/c', $eac3toPath, $input, "${trackNumber}:", 'stdout.wav', '|', $ffmpegPath, '-i', 'pipe:', $output) 2> $null
Adjust as necessary.
Snowknight26 is offline  
Old 10th January 2021, 21:48   #15060  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Yes, I see.

BTW execute cmd is the same than create a cmd file and launch it.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Closed Thread

Tags
eac3to


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 04:00.


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