damianociarla / node-ffmpeg

ffmpeg module for nodejs
MIT License
600 stars 140 forks source link

Set the format of input #96

Open rapiz1 opened 1 year ago

rapiz1 commented 1 year ago

Is it possible to set the format of the input? e.g. ffmpeg -f s16le -i file.pcm 1.mp3

Current setVideoFormat will produce ffmpeg -i file.pcm -f s16le 1.mp3 and that set the output format.