![]() |
[HELP] Avisynth script in Hybrid - Printable Version +- Selur's Little Message Board (https://forum.selur.net) +-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html) +--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html) +--- Thread: [HELP] Avisynth script in Hybrid (/thread-1801.html) |
Avisynth script in Hybrid - chrisbati - 11.04.2021 Hello, I try to open my basic avisynth script, but each time Hybrid (last version) shuts down. I try to open the script with the main box in which we open input video file. Is that correct ? is there an other way to do it ? Here's my test script: SetFilterMTMode ("QTGMC",4) ffms2("U:\Media a traiter\DVinput.avi", atrack=1) AssumeBFF() QTGMC(preset="placebo", EdiThreads=6) Prefetch(10) Thanks in advance Chrisbati RE: Avisynth script in Hybrid - Selur - 11.04.2021 Quote:Is that correct ? is there an other way to do it ?Yup, that won't work. a. you need to explicitly load the plugins (Hybrid uses a standalone Avisynth++ versions) b. you might have to add 'return last' at the end since Hybrid does not add it automatically and otherwise your script does not return anything. Cu Selur RE: Avisynth script in Hybrid - chrisbati - 11.04.2021 (11.04.2021, 17:48)Selur Wrote:Quote:Is that correct ? is there an other way to do it ?Yup, that won't work. Thanks for your answer. Sorry but i'm total beginner, what do you mean by explicitly load the plugins? Which ones and how to load them? Thx in advance Chrisbati RE: Avisynth script in Hybrid - Selur - 11.04.2021 As a side note: To me to makes no sense to me to load this script in Hybrid since: a. audio handling in Hybrid is probably better b. the script without the audio can be generated through Hybrid Quote:Sorry but i'm total beginnerAre you sure you want to use Hybrid then? It's not intended for total beginners. Other tools which might be easier to use that support Avisynth are MeGui and StaxRip. There are quite a few more guides&co out there for those, so I would recommend to not use Hybrid but one of those two instead to getting started. Quote:what do you mean by explicitly load the plugins?On how to load plugins read: http://avisynth.nl/index.php/Plugins You might also want to read: http://avisynth.nl/index.php/Getting_started In your script you use: 1. through ffms2: FFMS2.avsi which calls FFVideoSource, FFAudioSource which are part of ffms2.dll 2. for QTGMC(preset="placebo", EdiThreads=6) you need tons of filters and a few scripts. your script should probably look like this: # clear automatically loaded scripts&filters to avoid conflicts Cu Selur RE: Avisynth script in Hybrid - chrisbati - 12.04.2021 Thank you very much for all the explanation. The reason why i Want to use my script is that I can't get the same qtgmc result with only hybrid. I tried but the result is not the same. And my script is really basic, i just call qtgmc with placebo preset. When i call qtgmc without my script and only with hybrid, the result look smoother and overall it stays at 25 FPS while with my script and with only placebo preset the result is 50fps. With hybrid, i use avisynth and only set placebo as preset in the telecine/deinterlace tab. But result seems smoother and frame rate stays at 25 FPS. How Can I get the same result with hybrid ? Thanks in advance Chrisbati RE: Avisynth script in Hybrid - Selur - 12.04.2021 [quote]How Can I get the same result with hybrid ?[//quote]
Cu Selur RE: Avisynth script in Hybrid - chrisbati - 12.04.2021 (12.04.2021, 07:12)Selur Wrote:Quote:How Can I get the same result with hybrid ?[//quote] Great ! Still on issue, the display aspect ratio is 4/3, it has to be 5/4 as I'm in PAL (720*576). With my script I have 5/4, but with Hybrid, 4/3. Result with my script: Quote:Video Result with Hybrid: Quote:Vidéo How can I have the correct aspect ratio ? Thanks in advance Kind regards, Chrisbati RE: Avisynth script in Hybrid - Selur - 12.04.2021 Hybrid takes the PAR (= pixel aspect ratio) that is signaled from the input and passed it through to the output. If your input isn't properly flagged you can set the PAR under "Crop/Resize->Base->Pixel Aspect Ratio (PAR)->Input PAR". If you don't know the correlation between PAR and DAR (= display aspect ratio) read: https://en.wikipedia.org/wiki/Pixel_aspect_ratio You normally also can change the PAR by remuxing (Audio&Video set to Passthrough) and setting "Muxing->Overwrite->Pixel aspect ratio". Cu Selur Ps.: I hope you know what you are doing since 5/4 is a rather uncommon display aspect ratio,... RE: Avisynth script in Hybrid - chrisbati - 13.04.2021 (12.04.2021, 19:47)Selur Wrote: Ps.: I hope you know what you are doing since 5/4 is a rather uncommon display aspect ratio,... You make me doubt, but I'm pretty sure pal DV is 720*576 so 5/4, no ? RE: Avisynth script in Hybrid - Selur - 13.04.2021 Quote: but I'm pretty sure pal DV is 720*576 so 5/4, no ?Afaik DV normally as a 4x3 display aspect ratio, a 0.9:1 pixel aspect ratio, and a storage aspect ratio of 720 x 480 (NTSC) or 720 x 576 (PAL). -> MediaInfos detail view (mediainfo --full "..." ; no clue how it's called nowadays in the gui) should display the pixel aspect ration etc. if you analys the dv file with it. Cu Selur |