By Othniel Harris on Tuesday, 09 May 2017
Posted in Technical Issues
Replies 17
Likes 0
Views 2.8K
Votes 0
I am using your latest version of Easy Social and all parameters are correct upon installation. However when I check the video settings, I get a message saying that "The path you specified is invalid. Please enter a different path to FFMpeg".

I know the path to ffmpeg is correct as we use another component on the site for video. Path works well there (/usr/local/bin/ffmpeg), just not on Easy Social. Please help.
Hello,

Please edit your post and include the FTP access to your site.
·
Tuesday, 09 May 2017 22:32
·
0 Likes
·
0 Votes
·
0 Comments
·
I edited and added the information required.
·
Tuesday, 09 May 2017 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Othniel,

Hm, it looks like when you added the ftp access, the site details were removed. Could you edit the post and include both the site and ftp access please?
·
Wednesday, 10 May 2017 00:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Added again.
·
Wednesday, 10 May 2017 00:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Othniel,

I believe the problem is because the php script doesn't have permissions to test if the file /usr/local/bin/ffmpeg exists on the site. This also means that the php script will not be able to execute this binary.

You need to check with your web hosting company to see if ffmpeg is accessible.
·
Wednesday, 10 May 2017 01:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok. Will do. I know ffmpeg is available. But which php file/s need the permissions. If you could list the name, we could try to change.
·
Wednesday, 10 May 2017 01:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Othniel,

The php scripts often runs as the web server user but different hosting companies set this up differently. You could get your hosting provider to run a simple test using php

[gist]
<?php
var_dump(is_file('/usr/local/bin/ffmpeg'));
?>
[/gist]
·
Wednesday, 10 May 2017 01:43
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the script. We ran it and got the result - bool(false). Not sure what it means. What should we adjust?
·
Wednesday, 10 May 2017 02:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Yeah, it actually means that the script is unable to detect for any files there. You need to check with your web host
·
Wednesday, 10 May 2017 02:16
·
0 Likes
·
0 Votes
·
0 Comments
·
We checked with Web Hosting company and they made the folder (for FFMPEG) writeable, but indicated a security risk, so I believe the wrong change was made.

As it is a dedicated server, could you explain exactly what needs to be done or changed so that I can advise them. Is there any documentation I could reference to show the server admins?

I already have a video share component running on the site and it works well, accessing the path to ffmpeg correctly (see attached image valid.jpg). With the Easy Social video area, users are unable to upload a video in front-end and in the Admin it still says the path to ffmpeg is invalid (see image invalid.jpg).

Please can I have clear instructions and the hosting company will change. Thank you.
·
Monday, 15 May 2017 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Currently we do not have any documentation for this.

Based on what i try upload video on your site, it seems like it can proceed the video encoding through your FFmpeg, this is the log file what it process :


ffmpeg version 0.11 Copyright (c) 2000-2012 the FFmpeg developers
built on Sep 14 2015 09:56:46 with gcc 4.4.7 20120313 (Red Hat 4.4.7-16)
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libtheora
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/televisionjamaic/public_html/media/com_easysocial/videos/4/02a2d43eba379f2248d246405b7fa434':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2015-04-02 10:12:46
Duration: 00:00:29.10, start: 0.000000, bitrate: 134 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1064x720 [SAR 1:1 DAR 133:90], 132 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
Metadata:
creation_time : 2015-04-02 10:12:46
handler_name : Mainconcept MP4 Video Media Handler
[buffer @ 0x1418cc0] w:1064 h:720 pixfmt:yuv420p tb:1/30000 sar:1/1 sws_param:flags=2
[buffersink @ 0x1418f60] No opaque field provided
[scale @ 0x14190a0] Size values less than -1 are not acceptable.
Error opening filters!

Then i realised it seems like your FFmpeg version still using older version, can you request with your webhosting provider to update your FFmpeg version to at least v2.8.x Library ? Because Easysocial minimum requirement only support FFMpeg v2.8 and above.
·
Monday, 15 May 2017 18:49
·
0 Likes
·
0 Votes
·
0 Comments
·
We have installed the 2.8.6 version of FFMPEG, but still have the same error (see attached). Please help.
·
Wednesday, 31 May 2017 00:59
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems work fine now, can you give it a try upload one of the video on your social page?

You can check my video here : http://take.ms/HwQtf
·
Wednesday, 31 May 2017 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, great. Nice that it is working. However, I still see an error message in the Admin area. See attached image of what we see.
·
Wednesday, 31 May 2017 11:00
·
0 Likes
·
0 Votes
·
0 Comments
·
I think you can ignore this warning from the setting page, I suspect one of the user group permission layer not setup correctly from your webserver, that is why it can't find the path in this directory through php -> /usr/local/bin/ffmpeg
·
Wednesday, 31 May 2017 11:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. I also notice that the icons / controls on the video player does not show (you may view your video sent http://take.ms/HwQtf). How can I resolve this?
·
Wednesday, 31 May 2017 11:22
·
0 Likes
·
0 Votes
·
0 Comments
·
It seems like that is your current template compress css causing this issue, when i temporary turn it off, it load fine.

Perhaps you can consult with your current template provider regarding this.
·
Wednesday, 31 May 2017 12:41
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post