PHP Classes

Convert uploaded video to audio: Extract audio from video file

Recommend this page to a friend!
  All requests RSS feed  >  Convert uploaded video to audio  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Convert uploaded video to audio

Edit

Picture of Adit by Adit - 9 years ago (2016-03-05)

Extract audio from video file

This request is clear and relevant.
This request is not clear or is not relevant.

+4

I want convert an uploaded video file to audio using ffmpeg in PHP.

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.
This recommendation solves the problem.
This recommendation does not solve the problem.

+4

Picture of Manuel Lemos by Manuel Lemos Reputation 26695 - 9 years ago (2016-03-05) Comment

This class can convert videos in formats supported by ffmpeg and convert them to MP3. There is an example snippet in the README file that demonstrates that.


Recommend package
: 
: