I installed Dolphin 7.0.7 yesterday and all seems ok so far except for video uploads. The test video file seems to upload without any problem, but, when it comes time to process it, something goes wrong and I think it's because Dolphin is looking for ffmpeg.exe in the wrong place.
Here is the ffmpeg output that I received after I ran a PHP diagnostic file from the root directory where Dolphin is installed...
ffmpeg output
"; $s = realpath("ray/modules/global/app/ffmpeg.exe"); echo `$s -version 2>&1`;
It seems to me the path should be...
flash/modules/global/app/ffmpeg.exe
At least that is where the Dolphin 7.0.7 installation placed it.
Can someone explain what file to edit to correct the path to ffmpeg.exe?
|
You need a cron job setup for video uploads to process. If you have a cron job, check your email for any error reports.
I don't know where you're finding that path. I couldn't find it in any of the default files.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thanks for your quick reply.
I set up a cron job yesterday when I installed Dolphin. I received a report from it via e-mail this morning and there were no errors.
Do I need to set up another cron job for video uploads?
|
I'm trying to figure out where you're getting that path. How did you install Dolphin? BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I don't know. I somehow managed to get to one of your troubleshooters and it said if all else fails create a PHP diagnostic file and include the following in it...
echo "<br/><b>PHP INI settings</b><br/>"; echo "<br>safe mode = ".ini_get('safe_mode'); echo "<br>disabled functions = ".ini_get('disable_functions'); echo "<br>max execution time = ".ini_get('max_execution_time'); echo "<br>post_max_size = ".ini_get('post_max_size'); echo "<br>upload max filesize = ".ini_get('upload_max_filesize');
echo "<br/><br/><b>ffmpeg output</b><pre>"; $s = realpath("ray/modules/global/app/ffmpeg.exe"); echo `$s -version 2>&1`;
In my original post I pasted in the wrong ffmpeg output. The correct output after running the PHP diagnostic file is...
ffmpeg output
sh: -version: command not found
|
That diagnostic file is out-of-date.
You should make sure ffmpeg.exe has the correct permissions and that you can execute files on your server.
Try here: http://www.boonex.com/forums/topic/Troubleshooting-Crons-Videos-Migrations-RMS.htm
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I really appreciate your help!
I have checked the cron job several times and I am sure it is working. Also, I am certain the permissions are set as they should be on the files and folders in question and Shell_Exec and POPEN are not disabled.
My server is running a recent version of Parallels Plesk Panel. It could be there is an issue with it. I'll see if I can open a ticket with them.
|
Ok, I checked to see if the Parallels Plesk Panel could be the culprit, but I am confidently rule it out.
That said and knowing that there are no php functions disabled and the permissions are set correctly and the cron job is funtioning I can't imagine what the problem could be.
We did search the error log and we found this...
[root@qwqrettuy httpd]# less error_log | grep ffmpeg
sh: line 1: 29193 Segmentation fault /var/www/vhosts/ooopiytrnn.com/httpdocs/flash/modules/global/app/ffmpeg.exe 2>&1
Can anyone explain what this means? I am hoping to get this cleared up so we can have video capability. I am thinking about a membership and all that but not if I can't get basic things to work first.
|
@Thomas,
i would like to inquire as to the amount of RAM you have on this machine?
the error you are getting on the segfault is not a dolphin issue, this is server issue:
as pulled from wikipedia:
A segmentation fault (often shortened to segfault) or bus error is generally an attempt to access memory that the CPU cannot physically address. It occurs when the hardware notifies a Unix-like operating system about a memory access violation. The OS kernel then sends a signal to the process which caused the exception. By default, the process receiving the signal dumps core and terminates. The default signal handler can also be overridden to customize how the signal is handled.[1]
so ffmpeg is trying to init and there is not enough memory available or allocated or something. so that is where i would start, let us know how much RAM you have.
Ok, I checked to see if the Parallels Plesk Panel could be the culprit, but I am confidently rule it out.
That said and knowing that there are no php functions disabled and the permissions are set correctly and the cron job is funtioning I can't imagine what the problem could be.
We did search the error log and we found this...
[root@qwqrettuy httpd]# less error_log | grep ffmpeg
sh: line 1: 29193 Segmentation fault /var/www/vhosts/ooopiytrnn.com/httpdocs/flash/modules/global/app/ffmpeg.exe 2>&1
Can anyone explain what this means? I am hoping to get this cleared up so we can have video capability. I am thinking about a membership and all that but not if I can't get basic things to work first.
When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
I have 4.5 GB free of 5.9 GB. |
Also, can the software be configured to use the system's ffmpeg binary instead of the bundled version you provided?
We're thinking that your copy of the binary probably became corrupted or is too old and ran into an ABI mismatch or something.
|
Eureka!!!!!!!!!!!!!!!!!!!!!!!!!!
If you are on a machine running some flavor of Unix/Linux and can't get the video module to work , try replacing the installation binary (ffmpeg.exe) with one of your own or download a fresh one from the ffmpeg web site.
We did and now the video uploading and processing works but you still must refresh your browser after a few minutes of processing to get to the point where you can play your video. It really is a rather slow and cumbersome way to get things done but maybe in the future the developers will be kind enough to do something about it.
By the way, you don't need the .exe extension for Unix/Linux (not sure why it's named as if it were a Windows executable), just upload your fresh version as ffmpeg to the /flash/modules/global/app/ directory or folder and replace or overwrite the ffmpeg.exe file that is there.
Maybe the developers or whoever is responsible for these sort of things will be generous enough to take a little time to make sure they use a fresh binary in the installation package. How about it guys? What do you say? It sure would save a lot of grief as attested to in this forum.
|
Hi ! i'm having the same problem , my server was trying to fix it and they asked me if it is okay to try the solution mentioned here in this forum . My question is , it really worked well , they can try the same path ? Thanks !! |