How to permanently set higher process priority in GUI
Karl Auer
kauer at biplane.com.au
Sat Jul 18 09:01:34 UTC 2015
On Sat, 2015-07-18 at 01:47 -0700, Tony Baechler - BATS wrote:
> I'm having a bit of a problem. When transcoding video from .mpg to other
> formats like .mp4, it's really slow. On the server, the process takes maybe
> a minute or two, but on the desktop, even after several minutes, it wasn't
> done and it's only a 7 minute video.
There may be a disparity between the server and the desktop in terms of
CPU power or architecture. Especially if the desktop is only 32bit. More
RAM on the desktop might help.
As to making ffmpeg (or anything else for that matter) always run with a
particular nice value, the simplest way would be to rename ffmpeg to
ffmpeg.bin and create a script called ffmpeg that runs ffmpeg.bin with
the appropriate nice value and whatever other special conditions you
want. Make sure either that the script is in the same location as the
binary, or that the user's path includes the location of the script.
If you can configure whatever it is that runs ffmpeg to run something
else, you could call the script something else and run it directly -
that way the ffmpeg binary is still available with its original name.
The first method is only if you have no control over the thing that runs
ffmpeg.
BTW, ffmpeg has long since been superseded in Ubuntu by avconv...
Regards, K.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389
GPG fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4
Old fingerprint: EC67 61E2 C2F6 EB55 884B E129 072B 0AF0 72AA 9882
More information about the ubuntu-users
mailing list