![]() Now, check the following API code to convert a GIF to video. You can refer the file structure for more understanding. ![]() ![]() API to convert a video from gif Here, we will get the GIF image from the directory called images and generate a mp4 video in output directory. Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 1280x720, 2914 kb/s): unspecified pixel formatĬonsider increasing the value for the 'analyzeduration' and 'probesize' options npm i ffmpeg - installer / ffmpeg ffprobe - installer / ffprobe fluent - ffmpeg 3. Ffmpeg version 4.0.2 Copyright (c) 2000-2018 the FFmpeg developersīuilt with Apple LLVM version 9.1.0 (clang-902.0.39.2)Ĭonfiguration: -prefix=/usr/local/Cellar/ffmpeg/4.0.2 -enable-shared -enable-pthreads -enable-version3 -enable-hardcoded-tables -enable-avresample -cc=clang -host-cflags= -host-ldflags= -enable-gpl -enable-libmp3lame -enable-libx264 -enable-libxvid -enable-opencl -enable-videotoolbox -disable-lzma
0 Comments
Leave a Reply. |