TaQuanMinhLong
pnpm and ffmpeg-static
For example,
Your project is at
/home/you/your-project
Then put your binary somewhere within it like .bin/ffmpeg
Then specify inside the .env file
FFMPEG_BIN=/home/you/your-project/.bin/ffmpeg
then load the .env file when running your dev server
Access the path with process.env.FFMPEG_BIN
21 replies