VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. I've got any avisynth script and I've dragged it into MPC-HC. I've got the video playing but there's no audio. How can I get the audio to play? I'm using DSS2 as my source filter.
    Quote Quote  
  2. dss2 returns video only . Load the audio using some source filter and audiodub() to merge video & audio together

    eg.

    Code:
    vid=dss2("video.ext")
    aud=directshowsource("video.ext")
    audiodub(vid,aud)
    Quote Quote  
  3. Tried this and the video crashes:

    Code:
    vid=dss2("M:\1 = Tests\Video.mkv")
    aud=directshowsource("M:\1 = Tests\Video.mkv")
    audiodub(vid,aud)
    Crop(2,2,-2,-8)
    AddBorders(2,6,2,4, $000000)
    Quote Quote  
  4. does it crash without the crop and add borders? Does it crash with dss2 alone ? You can try another source filter, if that's the problem eg. FFAudioSource()

    aud=FFAudioSource("M:\1 = Tests\Video.mkv")
    Quote Quote  
  5. No it doesn't crash without the crop or DSS2 alone.
    FFAudioSource works but it's pointless as I can't view the video until it creates an index file. Is there anything else that will play the video instantly with audio?
    Quote Quote  
  6. Not inside a mkv container. You would have to wait until you demux the audio , then you could use a different source filter, so pointless as well

    What kind of audio ?

    If you fix your directshow filters, directshowsource() should work on the audio. E.g. use lav splitter and lav filters

    Lsmash works without indexing but only on MP4/MOV container . It requires indexing for mkv
    Quote Quote  
  7. If I fix DirectShow will it work on the audio when the source is an MKV?

    What do you mean fix the directshow filters? I wasn't aware they were broken.

    I like to remove the boring bits of Bluray movies but rather than having 2 videos (Unedited and edited) which takes up more space I thought I might use Frameservering instead on the unedited source. Is there anything else I could use instead of frameserving?
    Quote Quote  
  8. Originally Posted by VideoFanatic View Post
    If I fix DirectShow will it work on the audio when the source is an MKV?
    Yes . Even DirectShowSource("video.mkv") should work, you don't need dss2

    What do you mean fix the directshow filters? I wasn't aware they were broken.
    Your observations suggest something about the audio when using directshow is causing your script to crash . Most common problem would be problems with directshow setup or filters


    I like to remove the boring bits of Bluray movies but rather than having 2 videos (Unedited and edited) which takes up more space I thought I might use Frameservering instead on the unedited source. Is there anything else I could use instead of frameserving?
    Do you mean just to watch an .avs script ? Are you using trim() ?
    Quote Quote  
  9. Yes I'm watching an .avs script and will probably be using trim.

    Any idea how to reset DirectShow to defaults? I did install K-Lite Codec Pack Basic as I needed it for MultiAVCHD to work. Probably that which has messed DirectShow up.
    Quote Quote  
  10. Try plain DirectShowSource first . For simple filtering, no temporal filters, just a few simple trim()'s - it should be good enough for playback

    Code:
    DirectShowSource("M:\1 = Tests\Video.mkv")
    Crop(2,2,-2,-8)
    AddBorders(2,6,2,4, $000000)

    Just to be sure with the earlier script, add video=false for the audio line

    Code:
    vid=dss2("M:\1 = Tests\Video.mkv")
    aud=directshowsource("M:\1 = Tests\Video.mkv", video=false)
    audiodub(vid,aud)
    Crop(2,2,-2,-8)
    AddBorders(2,6,2,4, $000000)

    Maybe try changing your filters. I think K-Lite has some options in the codec tweak tool to reset . Or try swapping filters like ffdshow or lav
    Quote Quote  
  11. Tried your second script but it still crashes MPC-HC.

    K-Lite Reset just seems to reset settings for K-Lite. It doesn't put the settings back at what they were BEFORE K-Lite was installed. Not really sure what to do. I'll try in a VirtualMachine at some point in the future as K-Lite isn't installed there.

    Can you help with this issue please?:

    https://forum.videohelp.com/threads/379618-Can-t-get-Interframe-to-work-to-convert-PAL-...=1#post2454009
    Quote Quote  
  12. Originally Posted by VideoFanatic View Post
    Tried your second script but it still crashes MPC-HC.

    K-Lite Reset just seems to reset settings for K-Lite. It doesn't put the settings back at what they were BEFORE K-Lite was installed. Not really sure what to do. I'll try in a VirtualMachine at some point in the future as K-Lite isn't installed there.
    How about uninstalling k-lite? That should return your configuration to the default microsoft decoder on windows 7,8,10 . Which doesn't work for avisynth. So if you install lav filters after that, everything should work

    Some VM's don't always access the same configuration as a host in terms of .dll's , drivers etc... emulation isn't perfect

    Not sure, I think it has to do with faster presets and passing vectors and padding. There was a bug a long time ago in QTGMC, it might be fixed by now . Try changing the hpad,vpad values but you might get worse borders and peripheral frame artifacts
    Quote Quote  
  13. OK but is there a way to downscale to 1280 x 1080 (which doesn't need QTGMC since the height isn't being resized) and have the rest of the script see it as though the video was originally that resolution? I'm sure there's a way but I forgot what it was.
    Quote Quote  
  14. I don' t know why it's happening . It works at 1920, resizing to 1440,960 , but not 1280 width . They are all mod 16 with or without horizontal 16 padding, so I have no clue



    And the bug I was referring to was fixed in 3.30
    Workaround for padding bug in MVTools that crashed faster modes. Removes need for SafeMode setting, which has been removed
    Quote Quote  



Similar Threads

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