Setting nice level of transcode

Need help? Post your questions here.

Moderator: moderators

Setting nice level of transcode

Postby Rovanion » Tue May 15, 2012 7:01 pm

I'm running a server with multiple services on it, one of them being Subsonic. And I don't want the transcoding process of Subsonic to take priority over any other process running.

So I added nice -n 19 before every transcode command like this:
nice -n 19 ffmpeg -i %s -ab %bk -v 0 -f mp3 -

But after this subsonic doesn't transcode anything at all. So how do I do it?
Rovanion
 
Posts: 10
Joined: Thu Mar 15, 2012 1:30 pm

Re: Setting nice level of transcode

Postby Zmegolaz » Wed Jul 25, 2012 2:10 pm

It works for me, but as with all transcoding you have to add the program or a link to it to the transcode folder. You may have to change the paths depending on your installation, but this was what I did:
Code: Select all
ln -s /usr/bin/nice /var/subsonic/transcode/
Zmegolaz
 
Posts: 7
Joined: Tue Dec 27, 2011 9:13 am


Return to Help

Who is online

Users browsing this forum: No registered users and 19 guests