By Craig van Beek on Sunday, 14 February 2016
Posted in Technical Issues
Replies 13
Likes 0
Views 674
Votes 0
I'm having a little trouble with the video upload section in easysocial. Basically, whatever I'm using as the pathway is either incorrect, or there's something wrong with my ffmpeg install. I've attached a couple of pictures (hopefully) below which should clarify the issue. I'm not getting any options for video uploads, which I'm guessing means it's unable to find ffmpeg.
Following the instructions above didn't do anything to my ffmpeg which is stil 2.6.3

Well, never being one to give up still been searching through google to try and find a solution and BINGO... getting a 0% showing for upload was tied into my php settings having "passthru" blacklisted. removed, restarted and can now upload videos...
·
Saturday, 20 February 2016 16:11
·
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. What about the permissions of the "ffmpeg" binary? Are they tied to root ? There is a possibility that because of the insufficient privileges, EasySocial is not able to detect these binaries.
·
Monday, 15 February 2016 11:54
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm a linux noob is their a command I can fire at it to change the permissions for all users/system whatever it needs? (This really isn't a rush/hurry job.. take the time to enjoy the weekend, there's to many work days!)
·
Monday, 15 February 2016 12:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Craig,

Before changing any permissions, you should first check what are the current ownership of the "ffmpeg" binary. To do this, run this command,

ls -la /usr/bin | grep "ffmpeg"
·
Monday, 15 February 2016 12:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Should be screen shot attached, but just in case :

ls -la /usr/bin | grep "ffmpeg"
-rwxr-xr-x 1 root root 216896 Dec 2 22:49 ffmpeg
·
Monday, 15 February 2016 13:31
·
0 Likes
·
0 Votes
·
0 Comments
·
What user does your webserver runs under? I believe it's apache? Try running this,

chown root.apache /usr/bin/ffmpeg
·
Monday, 15 February 2016 22:57
·
0 Likes
·
0 Votes
·
0 Comments
·
That didn't work BUT, I have solved it (which may help for others if they ever find themselves in the same situation). We're using SENTORA control panel for our websites and I did a search on ffmpeg with that and it seems you need to disable open_base

I've changed that and the settings now appear in the video section, so hopefully it's all working, will test it later today.
·
Tuesday, 16 February 2016 01:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Well, now I have video encoding sitting on 0% and not moving :-/ Any ideas on that one? Am searching the forums as I's sure I've seen that before here, but I can't find it
·
Tuesday, 16 February 2016 01:58
·
0 Likes
·
0 Votes
·
0 Comments
·
It appears the videos upload, but don't process
·
Tuesday, 16 February 2016 02:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Craig,

Hm, is it possible to update ffmpeg to at least 2.8.x ? The version that is installed is 2.6.x and I believe we have not tested this with 2.6.x yet.
·
Tuesday, 16 February 2016 02:31
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm guessing that means I need to follow this guide then as 2.6.3 is the latest stable build that downloads nice and easily.. above that needs packages and compilation :-(

https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

Is a pitty you guys couldn't include the VLC players somehow like emby media package does so uploads could be in normal formats and would just magically play with no need for all the messy conversions
·
Tuesday, 16 February 2016 03:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Craig,

The conversions are mainly because we need to downsize the "filesize", otherwise users would be streaming huge files Also the thumbnail generation requires ffmpeg as well.

Unfortunately, I don't think this is something that can be done just by the player
·
Tuesday, 16 February 2016 22:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Craig,

Ah I see! Thanks for the input on this and glad that your issues are resolved now.
·
Saturday, 20 February 2016 20:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post