Hello all. I have Dolphin 7.0 installed on a Mac OS 10.5 Server. Everything is running fine with the exception of video uploads. I can do pictures and music, but any form of video fails to work. I can't upload files, embed video, or record video comments. I have been through the following troubleshooting steps as seen on these pages:
http://www.boonex.com/unity/forums/topic/Basic-Questions-Help-.htm#topic/Troubleshooting-Crons-Videos-Migrations-RMS.htm
http://www.boonex.com/unity/blog/entry/Can_t_connct_to_RMS_SOLVED_
http://www.boonex.com/trac/dolphin/wiki/GenDolTShooter#IgetUploadingfileerrororUndefinedwhenuploadingaudiovideofilesinRayMediaandVideoPlayers
http://www.boonex.com/trac/dolphin/wiki/RayMediaServerInstallation
I have cron jobs set up properly, and all the folders and files have proper permissions. I have installed RMS. Red5 and ffmpeg are installed on my server (verified through Terminal), but for the life of me, I cannot get the ffmpeg.exe to execute.
I am by no means a master at Unix or anything, but I am competent enough to install things on my server. I have full access to it. I am extremely frustrated with everything working but the video. Can anyone offer advice??
Here is what I get when I run the diagnostic php script from the main directory of my Dolphin install:
PHP INI settings
safe mode = disabled functions = max execution time = 30 post_max_size = 100M upload max filesize = 100M
ffmpeg output
sh: /xxx/xxx/xxx/xxx/ray/modules/global/app/ffmpeg.exe: cannot execute binary file
|
Something tells me this is easier than it's made out to be. Are you by chance using the ffmpeg.exe provided with Dolphin? And if so, might I suggest recompiling (or downloading) a copy for Mac OS X? Because the error you are getting (if memory serves me correctly) is related to that file being incompatible with the operating system you are trying to run it on, since Mac OS X is a form of Unix (damned if I upper-case it all), and Linux is... well, Linux. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I'm using the ffmpeg that comes with the Dolphin 7.0 download. Is there a Mac version of it? I thought since the Mac is basically Unix, that it could handle the one that came with the Dolphin download. If there is a Mac version, a link would be greatly appreciated! In the meantime, I'll continue googling...
Thanks!
Edit: Oops...I should have read your reply closer. It's Linux v. Unix! It makes sense now...
|
|
I'm using the ffmpeg that comes with the Dolphin 7.0 download. Is there a Mac version of it? I thought since the Mac is basically Unix, that it could handle the one that came with the Dolphin download. If there is a Mac version, a link would be greatly appreciated! In the meantime, I'll continue googling...
Thanks!
The version that comes with Dolphin is compiled for Linux systems. There are currently downloads available on the BoonEx web site for Windows and FreeBSD. There is no version compiled for Mac OS X, so you must either find a pre-compiled binary that matches the required settings of the ones provided by BoonEx, or to compile it yourself. I would recommend the later, as it is actually quite easy and ensures you have a proper binary with all the required settings compiled.
Edit: to answer your new question, no, that would appear to be a program, and it does not match the addons compiled with the ffmpeg version supplied by BoonEx. I would compile it myself, but I am not on my developer station.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Okay, that makes sense. Linux v. Unix. I don't know why I didn't think of that sooner. I appreciate the response. I'll see about recompiling for the Mac.
I'll post later with news of sucess (hopefully)!
|
As far as i know Mac OSX is based on freebsd and Netbsd.
There is a older freebsd version on the dolphin download page for freebsd under the dolphin 6 version you can try. http://www.boonex.com/dolphin/download/
Other than that you may need to find one compiled for mac osx. As long as its function is the same, and supports the same command line options as the linux version, then it should work.
https://www.deanbassett.com |
Okay, that makes sense. Linux v. Unix. I don't know why I didn't think of that sooner. I appreciate the response. I'll see about recompiling for the Mac.
I'll post later with news of sucess (hopefully)!
You can download the latest sourcecode release from: http://ffmpeg.org/download.html
And you can find a how-to article for Mac OS X from: http://stephenjungels.com/jungels.net/articles/ffmpeg-howto.html
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
As far as i know Mac OSX is based on freebsd and Netbsd.
There is a older freebsd version on the dolphin download page for freebsd under the dolphin 6 version you can try. http://www.boonex.com/dolphin/download/
It's based on Darwin, which has its own roots. It shares the twenty-eight year-old bug, as well (I will never let that one die). I was going to suggest using the FreeBSD binary, but I figured it wouldn't work, since there isn't much going for compatibility between the two operating systems.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Thank you for the help. I followed the instructions from the link you posted, and it appears I successfully compiled ffmpeg on the Mac. Now, here comes the dumb question. I have a folder on my server now where the ffmpeg files compiled. But exactly how do I get Dolphin to use that one instead of the one that came with the Dolphin download?
As you may have guessed, this part is baffling to me. Compiling things in terminal is rather new to me. If I knew where to change the Dolphin script to point to the proper ffmpeg, I think I'll be all set up.
|
Thank you for the help. I followed the instructions from the link you posted, and it appears I successfully compiled ffmpeg on the Mac. Now, here comes the dumb question. I have a folder on my server now where the ffmpeg files compiled. But exactly how do I get Dolphin to use that one instead of the one that came with the Dolphin download?
As you may have guessed, this part is baffling to me. Compiling things in terminal is rather new to me. If I knew where to change the Dolphin script to point to the proper ffmpeg, I think I'll be all set up.
Just replace the current ffmpeg.exe with the new one, and set-up it's permissions accordingly.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Well, I found a work around. The compile I did wasn't working, so I went ahead and downloaded ffmpegX. If you control click on the Application in the Finder, and click show Package Contents and go to the Resources folder, there is a Mac binary of ffmpeg. I copied that to the ray/modules/global/app/ folder in Dolphin and deleted the original ffmpeg.exe file and replaced it with the ffmpeg binary from ffmpegX. I then simply added the .exe extension to it, set the appropriate permission on the file, and voila, I now can execute the file.
But I still am having a problem uploading video. All my attempts fail. I checked the boonex.com/rms.html page to see if my RMS is working, but I keep getting a 404 failed error.
Fortunately, I'm one step further than I was. In my Flash apps module, I now successfully connect to the RMS. I'm still not sure what's going on with my video failure uploads.
I really appreciate your help on this problem though. Without your guidance, I wouldn't have made it his far...
|
Well, I found a work around. The compile I did wasn't working, so I went ahead and downloaded ffmpegX. If you control click on the Application in the Finder, and click show Package Contents and go to the Resources folder, there is a Mac binary of ffmpeg. I copied that to the ray/modules/global/app/ folder in Dolphin and deleted the original ffmpeg.exe file and replaced it with the ffmpeg binary from ffmpegX. I then simply added the .exe extension to it, set the appropriate permission on the file, and voila, I now can execute the file.
But I still am having a problem uploading video. All my attempts fail. I checked the boonex.com/rms.html page to see if my RMS is working, but I keep getting a 404 failed error.
Fortunately, I'm one step further than I was. In my Flash apps module, I now successfully connect to the RMS. I'm still not sure what's going on with my video failure uploads.
I really appreciate your help on this problem though. Without your guidance, I wouldn't have made it his far...
The Ray Media Server has nothing to do with uploading videos, only video messaging and the new video comments feature. What is the file format that you are trying to upload?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
I've been using a .mov and .m4v as tests. They are relativly small (800k). |