VideoHelp Forum




+ Reply to Thread
Results 1 to 14 of 14
  1. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    not sure where to put this topic, i thought i would start it in here. can be used for general issues and question about graphedit (ge)

    ok, here is my issue with ge. i am trying to connect an avisynth script (video.avs -> ffdshow video decoder) but they won't connect.

    1. i set the avs script final color space to yuy2
    2. and set the [ffdshow video decoder] filter the following: Propertie\Codecs\AviSynth\Decoder=Avisynth (note, the drop down default is disabled)

    but the pins will not connect. in fact, nothing will connect, nor auto-connect when i right-click the output pin.

    i was under the impression that graphedit/studio supported avisynth and scripts.

    i am trying to create a generic script that i can feed into a graph so that i don't have to re-build a graph with every new video source. it would be much easier if i can just update the script with the new video/audio source. that is what i am trying to do here.

    does anyone know what i am doing wrong ?
    Quote Quote  
  2. Works here. I can just drag an AVS script onto GraphStudio.

    Click image for larger version

Name:	graph.jpg
Views:	333
Size:	39.1 KB
ID:	18857

    AviSource("dv.avi")
    ConvertToYV12(interlaced=true)
    Works without the ConvertToYV12 too.
    Quote Quote  
  3. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Works here as well since 1975

    AVS files normally are handled by the AVI Decompressor (which is part of quartz.dll) and sometimes also require the Color Space Converter filter ( depends on the crappiness of the current video drivers, I suppose )
    Quote Quote  
  4. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    ok, i think i got things screwy going on. some source files were moved so some of the calling filters couldn't find and bailed with an error. but all is working fine now..i can drag a plane avs script fine and play them..ivtc scripts, etc.

    however, when working with the hevc encoder and LAV fitlers, that's where the problems come out. it does not like the new connections. i'm going to try and just rebuild it from scratch and see if it likes it, if so then problem solved and i won't have to rebuild anything any more, i hope. thanks for quick response.
    Quote Quote  
  5. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    yeah, this [LAV splitter] filter does not like scripts. it bails out with "there is no common media type between these pins" error. it looks like i can only feed raw avi's to this thing. i hate having to rebuild or swap filenames because i am getting confuse in the process and forgetting which file i took what from. oh boy!
    Quote Quote  
  6. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    the old and working graph filter looks like this:

    [video.avi]->[LAV splitter]->[LAV video decoder]->[Lentoid HEVC encoder]->[Monogram FLV mux]-> video.flv

    and the new filter should look like this:

    [video.avs]->[LAV splitter]->[LAV video decoder]->[Lentoid HEVC encoder]->[Monogram FLV mux]-> video.flv

    but the new filter is not working. it bails out between the video.avs and Lav splitter.
    Quote Quote  
  7. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Try a dummy AVI created with makeAVIS.exe

    I use this trick often against Mainconcept Reference, which likes to drop at least one frame when receives an AVS file without a proper intermediation
    Quote Quote  
  8. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    i know what you mean..basically, induce it to accept it. i coensidentally did something a little while ago and it worked. so i'm going to try and see if i can induce it to vomet over (LAV splitter) filter to accept it with a new connection criteria. its tricky but just might work..
    Quote Quote  
  9. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    with respect to post # 6, no go. everything i tried and still won't accept the video.avs script. it will take anything else, .avi/ts/m2ts/mpg, etc., but not an avisynth script. i tried all color spaces and resolutions. nothing. also tried the makeavs but that fails too.
    Last edited by vhelp; 15th Jul 2013 at 00:10.
    Quote Quote  
  10. Member
    Join Date
    Nov 2009
    Location
    United States
    Search PM
    I think you might have to enable "Raw video" in FFdshows codecs to get it to work with an avs in GraphStudio.
    That's how I would do it.
    Quote Quote  
  11. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    OR he could identify the output format and media subtype that the LAV filter(s) give to Lentoid's encoder, and (try to) mimic that behavior with AV Splitter Because there are things that the LAV Splitter cannot do, but AV Splitter can --- just as an example,

    https://forum.videohelp.com/threads/329917-MPC-HC-with-a-MPEG-4-TS-file?p=2196715&viewf...=1#post2196715
    Quote Quote  
  12. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    thanks for the suggestions. i've tried them and could not get to work. in short, i give up. at least for the time being. ty again.
    Quote Quote  
  13. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    having another quick look at things. looking at the lines in blue below, i wonder if that is the problem. i saw it yesterday but wasn't sure and too tired to bother asking about. anyway.

    [video.avs] Media Types = MEDIATYPE_Stream.
    [AVI decompressor] Media Types = MEDIATYPE_Video.


    note: [video.avs] is graph\insert filter...\File Source (Async.) filter

    Media Types are different. i believe that this may be the problem with *all* the previous failed connection attempts.

    so, i wonder how does one go about changing the (source) mediatype to that of the (dest) mediatype ?
    Quote Quote  
  14. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    the problem seems solved now. it was due to the difference in mediatype's. with a little trick we induce the [video.avs] filter to spit out a mediatype_video and then make the connections. vuala!
    Quote Quote  



Similar Threads

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