An audio/video converter using fluent-ffmpeg.
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
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