Creating stop-motion videos from images with PHP
Is it possible, using PHP, to create a video file (Format doesn't matter at the moment) 开发者_StackOverflow中文版from a series of images?
I'm not talking about making animated GIFs but real videos.
Yes, but why would you want to? PHP isn't suitable for writing video compression software (e.g. implementing an H.264 encoder yourself), much as a chainsaw isn't suitable for neuro-surgery. Use external tools like ffmpeg to do it for you with far less hassle/pain.
there is the ffmpeg-libary that can encode videos in php: http://ffmpeg-php.sourceforge.net/
精彩评论