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
Custom AviSynth Problems
Custom AviSynth Problems
- Attachments
-
- 18o25fps.zip
- (12.89 KiB) Downloaded 448 times
Re: Custom AviSynth Problems
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:
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:
- Attachments
-
- 18o25fps.zip
- (7.28 KiB) Downloaded 437 times
Re: Custom AviSynth Problems
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
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
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
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
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
-steinar
Re: Custom AviSynth Problems
Hey Steinar,
thank you for this, I will give it a try.
cheers,
tom
thank you for this, I will give it a try.
cheers,
tom
Re: Custom AviSynth Problems
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
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