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 > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd May 2005, 20:01   #1  |  Link
thrivx my appendix
Registered User
 
Join Date: Aug 2004
Posts: 15
AC3 stream w/ avs

My goal is to create a "synthetic AVI" with an AC3 stream... I DO NOT wish to decode AC3 into PCM. When I load the script into VDubMod, it should recognize the audio as an AC3 stream. How do I do this?
thrivx my appendix is offline   Reply With Quote
Old 22nd May 2005, 20:10   #2  |  Link
Schlumpf
Registered User
 
Join Date: Oct 2001
Posts: 62
dsynth might suit your needs.
Do a search for it.
Schlumpf is offline   Reply With Quote
Old 22nd May 2005, 21:45   #3  |  Link
thrivx my appendix
Registered User
 
Join Date: Aug 2004
Posts: 15
I found Dsynth and replaced the avisynth.dll, but there is a problem... which is that it doesn't work with the AudioDub() function. So I can do AVISource() or DirectShowSource() and get directly copied streams, but when I try to dub in audio I get a crash (assuming crash, it seems to recover and shuts down player/encoder). Is there another way to dub in audio? Please any help would be appreciated...
thrivx my appendix is offline   Reply With Quote
Old 23rd May 2005, 18:26   #4  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
I think that audio is not supported yet.
Wilbert is offline   Reply With Quote
Old 23rd May 2005, 21:27   #5  |  Link
thrivx my appendix
Registered User
 
Join Date: Aug 2004
Posts: 15
I'm sorry, but wrong... Audio is supported. Audio with AudioDub() function is not. Repeat: audio is supported. I need an alternative to AudioDub()
thrivx my appendix is offline   Reply With Quote
Old 23rd May 2005, 22:39   #6  |  Link
esby
Registered User
 
esby's Avatar
 
Join Date: Oct 2001
Location: france
Posts: 521
Ok
Let's me make a clarification:
DSynth is able to direct stream audio as long as you can decode it.
I know it is jerky, but I kept the comportment of avisynth.
The rule is to try to decode the stream, no matter it is audio or video.
I know it is an artificial limitation, but that should work in most cases.

Now for the audio part, I won't guarantee that what you are serving is correct as a qualitative result, except if you are serving audio stream 'encoded' as cbr mp3. Vbr mp3 is not working properly, and ac3 is untested.

So I don't have any idea if audio ac3 will be served correctly.

esby

Now for audioDub() it should support directstreaming in theory...
Nothing in the direct version should trigger an error, if you are getting one, that mean you are probably getting it before, in the filterchain.
__________________
http://esby.free.fr/
esby is offline   Reply With Quote
Old 23rd May 2005, 23:28   #7  |  Link
thrivx my appendix
Registered User
 
Join Date: Aug 2004
Posts: 15
The error only occurs when I attempt to directstream AC3 with AudioDub()... There is no error in the filter chain beforehand. It will stream it correctly until I call AudioDub() which then causes a crash.
thrivx my appendix is offline   Reply With Quote
Old 23rd May 2005, 23:34   #8  |  Link
thrivx my appendix
Registered User
 
Join Date: Aug 2004
Posts: 15
For instance...

This is ok:

AVISource("clip1.avi") #huffyuv with AC3 stream

I get direct stream copy and no errors.

But this:

video = MPEG2Source("video.d2v")
audio = DirectShowSource("audio.ac3")
AudioDub(video, audio)

...causes crash.
thrivx my appendix is offline   Reply With Quote
Old 24th May 2005, 08:51   #9  |  Link
esby
Registered User
 
esby's Avatar
 
Join Date: Oct 2001
Location: france
Posts: 521
DirectShowSource is an external plugin, and don't support direct streaming.

Maybe I could try to convert it to get it working.
Now the crash is easily explanable.

Default (externals) plugins say they can direct stream audio and not direct stream video.
This comportment allows dsynth to serve compressed audio with external classic filters. When dsynth detects an external plugins, it searches directly the previous child in the chain and call the corresponding method once he found a direct streaming one.

Now the problem is that directShowSource do not support directstreaming so it skips and tries searching for a previous child, which does not exist, so crash...

esby
__________________
http://esby.free.fr/
esby 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 20:13.


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