Could anyone share an example of an avisynth script?
This is more for learning than anything in particular. Below is the script i have been playing with (unsuccessfully).
SCRIPT:
# Variables:
#
# m_clip = The last returned AviSynth media
#
# Do NOT change any of the following variables!!!
# _ffas_video = <original video>
# _ffas_audio = <original audio>
# _ffas_height = <source height>
# _ffas_width = <source width>
# _m_clip_a_channels = <total channels>
# _ffas_work_fdr = Working folder for the workflow
#
AssumeFPS(59.94, 1)
hd2sd("m_clip", Interlaced=true, OutputFieldRate=29.97, OutputColorSpace=”YV12″)
# The following MUST be the last line of your script
Return m_clip
# The following MUST be the last line of your script
Return m_clip
Remember that "m_clip" is always your source variable in AviSynth so if you want to do something with the incomming media, it is represented in the "m_clip" variable. The reason is that the "A/V Media"-decoder return the incomming media in the "m_clip" variable. The "Custom AviSynth script" just continues where "A/V Media" ended. Was that clear ?
I'm sorry Rubikean, I did'nt see this reply until now
When this error occurs, can you please send me the zipped contents of the work folder (like "C:\20151116101339\20151118-170449-162-9ABB675A") to post@ffastrans.com. If you have very large decoded files in there then just leave them out. Does your files have any strange characters in them?
LoadPlugin("%s_ffastrans_dir%\Processors\AVS_plugins\hd2sd_sd2hd\ColorMatrix.dll")
LoadPlugin("%s_ffastrans_dir%\Processors\AVS_plugins\hd2sd_sd2hd\FFT3DFilter.dll")
LoadPlugin("%s_ffastrans_dir%\Processors\AVS_plugins\hd2sd_sd2hd\GrapeSmoother.dll")
LoadPlugin("%s_ffastrans_dir%\Processors\AVS_plugins\hd2sd_sd2hd\TDeint.dll")
LoadPlugin("%s_ffastrans_dir%\Processors\AVS_plugins\hd2sd_sd2hd\VScope.dll")
m_clip = hd2sd(m_clip)
# The following MUST be the last line of your script
Return m_clip
The hd2sd.avsi file is in "%s_ffastrans_dir%\Processors\AVS_plugins\"
What's wrong?
Thank you!
Unfortunately the function didn't succeed - it contain too many plugins (maybe some of them incompatible with actual Avisynth version) or wrong color profile input.
I give up!
I'm trying to find a better interlace scaler... The actual one (include in FFASTrans - Resize) create a poor image, same quality like this code too: