Closed ankitmishra88 closed 3 years ago
Hi.. this error is related to the underlying HandbrakeCLI
binary, not the handbrake-js wrapper library.. have you tried reinstalling the handbrake Linux package? Something seems corrupted..
Ok, so I haven't reinstalled Handbrake CLI, I try reinstalling and see if it works. Thanks
I removed and installed handbrake-cli again, but error is still there. You can see the error in below screenshot of console.
ok, this is not an issue with the handbrake-js wrapper library, which is doing its job correctly.. please try running handbrake directly (not the handbrake-js Node.js library) - if it also fails with handbrake directly, you need to contact handbrake..
Thanks, I checked running HandbrakeCLI from terminal directly without Node.JS library, It works only with sudo. This may be the issue? To make it work with Node.js, what should I do?
then you must also run node
with sudo..
Oh yes, thanks 👍
I have installed handbrake-js on Ubuntu EC2 server with Node.js. Earlier It was working fine.But whenever now, I try to transcode a file to mp4, it gives following error: {"status":false,"error":{"name":"Other","message":"Handbrake InitialisationError [error code: 3]","output":"Cannot load libnvidia-encode.so.1\nCannot load libnvidia-encode.so.1\nCannot load libnvidia-encode.so.1\nCannot load libnvidia-encode.so.1\n[08:37:44] hb_init: starting libhb thread\n[08:37:44] thread 7f7eb5df1700 started (\"libhb\")\nHandBrake 1.2.1 (2019021900) - Linux x86_64........................................ } It's a long list. So what may be the possible solution? Earlier it was working fine.