[mythtv-users] ionice transcodes

Anthony Giggins seven at seven.dorksville.net
Mon Jun 8 12:10:31 UTC 2015


On 6 June 2015 at 08:01, Michael Wisniewski <mikewiz38 at gmail.com> wrote:

>
> On Wed, Jun 3, 2015 at 8:01 AM, Anthony Giggins <
> seven at seven.dorksville.net> wrote:
>
>> is there any way to resure and transcode jobs are launched with ionice
>> -c3 ?
>> or is there and equivelent of the slow delete option for transcoding jobs?
>>
>> I'm finding if I have a heep of transcode jobs queued (Max 2 running
>> jobs) that system load goes through the roof.
>>
>> I'm just using the inbuilt lossless transcoding for my recordings from my
>> DVB-T HDHR, I'd rather not have to resort to a script as I'm pretty much
>> out of free userjobs :(
>>
>> otherwise I guess I could cron a task to ionice any running transcode
>> processes every minute....
>>
>>
>>
> I ended up using cpulimit and found it works surprisingly well! I have
> HandBrake running through it, so I am assuming the mythtranscode job could
> run through it as well.  You tell it don't exceed 300% (3 cores)
> utilization and it's good to go.
>
>
> The mpeg2 lossless transcoding isn't very cpu intensive only IO, however I
haven't had much luck getting this working

This works from the commandline
ionice -c3 /usr/bin/mythtranscode --chanid 4073 --starttime "2015-06-07
21:10:00" --mpeg2 --honorcutlist

but this fails via the jobqueue
ionice -c3 /usr/bin/mythtranscode --chanid "%CHANID%" --starttime
"%STARTTIME%" --mpeg2 --honorcutlist

exit status 146, job status was "Starting"

I only run two concurrent jobs but I believe the deletes are causing some
issues during the cross over between jobs where there are overlapping
transcode jobs.

I guess I could try breaking this out to a script but I like to keep my
jobs in the db as to make it portable.

Cheers,

Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150608/b156399d/attachment.html>


More information about the mythtv-users mailing list