Video stays pending forever on media converter

bdepadey4815

New Member
YetiShare User
Feb 28, 2015
87
0
0
I just changed server and everything works apart from the media converter which just stays on pending forever for new videos which have been uploading... I have had ffmpeg professionally installed so not sure what the problem is... The cron job is there as well
 

adam

Administrator
Staff member
Dec 5, 2009
2,046
108
63
Try testing it directly on the command line via SSH. So first via the script admin, media converter plugin settings, set "Output Cron Messages" to "Yes".

Then login via SSH as root and run:

Code:
php /path/to/your/install/plugins/mediaconverter/converter/convert.php
Replace /path/to/your/install/ with your actual server path. (this is basically the cron task path)

You should see some output on screen which will help figure out the issue.
 

bdepadey4815

New Member
YetiShare User
Feb 28, 2015
87
0
0
The conversion now says failed. Here is the notes

FFMPEG Command:
ffmpeg -i /home/brad/public_html/plugins/mediaconverter/converter/_cache/dabc4cdc9d7be06c6243fa637d5a7c46.mp4 -vcodec libx264 -ac 2 -r 30 -b:v 1400k -flags +aic+mv4 -vf "scale=320:trunc(ow/a/2)*2" /home/brad/public_html/plugins/mediaconverter/converter/_cache/dabc4cdc9d7be06c6243fa637d5a7c46_new.mp4

Result:
 

bdepadey4815

New Member
YetiShare User
Feb 28, 2015
87
0
0
This is strange, I just ran the cron job in ssh and it worked the file was converted.

However, If i don't do it in ssh, it just stays on pending then a few minutes later says failed
 

jaredesguerra4757

New Member
YetiShare User
Feb 13, 2015
7
0
0
This is strange, I just ran the cron job in ssh and it worked the file was converted.

However, If i don't do it in ssh, it just stays on pending then a few minutes later says failed
Are you using SSH as root ? , if so and the script is not running as root then this might be a permissions issue.