scenejs-render
scenejs-render copied to clipboard
solution to ffmpegPath not working
I'm sure --ffmpeg-path %s works in some use cases.. but I just spent 2 hours pulling my hair out because in my case it just wouldn't work no matter what path I gave it.. whether it was an absolute path, a relative path, or whether I put ffmpeg in the local folder.
After much debugging and trial and error, I looked up the documentation of fluent-ffmpeg and found a solution that worked for me. Posting it here in case anyone else stumbles on the same issue.
What worked for me was setting the path like this before calling the render command:
FFMPEG_PATH=/opt/homebrew/bin/ffmpeg render ...
@vesper8
Thank you. Let's see why ffmpegPath doesn't work.