Comments (9)
If FFmpeg is contained in your PATH, Isometric must find it. For that to work however, that entry in the PATH environment variable must also be present when running the game. This might, depending on how brew installs it, not necessarily be the case. Can you try making sure your PATH is correctly set up when running the game? Alternatively, you can also place the ffmpeg
executable directly in your .minecraft
directory - this should make it get detected under all circumstances
Cheers
from isometric-renders.
Ah, I suppose the ffmpeg location is in my path, but not necessarily the executable itself. I'll test if that fixes it
from isometric-renders.
Yeah, it's in my path, visible to all applications that need to find it, but using ManyMC/PolyMC/PrismLauncher Minecraft can't detect it. I don't particularly want to copy the executable to the directory but I suppose I'll have to do that for now :/
Amending this, the mod cannot find ffmpeg in .minecraft both as a symlink and also just straight up copied into the folder, despite the executable itself working.
from isometric-renders.
What is the specific error message in your log? There should be something along the lines of Did not detect FFmpeg for reason: ...
from isometric-renders.
same issue, also on macos. My error code is Did not detect FFmpeg for reason: Cannot run program "ffmpeg": error=2, No such file or directory
I also tried putting the executable straight into .minecraft and it didn't work.
Otherwise my actual ffmpeg executable seems to be in a homebrew folder /usr/local/Cellar/ffmpeg/5.1.2/bin
with alias files in /usr/local/bin
.
I'm on macos monterey 12.5.1 using MultiMC and mc 1.18.2
from isometric-renders.
yeah, it's error 2 same as above. From what I can tell, the ProcessBuilder isn't getting access to the correct PATH variable when it is being run from the mod, or doesn't have the correct permissions? but testing with the JDK my launcher uses, it does work, so I'm not sure what's going on here.
from isometric-renders.
I tried to test this myself but was having gradle issues and couldn't get the mod to build.
I found these two stackoverflow questions that may be somewhat relevant? I'm not familiar with process builder though so this may just be obvious stuff, I'm not sure.
https://stackoverflow.com/questions/11787479/java-io-ioexception-cannot-run-program-error-2-no-such-file-or-directory
https://stackoverflow.com/questions/63819828/runtime-getruntime-execcommand-cannot-run-program-error-2-no-such-file-o
A few ideas:
- it seems like having "./ffmpeg" instead of "ffmpeg" here would run an executable that's placed in whatever directory the java runs in, I'd assume
.minecraft
? Maybe the code could try running this way if the first 'ffmpeg' fails ? Not ideal but if it works. - There could maybe be a config file that lets users set the location for it themselves.
- It could try calling it from a common absolute PATH location like
/usr/local/bin/ffmpeg
Or maybe there's just a way to fix it so it gets it directly from path, but again, I'm not very familiar with this stuff so I'm not sure.
from isometric-renders.
It's pretty much the launcher's fault for not putting /usr/local/bin
in PATH
. A workaround for MultiMC-derived launchers is setting your instance's Wrapper Command
to env PATH="/usr/local/bin:$PATH"
. The solution that should probably be implemented in the mod is the same one that ReplayMod uses: Just check the common macOS install locations instead of relying on PATH
.
from isometric-renders.
so anyone have any idea on what to do? i'm only slightly familiar with the terminal (i'm more familiar than the average bear but still) and wanna show a dumb spinning video of a barn to my friends
from isometric-renders.
Related Issues (20)
- Toggle to use item names instead of IDs
- [Possibly unfixable issue] Crash when rendering Cobblemons HOT 2
- Player render starts shaking when activating animations
- Incompatibility with ModernFix mod HOT 7
- Area render not working fabric 1.19.4 HOT 1
- Cant render overlapping Blocktextures from various Recourcepacks
- [Feature Request] The "Inventory View" render task argument for the batch render HOT 1
- Bug or Iām dumb but please help HOT 1
- ffmpeg don't work on window
- Black area when rendering HOT 1
- Crash on Startup 1.20.4 HOT 3
- [FEATURE REQUEST]
- [COMPATABILITY REQUEST] Legendary Tooltips
- Up arrow key not working in signs HOT 2
- option to save images to disk instead of ram or in batches to allow for larger renders
- [FEATURE REQUEST] Ability to save render to computer? HOT 1
- Is this suppose to happen? HOT 4
- Is there any setting to change the layout of the UI interface? HOT 2
- [Feature Request] Can we get the option to NOT render certain block ids during a render?
- All renders are completely black since installing ffmpeg. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isometric-renders.