Skip to content

media-converter 2.0.7

Install from the command line:
Learn more about npm packages
$ npm install @lesjoursfr/media-converter@2.0.7
Install via package.json:
"@lesjoursfr/media-converter": "2.0.7"

About this version

npm version QC Checks

media-converter

An audio/video converter using fluent-ffmpeg.

Audio

The audio converter output 2 files :

  • An m4a file with ACC @ 256kbps
  • A weba file with Opus @ 256kbps

Usage

ljconverter audio sound.wav

To change the audio bitrate you can pass the target bitrate in kbps to the audiobitrate parameter.

ljconverter audio sound.wav --audiobitrate 128

Video

The video converter output 2 files :

  • An mp4 file with ACC @ 256kbps & H.264 @ 4000kbps
  • A webm file with Opus @ 256kbps & VP9 @ 4000kbps

Usage

ljconverter video video.mts

To change the audio and video bitrates you can pass the targets bitrates in kbps to audiobitrate & videobitrate parameters.

ljconverter video video.mts --audiobitrate 128 --videobitrate 2000

You can also resize the video with the resize parameter (see the fluent-ffmpeg frame size options for all available formats)

ljconverter video video.mts --resize 720x?

You can also change the framerate of the video with the framerate parameter

ljconverter video video.mts --framerate 30

Details


Assets

  • media-converter-2.0.7.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all