![]() Also note that you can base64 encode the binary as well. If the FFMPEGPATH environment variable is set, fluent-ffmpeg will use it as the full path to the ffmpeg executable. It may work with previous versions but several features won't be available (and the library is not tested with lower versions anylonger). You can see that the image was squished and stretched out like a rectangle, while I would like to keep it a cube. The API vendor issues me a PFX file which I should read in my function and. fluent-ffmpeg requires ffmpeg > 0.9 to work. Renders successfully if I give it an audio file and this image: My function below: async function debugFunction() % done`)Ĭonsole.log('Video has been converted succesfully') Ĭonsole.log('errer rendering video: ' + err.message) Is there any way I can specify in my ffmpeg command to keep the same resolution of my image and not to stretch it? ![]() (It's not exposed in types/fluent-ffmpeg. (It's exposed in types/fluent-ffmpeg.) FfmpegCommand.prepare() here, which does the same thing, but does a does a bunch of work to determine if it needs to append -strict experimental to the args before passing them to you. It seems to happen consistently with jpgs I export from photoshop. FfmpegCommand.getArguments() here, which figures out the args passed to ffmpeg. I have a working fluent-ffmpeg command that does exactly what I want, except somethings an image will be stretched in the final output video. I want to combine these two files into a new mp4. I have an mp3 audio file and a jpg image file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |