-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script Failing Errors #20
Comments
The first audio issue seems to be innocuous. It has been posting that error to screen since 2.83. The second issue that you're having may be related to the blend file settings. Generally when the an error only happens occasionally, it's something to do with a setting that did not get set correctly in the initial save to the blend files. This kind of problem happens sometimes when you have saved a blend file in a previous version of blender and then rendered it with a newer version of blender. one of the things about blender that keeps you on your toes when you're writing scripts is that they often will change API calls out of nowhere. Thanks for all of the info, I will definitely take another look at the code. |
Thanks for the quick response, I believe I've figured out what's going on, just not the absolute cause. It's not your script, it's Blender itself. I saved my .blend files, and sometimes when I go back to edit the file it's unusable. No video, just sound. no video or sound. Has video, no sound as it jumps for 1 FPS to 60 FPS, again unusable. I even did a quick test after saving a file it worked fine, then I rebooted my machine loaded the .blend file and it was unusable. I've obviously wasted hours. But even that's not consistent. I've shut down blender, not rebooted the PC, opened it up again loaded the .blend file and it's buggered and unusable. These files I've not even used to render with yet. I only started using Blender a week or so ago, so I don't understand what the hell is going on. But I expect to be able to save a .blend file and come back to it later to pick up where I left off. But it's inconsistent. The only time it works consistently is when I save the 1.blend file, no rebooting or restarting blender and then let the script run. I can shut down Blender then. But as per above when I reload the 1.bend file it's 90% of the time corrupted. |
I noticed that you are running the script from a secondary drive [ D: ]. I suspect that there is an issue with mounting of the drive. Is your D drive USB? Are any of the drives that you are using to import video USB? Importing video directly from the USB drive may be the problem. As a test, create a project that is only adding files that are located on the C drive. Save it and reboot your computer to see if project is still intact. |
This behavior is very odd. I know that in blender 2.83.3 they implemented a new VSE DISK CACHE system that is configurable in the preferences. You can now turn it on and off. Try turning it off and seeing if that solves your problem. [ Edit -> Preferences -> System -> Use Disk Cache ] |
This behaviour is quite odd as sometimes I get the errors and sometimes I don't
I get these errors when the script starts: these are always shown whether the script fails or not, so probably ain't a problem but better to mention them than not.
This is the error I get when the render has finished:
The script does create the Directories mentioned in the errors above, so I don't know why this happens.
NOTE: The script is on my D drive with FFMPEG. Blender is in it's default directory on the C Drive
This is my script:
video_editors_render_script.zip
Script Setup:
Also all of my Blender rendering settings are exactly the same as yours as per this video.
https://www.youtube.com/watch?v=qDOGFxMJoxw&list=PLjyuVPBuorqJb1AwUu-wh61cLWMBVWS3N&index=2&t=0s
If there's anything else you need just let me know.
Great tool, when it works. The most annoying thing is that it worked perfectly fine for the first 5 times I tried it, even on one that took 18 hrs to finish.
The text was updated successfully, but these errors were encountered: