VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. I'm curious - if one has the Arcsoft DTS-MA decoder (1.1.0.0), is there a way to have AviSynth decode the audio directly? I had assumed that the DLL is a DirectShow filter, and thus could be accessed by anything that uses DirectShow. I tried DirectShowSource() in AviSynth and it still only decodes the core via FFdshow. Tried using the FFdshow audio settings to passthru DTS-MA and that didn't help either.
    Quote Quote  
  2. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    No, that DLL is not a DirectShow filter. It can be used by a DS filter, such as
    ASAudioHD.ax OR LAVAudio.ax.

    P.S.: ffdshow has a very-high DS-merit, so you'd better not let it decode DTS audio in this case.
    OTOH, the Arcsoft Audio decoder has a very-low merit, so DirectShowSource won't use it,
    unless you set its merit to normal or higher, OR you build a custom .GRF file.
    Last edited by El Heggunte; 24th May 2012 at 23:56. Reason: add P.S. ; grammar
    Quote Quote  
  3. How an I get LAV to use it then?

    I've only recently looked at Graphedit, and have no idea of what it can be used for. Can you point me to a place where I might be able to learn how to do what you're talking about? At least for the sake of curiosity.
    Quote Quote  
  4. According to the LAV Audio control panel, it's able to see all 7 channels of my 6.1 audio source. I used graphedit to render the dts file and it shows it going through the LAV splitter to DirectShow. But when I use DirectShowSource() in avisynth combined with SoundOut, it still produces only 6 channels. Not sure what's going on here.
    Quote Quote  
  5. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by agent154 View Post
    According to the LAV Audio control panel, it's able to see all 7 channels of my 6.1 audio source. I used graphedit to render the dts file and it shows it going through the LAV splitter to DirectShow. But when I use DirectShowSource() in avisynth combined with SoundOut, it still produces only 6 channels. Not sure what's going on here.
    First of all, didn't you mean *ffdshow* instead of *DirectShow*

    Secondly, make sure LAV Splitter is connecting to LAV Audio, and also be sure you have the *adequate* version of DTSdecoderDLL.dll in the same folder as the LAV filters bundle:

    http://forum.doom9.org/showthread.php?p=1575846#post1575846
    Last edited by El Heggunte; 25th May 2012 at 08:37.
    Quote Quote  
  6. Sorry I guess I got some of the names wrong, so here's an image to clarify:

    Click image for larger version

Name:	Capture.png
Views:	378
Size:	6.4 KB
ID:	12563
    Quote Quote  
  7. Hmm. I got it to work after all by changing the extention of the file from dts to dtsma. It went through the LAV splitter,then audio decoder, then directsound. But after loading the graph into AviSynth, even though it showed all 7 channels this time, it won't save the file (via SoundOut) as WAVEFORMEXTENSIBLE. I tried using OPT_UseWaveExtensible=True, but that didn't seem to do anything either.
    Quote Quote  
  8. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Originally Posted by agent154 View Post
    Hmm. I got it to work after all by changing the extention of the file from dts to dtsma.
    Hmmm, that's weird. Maybe it's a glitch in LAV Source Filter (which I never use, I prefer the File Source Async filter) --- OR in the version of LAV you're using ( I still haven't upgraded to the most recent one, because this latter has newer bugs and/or some regressions -.- )

    It went through the LAV splitter,then audio decoder, then directsound. But after loading the graph into AviSynth, even though it showed all 7 channels this time, it won't save the file (via SoundOut) as WAVEFORMEXTENSIBLE. I tried using OPT_UseWaveExtensible=True, but that didn't seem to do anything either.
    If SoundOut refuses to work as it should, then give a try to wavi.exe

    Code:
    WAVI v1.06F - (c) 2k7 Tamas Kurucsai, with lots of help from tebasuna51
    Licensed under the terms of the GNU General Public License.
    
    This utility extracts the first uncompressed PCM audio track
    from an AVI file and saves it to a WAV file. This is not quite
    useful for most AVI files since they usually contain some kind
    of compressed audio, but it can come handy when it's needed to
    save an audio track from AviSynth.
    
    Usage: WAVI <avi-file> [ <wav-file> [ /R | /X | /M <mask> ] ]
    
    If <avi-file> is a valid AVI file which contains PCM audio,
    the audio track will be written to <wav-file> as a WAV file.
    If '-' is passed as <wav-file>, the WAV file will be written
    to the standard output.
    If <wav-file> is not given, only information will be printed
    about the audio track.
    
    On success, the exit code will be 0 and the first line printed
    to the standard error will look like the following:
    
    Found PCM audio: <c> channels, <r> Hz, <b> bits, <l> seconds.
    
    where <c> is the number of audio channels, <r> is the sampling
    rate, <b> is the number of bits per sample and <l> is the length
    of the track in seconds.
    
    If the audio track contains floating-point samples, the next line
    printed to the standard error will be:
    Audio track contains floating-point samples.
    
    If an error occurs, the exit code will be 1 and some useful error
    message will be printed to the standard error.
    
    WAV files larger than 4 GB may be created. However, such WAV files
    are non-standard and may not be handled correctly by some players
    and encoders. A warning will be printed to the standard error when
    such a WAV file is created.
    
    WAVI accepts the following options:
    
    /R - Write a raw file of samples without the WAV header.
    
    /X - Write an extended WAV header containing the default
         channel mask for multi-channel audio.
    
    /M <mask> - Write an extended WAV header containing the
         specified channel mask for multi-channel audio.
    
    The default channel masks are:
    
    Mask  Chan. MS channels                Description
    ----  ----- -------------------------  ----------------
       4   1    FC                         Mono
       3   2    FL FR                      Stereo
     259   3    FL FR BC                   First Surround
      51   4    FL FR BL BR                Quadro
      55   5    FL FR FC BL BR             like Dpl II (without LFE)
      63   6    FL FR FC LF BL BR          Standard Surround
     319   7    FL FR FC LF BL BR BC       With back center
     255   8    FL FR FC LF BL BR FLC FRC  With front center left/right
    
    Some other common channel masks:
    
    Mask  Chan. MS channels                Description
    ----  ----- -------------------------  ----------------
       7   3    FL FR FC
     263   4    FL FR FC BC                like Dpl I
     271   5    FL FR FC BC LF
      59   5    FL FR BL BR LF
    Image Attached Files
    Quote Quote  
  9. Member
    Join Date
    Jul 2009
    Location
    Spain
    Search Comp PM
    Originally Posted by agent154 View Post
    after loading the graph into AviSynth, even though it showed all 7 channels this time, it won't save the file (via SoundOut) as WAVEFORMEXTENSIBLE. I tried using OPT_UseWaveExtensible=True, but that didn't seem to do anything either.
    OPT_UseWaveExtensible only affects the output of Avisynth itself, not SoundOut().
    I don't think SoundOut supports WAVEFORMEXTENSIBLE.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!