![]() ![]() The binariesĭownloaded from the sources listed at :įor version updates, submit issue or pull request. zip for Lambda, you will need to exclude the other platforms' builds from your archive. Note that if you are compressing your project into a. compiling a Linux version to upload to AWS Lambda from MacOS), you can use npm install -force (substituting linux-圆4 with whatever platform you need). If you need to install a version of ffmpeg that differs than your current platform (e.g. replace ( 'app.asar', '' ) Compiling ffmpeg for platforms other than your own Now.getMinutes() + "-" + now.Const ffmpegPath = require ( ). ![]() ![]() Let name = dir + "/tmp/images/buffer-" + now.getHours() + "-" + Obj.readImageStreamThreadly( 100, targetType, 1) Let ffmpegNode = FFmpegNode.init(video_addr, 2, false, false, logLevel, 1, true) Windows not support c11 yet, so don't use it on windows! Examples const FFmpegNode = require( 'ffmpeg-nodejs') Ĭonst logLevel = FFmpegNode.LEVEL().INFO If you want more command, please see package.json scripts, and do not use cmake or make directly, because it not a pure c project, it is a NODEJS project. Then compiling command is as follows: npm install (or npm run compile or yarn build) If you had not installed ffmpeg-dev whose version is 4.x, and libjpeg, you should install nasm and pkg-config first I suggest that you read the book "c primer plus" There are 2 other projects in the npm registry using node-ffmpeg. Start using node-ffmpeg in your project by running npm i node-ffmpeg. NOTE: x means your system package manager command, like apt, yum, dnf, or something else. Latest version: 0.0.3, last published: 2 years ago. Preparation # install nodejs # install compilers The project call the ffmpeg API by c language to achieve work which is video frame-to-picture and video recording, and call nodejs's napi to provide nodejs calls. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |