[eluser]Sky Warden[/eluser]
[quote author="TheFuzzy0ne" date="1364126203"]CodeIgniter doesn't support this functionality natively, but you can extend it so it does. Image width and height is only supported when you upload an image.[/quote]
Recently I decided to use FFmpeg to get the thumbnails, but it doesn't work.
Code:
$command = 'ffmpeg -itsoffset -7 -i video/test.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 thumbnails/test.jpg';
exec($command);
That syntax works with terminal (I'm using Linux), but not in PHP. I think it's a PHP question, not Code Igniter. Maybe I need to a kind of load ffmpeg first before I can use it, but I have no idea.