ulpoad video |
how to upload video and reduce its file size in codeigniter?
Practice | Practice | Practice
you can upload a file with the upload library
http://www.codeigniter.com/user_guide/li...ading.html But... CI can't reduce the file size of your video. You need an external tool for that. Look for ffmpeg and some php libs to use it with CI
You will need to use something like FFmpeg on your server, triggering it trough exec. But expect high CPU and memory load during encoding. And to install it you will need SSH access to your server, so shared hosting won't work.
COMPRESS VIDEO IN BITRATE AND RESOLUTION – PHP & FFMPEG
That should help you out. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Because you need to download the latest Visual C++ Redistributable from Microsoft.
Reinstall the latest Visual C++ Redistributable for Visual Studio 2015. Download: Visual C++ Redistributable for Visual Studio 2015 What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |