What is the best PHP video convert to mp4 class? #video convert to mp4
Edit
by Prabhulal Ramesh - 9 years ago (2015-10-27)
Need a online video convertor like youtube , and play all videos
| I want to upload videos of any format to compress and convert them when uploading starts like Youtube or whatsapp do. Whatsapp limits the size to 16MB but I do not want any limits similar to Youtube.
|
Ask clarification
2 Recommendations
This class can download files of given YouTube videos.
It takes a given YouTube video identifier and sends a request to YouTube to get the video details. The class works as a parser of YouTube video metadata.
The class can get the YouTube video source URL and generates a link to download the video data in a given format, usually MP4, or can download it directly to a file using the Curl extension or the wget program.
| by Manuel Lemos 26695 - 8 years ago (2016-10-29) Comment
If you want to download videos from YouTube to MP4 format, you can use this package that works with current YouTube updates. |
PHP Video Toolkit: Manipulate and convert videos with ffmpeg program
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.
| by Dave Smith 7620 - 9 years ago (2015-10-27) Comment
I'd give this package a try, it is a wrapper around several compression utilities, however it does state that there is a pure php implementation if you can't compile the extensions. |