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.

Possible to reload and edit Job
#1
Just before I launch a Job my system crashed luckily the job was saved but now when I run it, it crashed. Probably I did some error in the filter I added and I want to check it, but I would not like to restart everything from scratch.

Is it possible to reload the Job and then modify the part that probably give the error?
I could not find the options.

Thanks
Reply
#2
Saved jobs can not get modified after their creation by Hybrid.
So if you change anything in the filter configuration after the creation of the job, the job will not change.

Cu Selur
Reply
#3
And is also not possible to reload the job then create a new working instance where do all the changes and save a new job with all the mods, am I right?
Reply
#4
You can not change a job in Hybrid.
You could in theory:
1. close Hybrid
2. look at the job file (in your settings folder)
3. modify that file with a text editor and save it
4. start Hybrid

Cu Selur
Reply
#5
Thanks, I did it.

But even after erasing the filter I added the encoding crash I have to figure out why.
Reply
#6
The sticky contains details about what data I need to help with problems, but when you start to mess with the jobs you are on your own since any change then is out of the control of Hybrid.

Cu Selur
Reply
#7
I added this custom filter:

# defining beforeDeCross-function - START
def beforeDeCross(clip):
  core.std.LoadPlugin(path="C:/Audio-video App/Hybrid/64bit/Vapoursynth/vapoursynth64/plugins/fillborders.dll")
  clip = core.fb.FillBorders(clip, int left=3, int right=0, int top=0, int bottom=0, string mode="fillmargins", int interlaced=-1)
  return clip
# defining beforeDeCross-function - END

and I thought it was the source of the crash but it's not.

So I will build everything again and see If I can figure out where is the problem.

If you want I can send you a copy of autosavedJobs.xml
Reply
#8
core.std.LoadPlugin(path="C:/Audio-video App/Hybrid/64bit/Vapoursynth/vapoursynth64/plugins/fillborders.dll")
Hybrid uses a portable Vapoursynth version, sadly Vapoursynth has no option to disable autoloading, so this really might cause issues, since Vapoursynth might autoload them.
a. In general, I would recommend to make sure not to put .dlls in that folder. ('vapoursynth64/plugins'; also don't put stuff in the coreplugins folder.)
b. If there are .dlls in that folder, they might get autoloaded and explicitly loading them will cause a crash.

clip = core.fb.FillBorders(clip, int left=3, int right=0, int top=0, int bottom=0, string mode="fillmargins", int interlaced=-1)
that will also not work, since it's not Vapoursynth/Python code.
it should be:
clip = core.fb.FillBorders(clip=clip, left=3, right=0, top=0, bottom=0, mode="fillmargins", interlaced=-1)
the types should not be in the call.

If you remove the 'def beforeDeCross(clip)'-section, you should also make sure to remove the invocation of that definition.
clip = beforeDeCross(clip)
otherwise, the script will fail since it does not know what 'beforeDeCross' is.

If you add random stuff to a custom section, you really should check the preview to see whether what you added really works.

Cu Selur

Ps.: recreating the job seems to be easier Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)