2.0.5 • Published 3 months ago

@lesjoursfr/media-converter v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

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
2.0.5

3 months ago

2.0.4

4 months ago

2.0.3

5 months ago

2.0.2

8 months ago

2.0.1

8 months ago

2.0.0

10 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago