View Single Post
Old 1st May 2012, 17:52   #686  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by Dogway View Post
Code:
LameXP v4.04 (Build #988), compiled on 2012-04-26 at 13:23:48

-------------------------------

C:/DOCUME~1/ADMINI~1/CONFIG~1/Temp/34ed0c6bfc8349aaae62a81420ce853e/lamexp_valdec.exe "C:\audio_track.ac3" ↩
-w D:\Temp\812dfc4c29c1443d9ddbb1caa2659822.wav

Opening audio output PCM16 3/2.1 (5.1) 48000...
---------------------------------------
Streams found: 2
Frames/errors: 263716/0
System time: 221187ms
Process time: 129343ms
Approx. 1.53% realtime CPU usage

Exited with code: 0x0000

-------------------------------

C:/DOCUME~1/ADMINI~1/CONFIG~1/Temp/34ed0c6bfc8349aaae62a81420ce853e/lamexp_sox.exe ↩
--i D:/Temp/812dfc4c29c1443d9ddbb1caa2659822.wav

C:\DOCUME~1\ADMINI~1\CONFIG~1\Temp\34ed0c6bfc8349aaae62a81420ce853e\lamexp_sox.exe FAIL formats: ↩
can't open input file `D:/Temp/812dfc4c29c1443d9ddbb1caa2659822.wav': WAVE: RIFF header not found

Exited with code: 0x0001
Looks like either Valdec produced an invalid output Wave file or SoX didn't like the Wave file produced by Valdec for whatever reason.

Can you provide an AC-3 file to reproduce?

Quote:
Originally Posted by Dogway View Post
Quote:
Originally Posted by nautilus7 View Post
I'm trying to encode a 5.1 file using avs input.

My script plays fine in mpc:
Code:
l=WAVSource("l.wav")
r=WAVSource("r.wav")
c=WAVSource("c.wav")
lfe=WAVSource("lfe.wav")
ls=WAVSource("ls.wav")
rs=WAVSource("rs.wav")

MergeChannels(l,r,c,lfe,ls,rs)
Lame-xp fails with this error massage:
Code:
LameXP v4.02 (Build #578), compiled at 2011-06-14

-------------------------------

C:/Users/NAUTIL~1/AppData/Local/Temp/d2d906dac226430bb5d0fee4458f206d/tool_avs2wav.exe ↩
C:\sintel\sintel-master-51-flac\51.master.avs ↩
C:\Users\NAUTIL~1\AppData\Local\Temp\d2d906dac226430bb5d0fee4458f206d\e36981fe6dde42c2bb51452c114e12c5.wav

avs2wav v1.2 [May 24 2011]
by Jory Stone <jcsston@toughguy.net>, updates by LoRd_MuldeR <mulder2@gmx.de>
Input: C:\sintel\sintel-master-51-flac\51.master.avs
Output: C:\Users\NAUTIL~1\AppData\Local\Temp\d2d906dac226430bb5d0fee4458f206d\e36981fe6dde42c2bb51452c114e12c5.wav
Checking Avisynth...
Done
Analyzing input file...
Done
Opening output file... Done
[Audio Info]
TotalSamples: 42624000
TotalSeconds: 888
SamplesPerSec: 48000
BitsPerSample: 16
Channels: 6
AvgBytesPerSec: 576000
Dumping audio data, please wait:
AVIStreamRead succeeded, but did not return any samples!
Failed to dump audio stream (status -4). Terminating!

Exited with code: 0xFFFFFFFC
Same here...
Well, there is not much I can do on my side, if AVIStreamRead() returns a code that indicates "success" but the number of samples returned is zero.

...except for reporting the "contradictory" state that has been encountered to the user

Quote:
Originally Posted by Dogway View Post
and Comodo Firewall doesn't let me set LameXP as a trust program from the pop up notifier, this is always an option when using programs.
Well, I would recommend to send a bug report to Comodo, if the "white-list" doesn't work as expected.

Quote:
Originally Posted by Dogway View Post
more funny facts:
encoding a wav file requires decoding the wav
that translates to-> a 3Gb audio wav file from a 2h movie is instantly duplicated in the temporal folder, and if you use normalization or any other post filter, there will be a third instance of the file, that is almost 10Gb reading/writting to HDD and required free space.
Depending on what exactly you are doing, a temporary "working copy" needs to be created, even if both the, source file and the output file, are Wave files.

For example this will be necessary, if any filters are applied...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 1st May 2012 at 17:58.
LoRd_MuldeR is offline   Reply With Quote