FFmpeg will be more useful for converting any media file.
We can use this tool from php by using exec command. Please find below the example code for converting media file to .flv file.
exec("ffmpeg -itsoffset -4 -i '$sourcefilepath' -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 '$desinationfile'")
More Articles...
Popular Posts
- Software Testing Quiz Questions and Answers
- Javascript Quiz Questions and Answers
- MySQL Quiz Questions and Answers
- SEO Your Blog the Easy Way - Guest Post
- SEO (Search Engine Optimization) Quiz Questions and Answers.
- PHP Quiz Questions and Answers
- HTML Quiz Questions and Answers
- Best Motivational Quotes Book | Kindle eBook and Paperback | Read for FREE with Amazon's Kindle Unlimited
- Basic Computer Hardware Quiz Questions and Answer.
- Use of tinyurl in Twitter

No comments:
Post a Comment