command line - FFmpeg package for php -
does simple ffmpeg package work fine when execute command php via exec? or have different ffmpeg package purpose? please me solving it.
php's ffmpeg , vanilla ffmpeg independent packages. php5-ffmpeg
package comes ffmpeg binary dynamic library. means can install php5-ffmeg
without installing command line ffmpeg
package or vice versa or can have both of them installed.
therefore, answer yes, php work command line ffmpeg
given installed.
i prefer using command line ffmpeg in php via exec
. allows testing operations on command line , once result desired, command can used in php's exec
. on other hand, in situations, may preferable use php5-ffmpeg
package because gives ability use object oriented coding style when dealing videos, conversion, etc.
Comments
Post a Comment