Questions tagged [handbrake-js]

HandBrake is a tool for converting video from nearly any format to a selection of modern, widely supported codecs. It can process most common multimedia files and any DVD or BluRay sources that do not contain any copy protection.

Outputs:

  • File Containers: .MP4(.M4V) and .MKV
  • Video Encoders: H.264(x264), H.265(x265) MPEG-4 and MPEG-2 (libav), VP8 (libvpx) and Theora(libtheora)
  • Audio Encoders: AAC, CoreAudio AAC/HE-AAC (OS X Only), MP3, Flac, AC3, or Vorbis
  • Audio Pass-thru: AC-3, DTS, DTS-HD, AAC and MP3 tracks
6 questions
2
votes
3 answers

Node handbrakejs runs the code but doesn't output

So I have the following code: var hbjs = require('handbrake-js'); var encodingOptions = { input: media.file.path, output: media.targetDir+"helloWorld.m4v", quality: 17, optimize: '', encoder: "x264" …
Marc Rasmussen
  • 19,771
  • 79
  • 203
  • 364
1
vote
1 answer

Handbrake-js on Heroku doesn't work. Everything works well for http://localhost

Using the npm install handbrake-js --save command, I installed handbrake-js as a library, and after some tweaking, handbrake-js started to do the job perfectly. And here's the problem. On the local computer everything works well, videos are decoded,…
1
vote
0 answers

Can`t install handbrake-js using npm on windows

I am trying to install all dependencies of a project, which inclues - "handbrake-js": "^1.1.8". Here`s the error I get on npm-install : > handbrake-js@1.1.9 postinstall C:\uploader\uploader\node_modules\handbrake-js > node…
user3014311
  • 438
  • 8
  • 27
1
vote
1 answer

handbrake-js (node) no video on html5-Chrome

I'm trying to convert a video using handbrake-js for node. At first I tried specifying the bitrate, video size, codecs, etc. The goal is to generate several html5 compatible streams to be used as a source on a canvas video for webGL. Everything…
0
votes
0 answers

TypeError - Unable to Load Preload Script in Electron: The URL must be of scheme file

When updating the npm package "handbrake-js" in an Electron application, an error occurs while attempting to load the preload script. The error message states that the URL must be of scheme file. The issue prevents the preload script from being…
0
votes
1 answer

What is the best way to convert files with a heroku deployed app?

I am writing a Discord bot and it's deployed to heroku. I have a function of the bot that will take in a video file and convert it from whatever format it's in to .mp4, then the bot replies with the file embedded. Locally, everything runs OK, and I…
Zamurph
  • 89
  • 9