Hello there,
FInally managed to install resourcespace. Had to do a complete reinstall of CentOS 6.2 from the ground up starting with a minimal installation and adding only the required stuff for resourcespace.
Everything is working fine now (as far as I have tested) except getting to see the site on iPads.
I read the whole stuff about VideoJS and how to install the plugin and activate it and edited the required strings in config.php having copied the majority of the stuff from config.default.php.
Now, the difficulties I am experiencing are as follows.
I changed the line:
$ffmpeg_preview_extension="flv";
so that the pertinent section reads:
$ffmpeg_preview=true;
$ffmpeg_preview_seconds=180; # how many seconds to preview
$ffmpeg_preview_extension="mp4";
$ffmpeg_preview_min_width=32;
$ffmpeg_preview_min_height=18;
$ffmpeg_preview_max_width=480;
$ffmpeg_preview_max_height=270;
And I have also tried several encoding commands for ffmpeg.
These settings were also included in config.php:
# Use qt-faststart to make mp4 previews start faster
$qtfaststart_path="/usr/bin";
$qtfaststart_extensions=array("mp4","m4v","mov");
But unfortunately the only way the resource is shown is as if it was a picture. RS will create the required thumbnails for it but no mp4 is created. (I have gone into the filestore folders to created these mp4's via the comand line and they are viable video files ie. they can be viewed in vlc, qt on my windows desktop in prefect condition).
I have then tried several combinations of these config.php settings to see if at least the mp4 would be created but alas I had no success.
I have even put these lines in config.php:
$ffmpeg_alternatives[0]["filename"]="mp4";
$ffmpeg_alternatives[0]["name"]="mp4";
$ffmpeg_alternatives[0]["extension"]="mp4";
$ffmpeg_alternatives[0]["params"]=" -vpre libx264-ipod640 -acodec libfaac -ab 128k -ar 48000 -ac 1 -threads 0 -vf setsar=1 ";
$ffmpeg_alternatives[0]["lines_min"]=21;
$ffmpeg_alternatives[0]["alt_preview"]=true;
but the mp4 would not be created by the php code. Then I tried
# To be able to run certain actions asyncronus (eg. preview transcoding), define the path to php:
$php_path="/usr/bin";
but no results with this either.
I am sure I am missing something in the middle but I do not know what.
Please help.