Answer the question
In order to leave comments, you need to log in
Remote control of ffmpeg (or other video encoder) on Linux?
I'm building a small home server, I would like to run ffmpeg on it sometimes to convert uncompressed mov to vp9 and h265 (hevc).
On a Windows PC, I do this through a self-written bat file (I dragged the video to the bat nickname - the process started), but I didn’t figure out how to organize this process on Ubuntu Server via SSH (every time I go into the console and fill in all the parameters, of which there are many - long and can be wrong).
Are there any solutions for remote control of ffmpeg on the server? It’s like I heard somewhere that someone implements such a “GUI” through a web page, but my skills in this area are limited to launching cloud storage according to the instructions, I myself can’t write anything for sure - it’s something self-written, or Is there something similar that can be done according to the instructions?
Google fills up with unrelated issue about stream/stream encoding, I couldn't find anything similar.
Perhaps there is some GUI software that can do this? But as I understand it, on the server side, the program should also be able to do this - that is, a certain "ffmpeg" should be launched and wait for commands - it seems that it can't do that?
That is, the task is to run video encoding on the server through the gui \ web page, not through the console. If there are settings or the ability to enter command-line parameters, then even better. And if you can also put a queue, then in general the ultimate dream.
At the moment I have two and a half solutions:
1) I definitely saw a program that can use several PCs to convert videos, I just forgot the name (I can’t remember or find it now). If she knows how to linux, then in theory this is enough for me, however, ffmpeg would still be better.
2) Run a script that will simply monitor files in a folder and convert videos as they appear in it. A rough and brainless solution, but in an extreme case it will do.
3) I really don't want to install a GUI on the server, it eats resources, and I don't plan to put a video card on the server at all unless absolutely necessary.
Can you suggest something else?
UP: The question has changed, I'm ready to consider any encoders, not only ffmpeg (the main thing is that h265 or vp9 can)
Answer the question
In order to leave comments, you need to log in
If you just apply, then here, for example, is the penultimate price:
And if you don’t just need to apply, but first find the desired object, then you should use something like filter, find, or some other of the iterative methods .
Demo with find: https://jsfiddle.net/ns3ou0hw/
var price = matrix
.find(e=>e.land == land)
.info
.find(e=>e.xdata == date)
.price
alert(matrix[1].info[0].price);
To the comment:
var matrix =
{
progger:
{
info:
{
"11 марта 2016":
{
price: '11000',
count: '110'
}
}
}
}
alert(matrix["progger"].info["11 марта 2016"].price)
If we consider the GUI, there is Handbrake, for example.
By the way, it is not necessary to run the GUI on the server, you can run the X-server on your own (for example, Xming, if you use windows), and through ssh x11 forwarding, run graphical applications on the remote machine, getting its window to be drawn on your own.
If not considered, then I wrote an application that knows how to queue, and processes files uploaded via ftp to a specific folder. This is done because uploading large files to a remote server via http is not the best solution.
True, it still sends the converted files to the distribution servers, but this can also be cut off. =)
Webui is used to view the queue and processing results.
Well, installing it is not so simple, because. it was never intended for end users.
In general, if you are interested, write to Skype - I will share. At the same time and a reason to get carried away with programming. =)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question