Page 2 of 2

Re: Example of Custom Avisynth script

Posted: Wed Jun 08, 2016 3:53 pm
by admin
Ok, just checkin because the broadcast encoder nodes have good scalers when using the "A/V Media" decoder first.

-steipal

Re: Example of Custom Avisynth script

Posted: Sun Jun 18, 2017 12:54 pm
by bartcuijpers
I've got the HD2SD script working;

Code: Select all

Import("%s_ffastrans_dir%\Processors\AVS_plugins\AviSynthPluginsDir.avsi")
Import("%s_ffastrans_dir%\Processors\AVS_plugins\hd2sd.avsi")
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 = AssumeFrameBased(m_clip)
m_clip = hd2sd(m_clip, OutputFieldRate=50, InterlacedUV=true)

Return m_clip
But when transcoding XAVC 10 bit footage, the resulting image is half green as you can see in the attached image.
Any idea what might be causing this? Is is it still nessacary to use the HD2SD plugin or is the resize 'node' in ffastrans revised already?

Bart

Re: Example of Custom Avisynth script

Posted: Mon Jun 19, 2017 6:10 pm
by admin
Hi Bart,

I'm not familiar with the HD2SD so I can't say if it's needed or not. But with 0.8.x the inbuilt scaler chain in the broadcast encoders has been substantially updated and are very good and pretty fast. Also, they adapt very well to almost any input media. So if scaling is the only filter you're applying then I would try without.

Concering the green video, XAVC is among the formats I'm testing with and I have no problem with green video on a straight "A/V Media"-decoder -> encoder. So this might be caused by the plugins used by HD2SD script. You must also remember that FFAStrans now use the avisynth+ branch as default and there might be compatibility issues with HD2SD.

-steinar