This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] AviSynth64 does not work for encode / jobs (but viewer works)
#1
Bug 
Tried in the latest development build I have, 2021.06.08.1. Tried on both Windows 7 and Windows 10 systems. Same problem and errors.

The AviSynth64 viewer works.

But, encodes crash immediately:

Creating job for current source
-> Creating jobs for source: (1)
-> Generating calls for: E:\USER\fin\joga\test64.mp4
  adding x264 calls for source: 1
  createJobs for E:\USER\fin\joga\test64.mp4
  creating attachment extraction subjobs
  creating video subjobs
  creating muxing subjobs
  optimizing the subJobs
-> finished creating subjobs for current source
  added new job with id 2021-07-09@21_40_53_4610
starting 2021-07-09@21_40_53_4610_02_video@21:40:53.471 - E:\USER\fin\joga\test64.mp4
2021-07-09@21_40_53_4610_02_video finished after 00:00:00.063
-> 2021-07-09@21_40_53_4610_02_video crashed: ERROR: C:\Users\ADMINI~1\AppData\Local\Temp\2021-07-09@21_40_53_4610_02.264 is too small! (byteSize: 0byte)
Aborting '2021-07-09@21_40_53_4610_02_video' due to: ERROR: C:\Users\ADMINI~1\AppData\Local\Temp\2021-07-09@21_40_53_4610_02.264 is too small! (byteSize: 0byte)

The above error happens regardless if filters are used. I removed all filters and still got the crash.

Script:

ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("C:\PROGRA~1\Hybrid\64bit\Avisynth\AVISYN~1\ImageSeq.dll")
# loading source: E:\USER\fin\joga\Proteus2\%06d.png
# color sampling RGB24@8, matrix: bt709, scantyp: progressive, luminance scale: limited
ImageReader(file="E:\USER\fin\joga\Proteus2\%06d.png", start=0, end=4837, fps=25, use_DeviL=true, pixel_type="RGB")
# current resolution: 2624x1920
# filtering
# adjust color to YV12 (color matrix: Rec709)
ConvertToYV12(matrix="Rec709")
PreFetch(8)
# setting output fps to 25.000fps
AssumeFPS(25,1)
#  output: color sampling YV12@8, matrix: bt709, scantyp: progressive, luminance scale: limited
return last

Debug file (ran the previewer then the job / crash): [attachment=1439]
Reply
#2
Will look at it.
Also as a reminder read the start of the normal log:
Quote:This log is only intended for user information. It should not be part of a bug/problem report!!
Problem is that Hybrid adds:
# convert to 10bit for encoder
ConvertBits(10, full=true)
to the encoding script, which is wrong and aborts with:
Error: Script error: ConvertBits does not have a named argument "full"
-> will fix

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)