View Full Version : No Sound from AviSource/DirectShowSource
CNemo
20th March 2006, 03:52
Hello All!
I have strange problem with AviSynth + TmpgEnc.
I use DirectShowSource in avs script. Actualy I use AVSEdit, and when do preview i can hear my sound. But when i encode it (doesn't matter as ES or program stream) i lost sound.
If encode avi directly thyen everything is fine.
Initialy no dvds decoders was installed on the system, and i was unable use AviSource. At least GSpot said so. Then i installed canopus decoder v.1.0 and panason decode. Now GSpot say codecs installed and AviSource and OpenDMLSource work just fine.
But i still have no sound after decoding.
What i do wrong?
Any real help will be greatly appreciated!!!
Rockas
21st March 2006, 16:34
have you tried to use AviSource() and WavSource()?
Another question... why don't you feed the AVI directly into TMPGEnc?
CNemo
22nd March 2006, 02:07
I'm trying to merge several parts flicks into big one.
I can feed separate files into tmpgenc, but it's very boring and unconvinient to do, especialy if i need some processing.
I've tryed several things like disabling plugins and changing it's priority, changing encoding type etc. Nothing helped. What is interesting that if i encode to ES, i always get correct size for wav, but seems like it is empty.
I've tryed to do AudioDub. It doesn't helps.
I'm just lost.
When i use extracted wav or separate script with WavSource everything is also fine.
In my understanding served avi must be indistinguishable from the real one. Am i wrong? But looks like it doesn't.
I would like to use avisynth because i haven't much disk space. Is there any tricks doing frameserving to TmpgEnc?
Rockas
22nd March 2006, 10:12
What is the format(codec) of the audio?
CNemo
22nd March 2006, 23:35
Audio is plain PCM 48K 2 chnl.
What i've noticed that after encoding GSpot cannot render audio graph, saing Failed connected output pin bla-bla-bla on Ligos MPEG splitter to bla-bla-bla input Mpeg Layer-3 Codec MSACM... Invalid media type was specified. Render through MS A/V works fine.
What does this mean?
Rockas
23rd March 2006, 00:36
Have you tried to demux the Audio and load it using nicaudio avisynth plugin?
CNemo
23rd March 2006, 00:57
No. But as i said - when i extract wav file using VD, and then use it as a separate wav source in TmpgEnc. Everything is fine.
But i have pretty full HD, so not everytime i can extract audio, because it might be big. The goal was understand why any XXXSource from AviSynth doesnt work with EmpgEnc.
May be today ill try it with other encoder, and will understand if it's AviSynth or TmpgEnc problem.
P.S.
By the way, i've spotted your editor today. Very well done!!!
But, you forget include comdlg32.ocx in package. ;-)
What language is used for development?
Rockas
23rd March 2006, 01:06
By the way, i've spotted your editor today. Very well done!!!
Thanks... by the way... have you tried it to encode your files? :)
I don't think you'll get an inferior quality than using TmpgEnc.
But, you forget include comdlg32.ocx in package. ;-)
yes I know :(
I'll release a new version soon... I'll include it :)
What language is used for development?
VB6
edit: please read my warnimgs carefully if you decide to use it :)
Rockas
23rd March 2006, 01:11
by the way... have you tried to install "readAvs"?
you can get it here:
http://www.avisynth.org/warpenterprises/
at the bottom of the page :)
CNemo
23rd March 2006, 02:43
edit: please read my warnimgs carefully if you decide to use it :)
Do you mean this one about sex? :-)
I've tryed your editor. You are right HQEnc gives amy be even better quality then tmpgenc. However it encodes ac3, which i don't know how to listen. I just never care about it before :-(.
For now i would like stick with tmpgenc because it's a little bit more friendly, but when you finish i'll consider your tool as well.
Until typed this, tryed to install AvsRead. It works now. Man you made my day!
Rockas
23rd March 2006, 10:35
However it encodes ac3, which i don't know how to listen.
Well... you can choose .mp2 as output format or you can Install ac3filter (it's free :)) - you can find it on Doom9 download pages.
Do you mean this one about sex? :-)
Yes... that one too... but I was refering the ones I posted on AviSynth thread - specially the one where I ask to use empty folders for tests :)
ADLANCAS
30th June 2006, 01:01
Hi,
I have the same problem as CNemo.
I tried to make a mpeg1 file, TMPGEnc encoded my script, but without audio :(
It doesn´t work also with a simple AviSource command.
When avi is loaded directly to TMPGEnc it works perfectly.
Any ideas ?
ADLANCAS
2nd July 2006, 00:49
Solved,
I was using DGMPGDec version 1.46 beta2 and then changed to the version 1.48 beta 5.
VFAPI plugin now works:D
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.