Video file not processing
Hello guys, my video file not processing. So, I ask my hosting company to fix the problem. They try all what they can do and they come out with this. I am pasting what they email to us. Anyone can help me with this please. I have to fix this ASAP. So, please read below
“
We have reviewed the reviewed your application in detail and here are the changes we have performed up until now:
- We have enabled exec() and shell_exec() in the PHP-FPM Configuration file for your website, as both of those PHP Functions are required for FFMPEG Commands to be executed server-side
- We have changed the permissions of the internal ffmpeg.exe file of your UNA Application to 777 so it has full permissions for all User Groups
- We have modified the Cron Job that is being executed to a different PHP Binary, as it seems that the current path that is set is not correctly executing the command, and now it is the following:
/opt/cpanel/ea-php56/root/usr/bin/php [path to UNA]periodic/cron.php
Upon attempting to execute the Cron Job, in order for it to start processing the Videos, the following error message in the coding of UNA's Video Transcoder appeared:
Fatal error: Call to a member function getDb() on boolean in [path to UNA]inc/classes/BxDolTranscoder.php on line 119
Please note, however, that this is an issue with the core PHP Coding of that file, and resolving this issue is beyond our expertise as a hosting provider, therefore, we kindly ask you to forward this information to your developer so he can assist you in resolving this.
Once this issue has been taken care of, the videos should start processing without any issues, as there aren't any server-side configurations that need to be taken care of.”
What do I do next guys?
Thank you
Senthur
-
-
·
LeonidS
- ·
Hello Senthur !
The shown error means that this line in inc/classes/BxDolTranscoder.php:
$o = self::getObjectInstance($r['transcoder_object']);
gives the wrong object. You may try to execute the following query in your UNA database (you may backup this table before):
DELETE * FROM `sys_transcoder_queue` WHERE `status` = 'processing';
and try to upload the new video again. Then check the new result.
-
·
LeonidS
-
- · Senthur
-
·
In reply to LeonidS
- ·
Thank you I try this
-
- · Senthur
- ·
Are you can help to setup my video processing. My hosting company can’t fix it. Tmdhosting recommened from boonex but they have no idea how to fix. So, una can help me to fix the video?
Thank you
-
-
·
Alex T⚜️
- ·
It maybe some records left in transcoder queue which cause this error, I would suggest to clean transcoder queue:
DELETE * FROM `sys_transcoder_queue`
and then try to upload some video again
-
·
Alex T⚜️
-
- · Senthur
-
·
In reply to Alex T⚜️
- ·
Thanks for the message. I reinstall the una. Is working now.
Thanks again.
Senthur
-
- · VR Tour Guide
- ·
Here is what TMD hosting sent me:
Please note that the issue is related to the status of the videos not automatically changing.
For example, when uploading a video, it transitions between multiple states:
1.Pending
2.Processed
3.CompleteFor some reason, some of the videos are getting stuck in the Pending process, even though there should be no issues with their conversion.
Once a video gets stuck in the Pending state, all of the additionally uploaded videos would get stuck as well, until the issue has been resolved.
To resolve the issue, we enter the website's database and manually alter the state of the video.
Unfortunately, this issue is not server related and we would not be able to determine how to permanently resolve it.
You could consider contacting UNA's support regarding the matter and request more information on how to potentially resolve the issue.
Please do not hesitate to contact us again, if we can be of any further assistance.
Our team is 24/7 at your immediate disposal!
Best Regards,
Nigel Clark
Technical Support Team -
- · VR Tour Guide
- ·
Is there a permanent fix for this?
-
-
·
Alex T⚜️
- ·
OwnerOps please note the following:
1) never change status of files in transcoder queue it may lead to unpredictable results
2) check if remote transcoding option isn't enabled Developer > Settings > Remote video transcoding, it requires special setup
2) original issue was related to the problem when some webm files left in queue after webm transcoders were removed in some of previous updates, then clearing transcoding queue should help - https://una.io/cmts.php?sys=bx_forum&id=3869&cmt_id=15645
-
·
Alex T⚜️
-
For someone new could you please describe how to clean the transponder queue?
-
What is the permanent fix to stop this from happening?
-
For someone new could you please describe how to clean the transponder queue?
You need to run the following query:
DELETE FROM `sys_transcoder_queue` WHERE `transcoder_object` LIKE '%webm' AND `status` IN('pending', 'processing', 'delete');
You need to do it only once, no need to do it periodically.
-
It looks like this is not working. I ran the query and also deleted all videos and started posting videos again but always get stuck after my third video. 4th video stays stuck in processing.
-
Thank you for the help but it did not fix the issue. 4th video always gets stuck in processing.
-
- · VR Tour Guide
- ·
I tried running the query but this fix did not work. It seems the 4th video I am trying to post always gets stuck in the processing mode.
-
Here is the reply I got back for TMD hosting:
Hello,
Thank you for the update.
It appears that the written query is not suitable for this version of MariaDB:
MySQL said:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '%webm’ AND status IN(‘pending’, ‘processing’, ‘delete’)' at line 1
We have reviewed the MySQL Documentation in an attempt to locate what syntax should be used for your version of MairaDB (10.2.27-MariaDB) - to no avail.
You should possibly contact a database specialist or the team behind UNA, for the proper syntax that should be used for this version of MariaDB.
Additionally, we cannot be certain why this issue would occur, given that all server requirements for the UNA script are beyond covered.
Kind Regards,
Jared Levine
Genius Support Team -
- · otherperson
- ·
What is your server plan with TMD? Shared? Virtual? Dedicated?
Shared plans with TMD will result in much frustration with regard to video processing. I write this to warn others.
Please check your server cpu and memory usage on your Control Panel. If there is a spike while processing a video, that brings the process to a halt with TMD shared plans.
A 2 or 3 minute video is tops.
Please keep us informed, Owner Ops - this is an ongoing discussion.
A social site without video has little to offer.
-
- · Senthur
- ·
I have VIP server. I having same problem too. It’s only happening after, upgrade too new version of UNI. I spend more than one month with TMD. They couldn’t fix this problem. TMD don’t have any idea about this. Waste of time with TMD. I reinstall fresh copy of 10.1 in new folder. That the solution for now. The video uploading good. And, don’t upgrade until find the new solution. Anyone know how to fix, please let me know.
thank you guys -
- · NewTube
- ·
Will this problem with video uploads ever be fixed by UNA? I'm having the same problem and deleted my site since it was useless. Trying to start over but this is still a big problem. When a video is uploaded by anyone it gives the the error 500 message to all users on the site. No one can do anything until the video finishes uploading/conversion. That can take 5-10 minutes for a 30 second video, or even hours and sometimes days. I'm not a programmer. My host company said it's the UNA script that is exhausting the server resources that causes the error 500. What can be done to fix this? If it can't be fixed then I'll need to find another software to host a video site. Any ideas? Thanks
-
-
·
LeonidS
-
·
In reply to NewTube
N
- ·
Hello NewTube !
Is it possible to look at the latest messages from the error log of your server? If you have the 500 error then similar records should be there. It's very often when UNA isn't guilty due to the "features" of the server's environment.
-
·
LeonidS
-
- · NewTube
- ·
Here it is from today's test upload. Attached.
Got the error 500 for a few minutes until video upload was completed...
-
- · Jeremy
- ·
The first few errors ow_cron.php is from an Oxwall script you have/had running. The rest are not the correct path for UNA. it would be something like /home/football/newtube.site/periodic/cron.php
-
- · NewTube
- ·
Hi Jeremy.
I did another test video upload today at 12:52 PM ET. It showed the error 500 message as usual, until 12:54 PM. I attached the error log.
The newtube site is on a shared hosting as a addon domain with my main site Footballfriends.org which runs on Oxwall.
Thanks.
-
-
·
LeonidS
- ·
The shared server may the first reason for similar behavior. May you show us please the screen shot of your UNA Studio->Dashboard->Server audit area?
-
·
LeonidS
-
- · NewTube
- ·
OK, I have attached the server audit.
-
- · Jeremy
- ·
Your cron job still doesn't look correct. The binaries location for php needs to be set. Ask your host. Will be something like /usr/bin/php -q /home/football/newtube.site/periodic/cron.php
-
- · banister
- ·
If you on a TMD shared server, you can forget video conversion unless the video is a few seconds or minutes long. They should just come out and tell you that. But they don't.
Funny that a cheap smart-phone can convert and send short videos but a shared server environment at TMD cannot do it. They claim it ties up too many "resources". So they just stop the process without notifying you. If you go to the control panel, you can see where you were "limited."
Good luck!
-
- · Jeremy
-
·
In reply to Alex T⚜️
- ·
I've run this a few times. If I go to Videos --> Manage. There are still a few videos in the list awaiting. I cannot remove them or delete them as the boxes are grayed out. I can only edit and submit which does nothing different.
-
- · NewTube
- ·
Thanks to all for your help... Looks like it won't work on a shared sever and I will need to use a dedicated server.