![]() ![]() You can see that the image was squished and stretched out like a rectangle, while I would like to keep it a cube. ![]() Renders successfully if I give it an audio file and this image: At that time, the result attribute contains the data as a data: URL representing the file's data as a base64 encoded string. When the read operation is finished, the readyState becomes DONE, and the loadend is triggered. My function below: async function debugFunction() % done`)Ĭonsole.log('Video has been converted succesfully') Ĭonsole.log('errer rendering video: ' + err.message) FileReader.readAsDataURL () The readAsDataURL method is used to read the contents of the specified Blob or File. 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 seems to happen consistently with jpgs I export from photoshop. 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. audio nodejs ffmpeg complex filters video-filtering fluent-ffmpeg. fluent-ffmpeg version: 2.1.2 ffmpeg version: 4.1.6 OS: Linux Debian 10 Buster (runs on WSL2) Code to reproduce. I have an mp3 audio file and a jpg image file. Extend fluent-ffmpeg with fluent API for configuring audio and video filters. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |