Banned User
Joined: 8/15/2010
Posts: 13
Is there a way to encode using "idle" cpu? ie, priority = idle if so, which program should i use? (linux)
Post subject: Re: encoding on linux server
Emulator Coder, Skilled player (1129)
Joined: 5/1/2010
Posts: 1217
UploadBot wrote:
is there a way to encode using "idle" cpu? ie, priority = idle if so, which program should i use?
Install schedtool (its in package repostiories), and then to encode, run 'schedtool -D -e <rest of encode command>'. -D means run at idle priority, -e means execute given command.
UploadBot wrote:
also, what are good settings to host videos on my own server? i only have 100mbit, so i need a small filesize
Take a look at various encoding scripts posted in forums and wiki, since small filesize at high quality is important here. Also, CRF value is the most important for filesize-quality tradeoff. 20 is the usual high-quality value (sometimes bit larger numbers like 23 are used). Higher values result worse quality but smaller files. Then there are parameters that control CPU-time vs. filesize tradeoff. Increasing the CPU time used usually results smaller files (but one pretty quickly runs into decreasing returns).
Joined: 1/26/2009
Posts: 558
Location: Canada - Québec
With something similar to --deldup from Direct264, you can save a lot on most movie... but nobody seem to get this feature working under a linux system, without using wine or stuff like that.
Post subject: Re: encoding on linux server
Banned User
Joined: 3/10/2004
Posts: 7698
Location: Finland
Ilari wrote:
Install schedtool (its in package repostiories), and then to encode, run 'schedtool -D -e <rest of encode command>'.
What's the difference between 'schedtool' and 'nice' (except that the latter is a standard builtin command in all unix shells)?
Player (36)
Joined: 9/11/2004
Posts: 2631
+1 to Warp, use nice instead, priority 20 is idle only.
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Former player
Joined: 12/5/2007
Posts: 716
20 on Linux? News to me, at least
Player (36)
Joined: 9/11/2004
Posts: 2631
yeah, 20 nice is the nicest possible. -19 nice is the meanest possible.
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Emulator Coder, Skilled player (1129)
Joined: 5/1/2010
Posts: 1217
OmnipotentEntity wrote:
yeah, 20 nice is the nicest possible. -19 nice is the meanest possible.
According to nice(1) manpage I have, 19 is the lowest of normal priorities and -20 is the highest of normal priorities. And indeed, trying to give nice of +20 to process results nice +19 process (Linux). Below normal priorities is idle priority, and above normal priorities are realtime priorities.