Hey Everyone,
I was wondering if there is a current class or library in a web language (php, perl, etc.) that is able to extract audio from flash files or youtube links directly.
Thanks for your time!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way to extract audio from a video is to use FFMPEG. There is a PHP extension available, but I have found it easier (due to installation woes) to just call the binary directly with
exec().Here is a great tutorial for stripping the audio from a video file: http://howto-pages.org/ffmpeg/#strip
From that tutorial:
ffmpeg -i mandelbrot.flv -vn -acodec pcm_s16le -ar 44100 -ac 2 mandelbrot.wavNow if by “flash files” you mean SWF, that is another matter entirely.