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...
Search This Blog
Blog Archive
-
▼
2009
(257)
-
▼
March
(8)
- Finding broken links using HttpWebRequest/HttpWebR...
- Finding Time duration in C#
- C# webbrowser control - Javascript error suppression
- C# webbrowser control - Synchronization for Page n...
- MySQL - Is select query case sensitive?
- AJAX- Some tags (TABLE,TR,TD) will be readonly in IE
- FFmpeg - Media file conversion tool
- sIFR - The new way of Displaying desired Font in w...
-
▼
March
(8)

AI Course | Bundle Offer | Unlocking AI | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | SQL ebook | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment