This class can be used to embed video players for several types of video streams.
It can generate HTML tags to embed videos in a page for streams to be presented with the players: Windows Media Player, Real Player, QuickTime movie player, Flash Video player, and Flash movies.
The width and height of the movie, automatic play option and player specific controls are configurable parameters.
This class is a wrapper around the FFmpeg, FLVTools2 and Mencoder programs to allow PHP developers to manipulate and convert video files.
It also provides FFmpeg-PHP emulation in pure PHP so you do not need to compile and install the module.
It performs several types of manipulation operations that include video format conversion, extract video frames into separate image files, assemble a video stream from a set of separate video images, extract audio from video, watermark videos and extracted frames.
Several parameters can also be configured like the output video file format, which can be Flash video or any other supported by ffmpeg, video and audio bit rate and sample rate, video dimensions and aspect ratio.
It can also retrieve information about the media file, such as duration, bit rate, frame rate, format, dimensions, display aspect ratio, pixel aspect ratio, audio stereo, audio frequency and audio format, without any other additional library.
This class can be used to embed in Web pages videos clips from several video.
It takes as parameter an HTML template with tags that identify the original URL of the video clip and where the video should appear embeded in the HTML template.
The class replaces video place holder with HTML tags that embed a video player that will show the video clip on the page where the returned HTML tags are inserted.
Currently, the class supports embedding videos from YouTube, Google Video, Clipfish.de, MyVideo.de and VideoTube.de.