$format->setAdditionalParameters(array('-profile:v', 'baseline', '-pix_fmt', 'yuv420p')) $format = new \FFMpeg\Format\Video\X264('libvo_aacenc', 'libx264') 'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
'timeout' => 6600, // The timeout for the underlying process 'ffprobe.binaries' => 'ffmpeg/bin/ffprobe.exe', 'ffmpeg.binaries' => 'ffmpeg/bin/ffmpeg.exe',
I use this code to convert GIFs to MP4: $videoname = str_replace('.gif', '.mp4', $picname)