FLV to MP4 video conversion without quality loss #video conversion
Edit
by re2qa - 10 years ago (2014-12-16)
I need a PHP script for .flv video to .mp4 conversion
| i need a PHP script that converts a .flv video to .mp4 without quality loss. |
Ask clarification
1 Recommendation
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 Manuel Lemos 26695 - 10 years ago (2014-12-16) Comment
This class can convert videos to different formats. It uses the ffmpeg program, so it supports many video formats including FLV and MPEG 4.
As for losing quality it depends on the formats you are using and eventually some compression parameters.
In the case of convert of MPEG 4, I afraid it is not possible to not lose some quality, but you may be able to configure the parameters to minimize any quality loss. |