軟件簡介
FFmpegPHP 是一個(gè)純面向?qū)ο蟮?ffmpeg 的 PHP封裝。提供一些簡單易用、面向?qū)ο蟮腁PI用以訪問視頻和音頻文件的信息,可直接從視頻中獲取幀的圖片,這常用來做視頻的縮略圖。支持的視頻格式包括: MOV, AVI, MPG, 和 WMV。
FFmpegPHP is a pure OO PHP port of ffmpeg-php writter in C. It adds an easy to use, object-oriented API for accessing and retrieving information from video and audio files. It has methods for returning frames from movie files as images that can be manipulated using PHP's image functions. This works well for automatically creating thumbnail images from movies. FFmpegPHP is also useful for reporting the duration and bitrate of audio files (mp3, wma...). FFmpegPHP can access many of the video formats supported by ffmpeg (mov, avi, mpg, wmv...)