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

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th February 2010, 20:08   #1061  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 317
does encwavtoac3 support stereo wav input or do I need to demux the stereo wav into 2 mono wav files?
canuckerfan is offline   Reply With Quote
Old 6th February 2010, 20:14   #1062  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
No need for that, it supports stereo WAVs just fine.
__________________
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   Reply With Quote
Old 6th February 2010, 20:17   #1063  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 317
but when I hit encode it gives me an error saying "Supported are minimum 2 and maximum 6 mono input files!"
canuckerfan is offline   Reply With Quote
Old 6th February 2010, 20:49   #1064  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
I just tried encoding a 32-bit stereo WAV with the latest version, no problems here.
__________________
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   Reply With Quote
Old 6th February 2010, 20:58   #1065  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 317
^maybe its my file... I tried the first file on this webpage ( M1F1-Alaw-AFsp.wav): http://www-mmsp.ece.mcgill.ca/Docume...E/Samples.html

and I got the same error. does that one work for you?

ps: the second one also gives me the same error(M1F1-AlawWE-AFsp.wav). somethings definately wrong with my setup. i am running v4.4 from the zipped package
canuckerfan is offline   Reply With Quote
Old 6th February 2010, 21:03   #1066  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
I think it's a problem with the encoding type in the WAV file.. try some "regular", i.e. PCM encoded WAV. For example this one is such: http://www-mmsp.ece.mcgill.ca/Docume...int16-AFsp.wav
__________________
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   Reply With Quote
Old 6th February 2010, 21:32   #1067  |  Link
wisodev
Registered User
 
Join Date: Nov 2006
Posts: 161
Quote:
Originally Posted by canuckerfan View Post
does encwavtoac3 support stereo wav input or do I need to demux the stereo wav into 2 mono wav files?
When you are using "Mmultiple mono input" mode the input files must be mono, if you turn off this mode then you can encode single multichannel input file.
wisodev is offline   Reply With Quote
Old 6th February 2010, 22:02   #1068  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 317
Quote:
Originally Posted by Boulder View Post
I think it's a problem with the encoding type in the WAV file.. try some "regular", i.e. PCM encoded WAV. For example this one is such: http://www-mmsp.ece.mcgill.ca/Docume...int16-AFsp.wav
I get the same error with that file as well.
Quote:
Originally Posted by wisodev View Post
When you are using "Mmultiple mono input" mode the input files must be mono, if you turn off this mode then you can encode single multichannel input file.
how do I disable mono input mode?
canuckerfan is offline   Reply With Quote
Old 7th February 2010, 01:27   #1069  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Uncheck the 'Multiple mono input' box.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 7th February 2010, 01:44   #1070  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 317
Quote:
Originally Posted by tebasuna51 View Post
Uncheck the 'Multiple mono input' box.
wow. I can't believe I missed something like that

thanks

edit: I have another problem now... my wav source is not sampled to 48k and I have to feed an avs script into encwavtoac3 so that it will convert it. here's my script:

Code:
#avisource("G:\temp\1.avi")+avisource("G:\temp\2.avi")
#SoundOut()

WavSource("G:\temp\bgf.wav")
ssrc(48000)
however as soon as I drop the avs into the program it waits about a second and gives an error. "Failed to initialize avisynth". then I have to end task it. I tried playing the avs file in mpc and works just fine... btw i'm running AviSynth 2.5.8

edit: I just found out that it only works with avs 2.5.7 and below as of Aug 2/'09. I guess that's still the case. I'll try it on 2.5.7 and give it a whirl.

Last edited by canuckerfan; 7th February 2010 at 02:12.
canuckerfan is offline   Reply With Quote
Old 7th February 2010, 18:46   #1071  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
@canuckerfan or you can forget about drag&drop and use the add button...
_
b66pak is offline   Reply With Quote
Old 7th February 2010, 20:00   #1072  |  Link
canuckerfan
Registered User
 
Join Date: Jul 2005
Posts: 317
^I can't believe that made a difference haha. thanks, it works now.
canuckerfan is offline   Reply With Quote
Old 8th February 2010, 21:59   #1073  |  Link
wisodev
Registered User
 
Join Date: Nov 2006
Posts: 161
Quote:
Originally Posted by b66pak View Post
@canuckerfan or you can forget about drag&drop and use the add button...
_
Should be fixed in version 4.5
wisodev is offline   Reply With Quote
Old 13th March 2010, 21:40   #1074  |  Link
Maxiuca
Registered User
 
Join Date: Dec 2002
Location: Los Angeles
Posts: 92
I keep getting "Encoder Error: Failed to initialize encoder". Funny thing is that when I start the program for the first time after system restart I can get it to encode, but then this error keeps appearing in logs. I'm on 64-bit Vista Ultimate. Any ideas?
Maxiuca is offline   Reply With Quote
Old 13th March 2010, 22:50   #1075  |  Link
wisodev
Registered User
 
Join Date: Nov 2006
Posts: 161
Quote:
Originally Posted by Maxiuca View Post
I keep getting "Encoder Error: Failed to initialize encoder". Funny thing is that when I start the program for the first time after system restart I can get it to encode, but then this error keeps appearing in logs. I'm on 64-bit Vista Ultimate. Any ideas?
What is the input file format ? Are you using 64 or 32 bit version ? Is the program configuration preserved after restart ?
wisodev is offline   Reply With Quote
Old 14th March 2010, 11:37   #1076  |  Link
Maxiuca
Registered User
 
Join Date: Dec 2002
Location: Los Angeles
Posts: 92
Sorry for a false alarm, problem solved, my bad. I was trying to encode a 5.0 ac3 with LFE low-pass filter enabled. It was pure coincidence that the program started encoding after two reboots (different settings).
Maxiuca is offline   Reply With Quote
Old 17th March 2010, 18:52   #1077  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Aften-git, problem with 44.1kHz

Let's say, I have a 3min 36sec stereo WAV file (extracted from an Audio CD), and compress it with Aften.exe @ 192kbps, and then use spdifer.exe to obtain a DDWAV stream. Instead of getting a 36.3MB .wav, spdifer produces a 34.8MB one (and if I try a different bitrate, e.g., 256kbps, the resulting SPDIFed .wav has only 17.4MB ). This problem *does not* happen with ac3 files generated by Soft Encode, for example.
Midzuki is offline   Reply With Quote
Old 20th March 2010, 21:44   #1078  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
OK, today I found this post by madshi:

http://forum.doom9.org/showpost.php?...&postcount=945

which made me give a try to the latest release of EncWAVToAC3. Sadly the "44.1kHz problem" seems to be even worse in the libaften-GUI encoder: the same .WAV source-file mentioned in my post above becomes a 5.77MB .ac3 encoded at 224kbps by EncWAVToAC3, however spdifer.exe obtains a
12-byte .WAV file from that. Again, spdifer keeps working correctly on files created by a "Dolby-certified" encoder...
Midzuki is offline   Reply With Quote
Old 21st March 2010, 02:53   #1079  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by Midzuki View Post
OK, today I found this post by madshi:

http://forum.doom9.org/showpost.php?...&postcount=945
The problem don't exist now.

BTW, I can't understand the process.

You have a stereo wav file 3m:36s (36,3 MB), encoded with ac3 192 Kb/s (4.9 MB) and spdifer convert the file to ddwav (34.7 or 36.3 MB)
What is the benefit to have a lossy compressed audio with the same size than the lossless source?

With my stereo samples, encoded with Aften and Soft Encode, obtain the same wrong output size when use spdifer.

I have some 5.1 ddwav and the size isn't the size of the wav sources. Is the size of the ac3 x 2.2
ac3 file 31.5 M -> ddwav file 69.6 MB

With spdifer I obtain the same ratio with 5.1 ac3 files.
Maybe spdifer don't work properly with stereo files.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 21st March 2010 at 02:56.
tebasuna51 is offline   Reply With Quote
Old 21st March 2010, 03:20   #1080  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
It depends on the spdifer's version one uses, I think. FWIW, I'm using the build 0.1a.

Anyway, I am not thinking in terms of "benefits", just in terms of "standard-compliance" --- if someone intends to create a multichannel AC3 Audio CD, it's better that they know they shouldn't be using Aften for doing that. Given that spdifer does work correctly with the 32kHz && 48kHz AC3 outputs from Aften, it seems to me, *now*, that the 44.1kHz encodes from Aften are not "correct enough". I remember that "many months ago", just for testing/learning purposes,
I created some stereo AC3s @ 44.1kHz with aften.exe, and realized that most of them were played back @ 48kHz when decoded by AC3Filter. Because such files were played back @ 44.1kHz when decoded by ffdshow, I (erroneously) concluded that the actual problem "had to be" in AC3Filter, "not" on the 44.1kHz files generated by Aften.exe.

P.S.: So, żżż is there any better alternative to spdifer.exe ???

P.P.S.: ffdshow (r1376) audio processor is not an option,
because its AC3 encoder supports only 48kHz and 32kHz.

Last edited by Midzuki; 21st March 2010 at 12:05. Reason: add P.S.s, clarification, info update
Midzuki is offline   Reply With Quote
Reply


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 02:21.


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