VideoHelp Forum




+ Reply to Thread
Results 1 to 21 of 21
  1. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    I just installed everything on new computer and copied avisynth scripts (working) from old one.

    And here seems to be the problem - there is no sound playing from avisynth's output videos - I tried mpc, vlc , mplayer - nothing - but each of these programs gives information about audio stream where all seems to be ok.

    Monogram graphStudio shows that everything is fine but doesn't play sound (only video).

    Even MediaInfo shows that there is an audio.

    Why I cannot hear it?
    Quote Quote  
  2. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    mpc (after forcing ffdshow audio filter) shows:

    input: ac3, 5.1, 48000Hz, 192kbps (liba52)
    output: pcm, stereo, 48000Hz, 16-bit integer

    could it be that somehow audio volume was set to 0 in avisynth and that is why I hear no sound?

    I'm using avsPmod for my avisynth scripts - and when I want to see the result in external program from avsPmod (mplayer in my case) I don't get any sound as well - but mplayer displays a massage that there is a sound.
    Quote Quote  
  3. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    from mediaInfo:

    Audio
    ID : 1
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Codec ID : 2000
    Duration : 4mn 4s
    Bit rate mode : Constant
    Bit rate : 192 Kbps
    Channel(s) : 6 channels
    Channel positions : Front: L C R, Side: L R, LFE
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Compression mode : Lossy
    Stream size : 5.59 MiB (6%)
    Alignment : Aligned on interleaves
    Interleave, duration : 40 ms (1.00 video frame)
    Interleave, preload duration : 512 ms
    Quote Quote  
  4. are you playing the .avs directly in the media player ?

    what does info() report about the audio ?

    post your avs script
    Quote Quote  
  5. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    script:

    DirectShowSource("e:\_libs\Videos\_tv\wonderfulLif e.ts")

    crop(last,4,8,-4,0)
    Spline36Resize(last,800,448)

    black = blankClip(last,length=25)
    video = black + trim(25,0).fadeIn(60)
    audio = fadeIn(75)

    black = blankClip(last,length=75)
    video = video.trim(0,frameCount()-74).fadeOut(60) + black
    audio = audio.fadeOut(70)

    audioDub(video,audio)
    convertToYUY2()
    convertFPS(25,zone=242,vbi=49)

    This video (the one that doesn't play sound) was already saved with vDub (I opened above script in vDub) and used xVid for encoding.
    For audio I downloaded AC3ACM15 from this site and used full compression mode.

    Info() says (for audio):
    has audio: yes
    audio channels: 6
    sample type: float 32 bit
    sample per second: 48000
    audio lenght: 11721600 samples. 00:04:04:200
    Quote Quote  
  6. are you playing the video exported from vdub? is there audio there ?

    when you say
    there is no sound playing from avisynth's output videos
    are you playing the xvid/ac3/avi video or the avs script directly ?

    is it working now? what is the problem ?

    do you have audio turned up? speakers plugged in ? soundcard enabled with drivers updated ?
    Quote Quote  
  7. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    if I play avisynt script directly in media player - there is no sound
    if I play video exported from vDub as xVid/ac3/avi (using above script in vDub) - no sound

    but all programs tell me there is a sound.

    yes: speakers plugged in, volume up, all updated - sound is working fine everywhere else
    Quote Quote  
  8. does original file have audio ? or blank audio? can you "hear" it ?

    what about other audio? like mp3 files ? or other videos ?

    please answer the hardware questions asked above^
    Quote Quote  
  9. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    original video has audio (recorded with hd pvr) - I can hear it

    if I use MPASource in avisytnh to import mp3 that plays fine - I hear audio

    all software for hardware is installed and running fine
    Quote Quote  
  10. original video has audio (recorded with hd pvr)
    If you play original video in media player, you can "hear" it ? Having audio and hearing it are 2 different things

    You say graphstudio reports pins connect? for audio too ?

    Try different source filter for audio instead of directshow

    eg.
    nicac3source , bassaudiosource, or ffaudiosource for audio
    Quote Quote  
  11. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    1. yes - I can hear it
    2. yes - for audio too
    3. i'll be back... soon
    Quote Quote  
  12. Do you still have old computer around ? Can you check if it works there ? or check on a friend's computer
    Quote Quote  
  13. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    Does the original video you're trying to frameserve play, with audio, with no problems?

    Since you're using DirectShowSource in the script, there may be an issue with the DirectShow filter being used to decode AC3. (note: AC3ACM isn't a DirectShow filter, as I recall, but more of a measure for VfW players and encoders like VirtualDub. DirectShowSource has to be able to handle the video before VirtualDub can receive it through AVISynth, though.) Do you have ffdshow installed?

    Edit: Never mind, I see in the second post that you do have ffdshow installed. What is it set to in the audio decoder settings, for AC-3?
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  14. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    Guys, I really thank you very much - solved.

    What was wrong?
    Ai Haibara's post put some lights on it (when he mentioned about ffdshow I decided to recheck this) and...

    First (on new system) I only installed latest SVN ffdshow from tryouts page - but I didnt install the latest stable and recommended version: Beta 7.
    Last edited by adom; 7th Mar 2011 at 16:53.
    Quote Quote  
  15. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    now (after installing this beta7) it works - but I'm confused - do I really need this beta7? - isn't latest SVN enough - do I have to install it on top of stable beta7 version? - looks like I do.

    Anyway now it is working.
    Last edited by adom; 7th Mar 2011 at 16:51.
    Quote Quote  
  16. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    Thank You one more time.
    Quote Quote  
  17. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    If you haven't installed the latest ffdshow tryouts versions, I'd recommend trying that and seeing if one of those works for you. Note that while it's been labeled as 'stable,' the 'beta 7' version is from February 12, 2010 - so it's quite a bit behind the current builds.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  
  18. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    I probably confused you with my latests posts so let me explain it one more time:

    I installed latest ffdshow tryouts version on new computer - everything seemed to work fine - I had these small ffdshow icons showing up near system clock, graph Edit was showing all filters with proper connections but there was no sound (one thing I noticed - when trying to run hdConvertToX - there was a message that ffdshow couldn't be found - but I forgot about it)

    Then I installed that stable version beta 7 - vissually nothing changed - but everything started working - hdConvertToX didn't call for ffdshow anymore and the sound was playing fine.

    So my question is :
    do I have to first install that beta 7 (as a "base") and then on top of it I need to install latest tryouts edition - is it made to work this way - or maybe there is just sometthing missing in the installers of tryouts versions (maybe some reg. entries are missing) so system does.t see it in 100%.

    Anyway after installing beta 7 and then latest tryouts version (order doesn't matter) I have 2 ffdshows showing in my "installed programs list" under windows 7.
    Quote Quote  
  19. Member
    Join Date
    May 2001
    Location
    United States
    Search Comp PM
    Does this
    Code:
    DirectShowSource("e:\_libs\Videos\_tv\wonderfulLif  e.ts")
    play the audio? If it does, your script is the error. If not, you might not be bringing the audio in properly.
    ICBM target coordinates:
    26° 14' 10.16"N -- 80° 16' 0.91"W
    Quote Quote  
  20. Member
    Join Date
    Jan 2011
    Location
    poland
    Search Comp PM
    but now it plays audio - I had to install ffdshow beta7 for this (really old release) - with only latest ffdshow installed (one of svn's) audio didn't work.

    btw. that space in the file name "wonderfulLif e.ts" got there accidentally - it's not there in the script.
    Quote Quote  
  21. VH Wanderer Ai Haibara's Avatar
    Join Date
    Jan 2006
    Location
    Somewhere on VideoHelp...
    Search Comp PM
    No, you shouldn't normally need to install one version of ffdshow first (such as beta 7) and then another atop it (the latest tryouts build). You can install them however you prefer.

    Of course, since there's roughly a year difference between beta 7 and the latest build, a number of things are probably handled differently inside and out, so the option the installer gives to reset the settings would likely have been a good idea. Don't get me wrong, though - while I do usually recommend the latest builds, if the beta 7 version works for you, don't worry about using it. I'm not exactly quick to update ffdshow, myself.
    If cameras add ten pounds, why would people want to eat them?
    Quote Quote  



Similar Threads

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