ffmpeg and cron
My server audit reveals that no file exists at /usr/bin/ffmpeg. Yet the Hosting Service, TMD, swears it is there.
The videos do not process. But the audio does. Does ffmpeg process the audio, too? It's just an mp3. Why should it?
Also, my cron jobs are supposed to send me a message. This does not work either. Which makes me wonder if they are executing.
Has anyone been able to process short videos on TMD Hosting via UNA??? I have the most expensive sharing plan there. Dolphin worked fine.
Thank you for reading.
-
-
·
LeonidS
- ·
Hello otherperson!
Ffmpeg in UNA is placed in plugins/ffmpeg folder. So may set constant BX_SYSTEM_FFMPEG in inc/header.inc.php to this one. Please specify what do you mean under "But the audio does"? Under what app do you upload audio files?
With the best regards, Leonid
-
·
LeonidS
-
- · otherperson
- ·
Hello LeonidS. Thank you again for sharing your expert knowledge over and over.
I was uploading the audio files through the optional Files app. Its a fine app - well worth the money.
Yes, I have my ffmpeg (in the plugins folder) working now but videos take many hours to process. I think this is because of a hosting server limitation. I am being 'faulted' once my i/o reaches a certain level. Then the processing stops. The i/o spikes every time I attempt to upload a video.
Important question: How any attempts (or how many hours) will UNA make to keep processing a video before it (UNA) gives up and prunes it away? Sometimes it will create the thumbnail image but not always - at other times the unfinished video will "just hang" for days and days.
Much thanks! I know that you are quite busy.
-
- · Baloo
- ·
I also have the same kind of problem since the beginning of una. Processing time seems too long, so I'm interested in more details on this issue
-
- · otherperson
- ·
Baloo, I can assure you that this issue will come up time and time again. Shared server hosts will allow UNA to be installed - then when the configuration is wrong or their limit filters stop the video conversion process - they will just direct the client to the Sales Dept. in order to purchase a pricy Dedicated Server or VPS.
If a particular UNA community is small - and many will be, would it be possible just to process the video oneself and not wait for hours or days?
A very likely scenario is for a user to upload a video, then when it does not appear within a reasonable time, the frustrated user will upload it again and again. Further complicating things.
It would be much better to inform the user on the upload screen that the video file was completely uploaded and that the moderator will convert it manually. True, this would not be the solution for larger communities. But these should not be on a shared server anyway.
I would love to hear about a shared hosting service which will allow UNA to process videos within minutes - not hours or days. So far, I have found several which will not - even though they install it for the client on their speedy ssd drives.
OP
-
-
·
Alex T⚜️
- ·
It shouldn't take long, it maybe that it's server's limitation which makes it to process very long. Also it's possible to setup remote video transcoding un UNA:
https://github.com/unaio/una/wiki/Video-Transcoder#remote-video-transcoding -
·
Alex T⚜️
-
- · otherperson
- ·
Thank you Alex for your reply and for adding this very important functionality to UNA.
By saying: "all servers must have a different host name" do you mean the the remote server has something other than a url? Or does it have an ftp address? What would the format look like? Does the server name end in a forward slash?
Apache or Windows server is NOT required on the remote server in order to make this happen, right?
-
- · otherperson
- ·
Actually, Apache, php, and mysql would be required to run UNA - so it would seem. Any other modules?
I think the Mac system software has these things built in and allow for a local host web server. Seems like it is activated from the Terminal program... I think it is also called a "development server".
Yes or no?
-
Hello otherperson!
Yes, for this sentence "all servers must have a different host name" as said in mentioned manual means that you need to install separate UNA on a separate server with another URL. So if you have URL of main site like "http://happy.com" then remote transcoding should have any or URL, but not "happy.com".
Apache or Windows server is NOT required on the remote server in order to make this happen, right?
As you install UNA on new server then it is necessary to meet all UNA requirements too.
About your second part of the second post, you'd better have Web based server because it is more reliable to operate their cooperation and constant availability.
With the best regards, Leonid
-
- · otherperson
- ·
Thank you LeonidS, you are a Prince and a Scholar!
Remote video conversion... 24/7. This might be a good business opportunity as UNA gains popularity.
Does anyone know if such a service already exists?