Invalid arguments to function 'Round'
Posted: Fri Nov 11, 2022 12:26 am
Hi,
I'm a new user and very new to this forum.
I have a workflow that is failing in one of two modules. The first module is a Custom AVI Synth. The next module is a Custom FFMPEG. The workflow is failing at the first, if I remove it, it fails at the next one with the same error, though there are a few other modules before either of these. This is the error.
The AVI Synth has Set as 64bit ticked and nothing else with this code (borrowed from another user here):
The custom FFMPEG has all fields empty except the options as follows (this works fine in standalone ffmpeg):
Running Windows 10 (in a fairly tightly controlled security environment)
Any thoughts would be much appreciated.
I'm a new user and very new to this forum.
I have a workflow that is failing in one of two modules. The first module is a Custom AVI Synth. The next module is a Custom FFMPEG. The workflow is failing at the first, if I remove it, it fails at the next one with the same error, though there are a few other modules before either of these. This is the error.
The workflow is pretty simple and is intended to create a low res mp4 auditioning video from any source. This is an overview of the modules.Loudness Corrections@xxxxxxxxxxx: Validate: Script error: Invalid arguments to function 'Round'
- Start
A/V Media - for AVI transcode which are working fine.
Timecode - for BiTC
Watermark - for logo watermarking
Loundess Corrections - AVI Custom to standardise loudness - FAILING
Custom FFmpeg - final transcode for derivaive - FAILING
The AVI Synth has Set as 64bit ticked and nothing else with this code (borrowed from another user here):
Code: Select all
# 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
#
r=ResampleAudio(m_clip, 48000)
n=Normalize(r, 0.22)
m_clip=ConvertAudioTo24bit(n)
# The following MUST be the last line of your script
Return m_clip
Code: Select all
-vf "scale=min'(1280,iw)':-2" -movflags +faststart -c:v libx264 -preset slow -crf 22 -pix_fmt yuv420p -c:a aac -b:a 192k
Any thoughts would be much appreciated.