[mythtv-commits] Ticket #12055: HLS transcode speed-up by enabling to tune x264 preset/tune
MythTV
noreply at mythtv.org
Tue Feb 11 18:31:14 UTC 2014
#12055: HLS transcode speed-up by enabling to tune x264 preset/tune
--------------------------------------+-------------------------
Reporter: warpme@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Unspecified
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
x264 lib has capability to tune performance/quality for given deployment
scenario. This patch allows user to select preset & tune for achieving
desired speed-qualty compromise. Oryginal MythTV code is using defaults
preset/tune: "medium/<null>". Setting preset to "ultrafast" and tune to
"movie" gives me hard-to-notice-difference picture and 35-37% transcoding
speedup. On 3220T (IVB i3, 35W) transcode 3-5Mb/s 1080i at 50 movie is approx
30-35% faster than realtime while default settings give me 90-95% of
realtime. User preset/tune change is arranged exactly the same like with
transcode threads. E.g. to change preset from default 'medium' to
'ultrafast', run mysql clinet in terminal and issue:
{{{
INSERT settings ( value, data, hostname ) VALUES ( 'HTTPLiveStreamPreset',
'ultrafast', NULL);
}}}
To change preset, issue:
{{{
UPDATE settings SET data = 'medium' WHERE value = 'HTTPLiveStreamPreset';
}}}
x264 available presets are: ultrafast, superfast, veryfast, faster, fast,
medium, slow, slower, veryslow, placebo
To change tune from default 'null' to 'film', run mysql client in terminal
and issue:
{{{
INSERT settings ( value, data, hostname ) VALUES ( 'HTTPLiveStreamTune',
'movie', NULL);
}}}
Available tunes are: film, animation, grain, stillimage, psnr, ssim,
fastdecode, zerolatency
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12055>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list