• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Have Trouble With Video Site

Started by uyung,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

uyungTopic starter

Hello, my website running at www.masihdunialain.net

I have try to upload video using extension flv. and mp4. But when upload the videos, the thumbnail not showing, and found erorr message : Erorr Loading Media, File Not Found.

I have set path of ffmpeg and php bin


root@shield [~]# which ffmpeg
/usr/bin/ffmpeg
root@shield [~]# which php bin
/usr/local/bin/php

I have chmod 0777 to Cache, Media, RawMedia, Uploads Folder

But erorr still happened. Can you help me regarding this issue ?

regards,
  •  

PHPVibe A.

Hi!

What version of ffmpeg are you using?
Is videocron.php chmoded 555 or up?
Any errors in log?

uyungTopic starter

I have upgraded to ver 3.5

When i uploaded the avi file, the thumbnail now is showing. but the video still can`t play. the file is not exist, i don`t found any converted video file.

I have make test folder, and make index.php consist this code :

<?php
$output =" /usr/bin/ffmpeg -i video.avi -vcodec libx264 -s 640x360 -threads 4 -movflags faststart video.mp4";
shell_exec($out);
?>

put the video.avi and try to open the site. but still not happened. video.avi not converted to video.mp4

chmod 777 to test folder.

i`m using ffmpeg 0.6.5 and videocron.php set to 0644

regards
  •  

PHPVibe A.

ffmpeg 0.6 is very old, I don't think it will support half of the flags, follow step 5 http://www.phprevolution.com/installing-phpvibe/ and it would be best if you had an conversion command for that version (of best update ffmpeg).

Similar topics (7)