By Aikigi on Friday, 13 November 2015
Posted in Technical Issues
Likes 0
Views 896
Votes 0
Hello,

I have an issue with ES video FFmpeg configuration. I use HWDmediashare which also use it and it is working correctly with it, but ES doesn't find it. I double check the path and everything seem correct.

Can you please look at it?

Thanks.
Hi Aikigi,

It seems like you do not set any default category for your video from your backend > easysocial > videos > categories and easysocial are not able to proceed with the video processing after upload. I've fix this for you by assigning category "sports" as default category and the video is working correctly now.
·
Friday, 13 November 2015 12:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I'm not sure to understand! When I go to Easysocial/setting/video, I don't get any of the video encoding options. See screenshot.

"Settings for video uploads will only be available as soon as the ffmpeg executables are detected. Please set the correct path to FFMpeg and save the settings first."
·
Friday, 13 November 2015 14:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Aikigi,

This is because php apache are not allowed to execute the ffmpeg executable on your server due to file permission issue. Perhaps you can try to consult with your webhosting provider and ask them to change the permission level of ffmpeg executable path below and see how it goes.
-rwxr-xr-x
·
Friday, 13 November 2015 16:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

This is very strange!. Like I said in the original post, I'm using HWDmedishare on the same site which use ffmpeg as well and I don't have any problem with video encoding. Why would Easysocial ask for lower permission? Should I give you access to my VPS root?

Thanks.
·
Friday, 13 November 2015 23:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Aikigi,

We are using the following joomla function in order to detect the ffmpeg executable file on your server,
$ffmpeg = $this->config->get('video.ffmpeg');
if (JFile::exists($ffmpeg)) {
// render the settings
}


The code can be found from your /administrator/components/com_easysocial/themes/default/settings/forms/videos.php.

JFile::exists() function is based on php is_file function and it will return false if the file path is not accessible by the apache even if the file path is exist. You can refer to the following link here for more info about is_file function, http://php.net/manual/en/function.is-file.php .

Hope these help.
·
Monday, 16 November 2015 12:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Here is the answer from my Hosting company:

Permission is already good:

-rwxr-xr-x 1 root root 210176 Oct 6 09:14 /usr/bin/ffmpeg*



I am very lost there!! Automatic Processing works find with HWDmediashare. How can they reproduce the issue on their end?

Thank you
·
Wednesday, 18 November 2015 00:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Aikigi,

Thanks for the info. By right everything should be working correctly based on your hosting reply. I will consult with our lead developer regarding on the issue and will keep you updated.

By the way I've applied a temporary hack fix on your site until the issue is resolve so you will be able to access the video settings from your backend.
·
Wednesday, 18 November 2015 12:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Aikigi,

Can I have your ssh root access or your VPS root so we can check the ffmpeg file path directly?
·
Wednesday, 18 November 2015 13:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

Sure I added my VPS root access to my site details.

Also, Because the ffmpeg path they gave me was different from the one I got last time I checked it, I asked the hosting company and they told me that /usr/local/bin/ffmpeg is the symbolic link to `/usr/bin/ffmpeg'

Thanks
·
Wednesday, 18 November 2015 13:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Aikigi,

I am really sorry for the delay of this reply.

I've checked all the folder and file permission that related with ffmpeg and everything is set up correctly on your server and by right everything should be working fine.

We will continue to investigate on the issue and will get back to you once we have the update on the issue here. Thanks for understanding.
·
Wednesday, 18 November 2015 18:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Any updates on this? I think I have the same problem of path to ffmpeg and no video settings coming up
·
Saturday, 13 February 2016 02:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Craig,

I am really sorry for the delay of this reply as it is a weekend for us here. If you have issues with ffmpeg, please start a new thread on our forums and we'll look into this
·
Saturday, 13 February 2016 19:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post