CodeIgniter Forums
Manage Uploads and conversions - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Manage Uploads and conversions (/showthread.php?tid=16422)



Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]yannyannyann[/eluser]
Hi there Smile

In my CMS I need to provide to the administrator the ability :

- to upload and convert an audio file into MP3
For this I have no idea what's best ...

- to upload and convert a video file into FLV
Is CodeIgniter ready for ffmpeg for example ?

Thanks in advance.


Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]TheFuzzy0ne[/eluser]
To my knowledge, it runs from the command line, it shouldn't even need to be integrated with CodeIgniter.

EDIT: This looks like it might be useful. http://www.phpclasses.org/browse/package/3747.html


Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]xwero[/eluser]
To encode an audio file to mp3 i would use lame mp3 encoder but instead of doing the conversions on my server i would look for a conversion service that has an api.

Encoding is a background process you don't want to run on the same server as your webserver.


Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]yannyannyann[/eluser]
Quote:To my knowledge, it runs from the command line, it shouldn’t even need to be integrated with CodeIgniter.
How could I call the FFMPEG command from PHP ?


Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]pistolPete[/eluser]
http://ellislab.com/forums/viewreply/294641/
http://ellislab.com/forums/viewthread/58362/


Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]xwero[/eluser]
oh look i wrote ffmpeg converts mp3 too Smile


Manage Uploads and conversions - El Forum - 03-06-2009

[eluser]yannyannyann[/eluser]
thanks you guys !