# ffmpeg-node **Repository Path**: mirrors_DylanVann/ffmpeg-node ## Basic Information - **Project Name**: ffmpeg-node - **Description**: Node.js Module for ffmpeg library. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2026-11-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ffmpeg-node Node.js module to control ffmpeg. ## Installation ```bash # npm npm install ffmpeg-node # yarn yarn add ffmpeg-node ``` ## Usage ```js ffmpeg.call( [ ... ], // array of ffmpeg flags callback // function to call after ffmpeg is done ); ``` Examples: > See file test.js These are the ffmpeg commands used by the module for the convenience methods. (If you know how to improve them for better quality/speed, please let me know). ``` mp4: ffmpeg -i ./test.3gp \ -acodec libfaac -ab 128k -ar 41000 \ -vcodec libx264 -vpre slow -vpre baseline -s 640x360 -r 25 \ ./test.mp4 ogg: ffmpeg -i ./test.3gp \ -acodec libvorbis -ab 128k -ar 41000 \ -vcodec libtheora -s 640x360 -r 30 \ ./test.ogg webm: ffmpeg -i ./test.3gp \ -acodec libvorbis -ab 128k -ar 41000 \ -vcodec libvpx -s 640x360 -b 614400 -aspect 16:9 \ ./video.webm ```