I made a simple streaming service with Next Js and ffmpeg is required for one of the functions I made, when running the app everything works fine but the ffmpeg part just fails and Since I didn’t expect it I didn’t even put error in place,
You will need to share more details than this. How does it fail? Are there any errors at all? You should probably implement error handling into your service.
If you are running on a free service, depending on what you do with FFMPEG, the chances are you are using more resources than a free instance offers.
My Apologies for not explaining the situation, I’m using Next server actions which are like using express, on my live website there’s a /upload route which take info like title, description, video, image, category, the form submit is then handled by server action and a copy of the video is made in a temp folder then this is the error part the ffmpeg command is executed as a child process from node and this is where my service fails.
As for Errors handling I have set error for multiple failure but because I had no problems in development I totally forgot about it