Example of Custom Avisynth script

Questions and answers on how to get the most out of FFAStrans
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Example of Custom Avisynth script

Post by admin »

Ok, just checkin because the broadcast encoder nodes have good scalers when using the "A/V Media" decoder first.

-steipal
bartcuijpers
Posts: 13
Joined: Wed Jun 14, 2017 4:35 pm

Re: Example of Custom Avisynth script

Post 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
Attachments
vlcsnap-2017-06-18-14h34m34s603.png
vlcsnap-2017-06-18-14h34m34s603.png (528 KiB) Viewed 5905 times
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Example of Custom Avisynth script

Post 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
Post Reply