sieuhuflit / live-tream-rtmp-server

Live stream using RTMP for React Native
83 stars 48 forks source link

Node Media Trans Server startup failed. #5

Closed 9mhz closed 4 years ago

9mhz commented 4 years ago

When I run node server.js,it back those errors↓

1028 [ERROR] Node Media Trans Server startup failed. ffmpeg:/usr/local/bin/ffmpeg cannot be executed. (node:1028) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:1028) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.

9mhz commented 4 years ago

it solved, I change my ffmpeg path and add the two props then fine

mayankagarwal900 commented 4 years ago

@LevanaS what path you have updated their? And on server how can we reset the path.

gawdwnn commented 4 years ago

i solved this by changing '/usr/local/bin/ffmpeg' to '/ffmpeg' since my ffmpeg folder is at C:\FFMPEG that is at root c drive. also add ffmpeg path to environmental variables

mayankagarwal900 commented 4 years ago

Okay thanks @smarttin