Page 1 of 1
Custom AviSynth Problems
Posted: Thu Sep 07, 2017 3:48 pm
by ThomasM
Hi there,
anyone has an idea how to get the custom AviSynth-node to work? I want to do a TimeStretch from 18fps (Audio / Video) to 25 fps. Source is an .AVI witch both video and audio.
I have no idea how to put the video in the AVI-script-node. (Workflow included). I tried with and without A/V-MediaNode / ChannelMapper-Node. No success.
In one case the AVI-scriptnode returns "I don´t know what 'm_clip' means", and the ssrc-function of AVIsynth does also not work / gives error "Script error: There is no function named SSRC"
I also tried ffmpeg´s pts, but this skips frames and does not pitch the audio. This node is bypassed in the workflow.
Any ideas...?
cheers,
thomas
Re: Custom AviSynth Problems
Posted: Fri Sep 08, 2017 11:07 am
by ThomasM
ok, I am a little step further now.
This is, what I found out:
When I modify a Custom AviSynth node, the settings are not necesseraly saved to the workflow. I Mean - I save INSIDE the node, but the FFASTRANS-WORKFLOW does not recognize the modification. Workaround:
- Modify AVIsynth-node -> save inside node.
- change AVIsynth-skript inside AVIsynth-node.
- exit AVIsynth node -> Workflow turns red for saving-message
- return to AVIsynth node
- choose modified skript (that one you want to run)
- exit AVIsynth node -> Workflow turns red for saving-message
now it works.
But I came around that SSRC (sample rate conversion) does not work. I Added this to the Custom ffmpeg node.
Also I had to remove all the remarks (#).
Maybe I did something weird wrong, but now it works.
here is the workflow to speed up an .AVI with sound from 18fps to 25fps:
Re: Custom AviSynth Problems
Posted: Fri Sep 08, 2017 4:07 pm
by admin
Hi ThomasM,
I don't know what you have done to complicate things but in my testings the "Custom AviSynth"-node works as expected: When saving a custom script you just need to press the "Save" button. Saving a template and saving a workflow are two different things.
All lines starting with a hash character are regarded as comments and thus omitted by the interpreter, so you don't need to remove them.
Great that you got you script working!
-steinar
Re: Custom AviSynth Problems
Posted: Wed Sep 13, 2017 12:29 pm
by ThomasM
Hi Steinar,
thank you for your reply.
Just one Question regarding the AVIsynth-node:
When I have another format than AVI, lets say .mov - how do i get the videofile recognized by the avisynth node? My testing: MonitorFolder-Node > A/V-node > AVIsynth node > DeliverFolderNode. What do i have to type as AVIspource in avisynth-node then? I tried some variables like _ffas_video but has no effect but error...
Any help appreciated,
cheers,
tom
Re: Custom AviSynth Problems
Posted: Thu Sep 14, 2017 6:50 pm
by admin
FFAStrans utilize the ffms2 video source plugin which uses decoding from ffmpeg instead of the inbuilt. So instead of using AVISource use "FFVideoSource". Check this document for AviSynth usage:
https://github.com/FFMS/ffms2/blob/mast ... visynth.md
-steinar
Re: Custom AviSynth Problems
Posted: Wed Oct 04, 2017 2:52 pm
by ThomasM
Hey Steinar,
thank you for this, I will give it a try.
cheers,
tom
Re: Custom AviSynth Problems
Posted: Fri Oct 06, 2017 9:26 am
by ThomasM
Hey Steinar,
i get an Outcome "Script error: There is no function named 'FFVideoSource' "
Maybe do you have an examplke how to get the file in from the preceding Monitor-Folder-Node?
greetings,
tom