Task Scheduler Was Not Working Social Engine Video Upload Module – Solved

Recently I started reviewing SocialEngine (Short desc: create your own social networking site), and I face some issue with video uploading process.

I am using SocialEngine 4.1.7.

By default, user can only embed Video from YouTube and Vemio. But if you want to upload the Video file, you need to allow it by enabling settings from the Administrative area.

First login to Admin credential and go to admin panel.

Go to Menu -> Plugins – > Global Settings (tab)

First option you will see is “Path to FFMPEG”.

Now you should have ffmpeg installed on your server. It is very easy, you just need to upload one directory. First of all download the latest copy from http://ffmpeg.org/download.html . If your hosting is windows based, then download the windows build from http://ffmpeg.zeranoe.com/builds/ . Choose the first one from 32-bit Builds (Static). Extract it, and upload it where you have uploaded license key file.

Now you need to update the text box for “Path to FFMPEG” with yours location. I don’t know yet how we can specify full path when you’ve uploaded it to hosting server. But for my local environment “C:\xampp\htdocs\socialengine\ffmpeg\bin\FFMPEG.exe” had worked for me.

This will enable, Video file uploading in your site.

Now try to upload one video from user section.

I see this information on listing page, “Your video is in queue to be processed – you will be notified when it is ready to be viewed.”

This means your video encoding is not yet performed.

Now come to admin area:

Go to Menu -> Settings -> Task Scheduler -> Job Queue (tab)

Here you’ll see Video encoder task may be in pending state.

So you need to tell the system to run this task. On the same page, go to “Task Scheduler settings” tab. By default trigger Method is “cURL”.

So what you need to build a url with the Trigger Access Key.

It should be like: http://yourdomainname.whatever/utility/tasks?key=YOUR_ACCESS _KEY

In my case, it was http://localhost/socialengine/utility/tasks?key=3e148ebb

That’s it. Hurray!!

I found this solution in one forum and I am honestly declaring the source link here.

http://www.socialengineforum.com/index.php?/topic/9647-uploading-videos-problem/. I registered my self on this site. It is a helpful site for SocialEngine customers.

Basically tasks are scheduled and we need to set up cron job that runs periodically. In our case we trigger it manually, but you make it fully automatic. In later post I’ll show you how based on my experience on make site live.

Thanks..