Opened 12 years ago
Closed 12 years ago
#12055 closed Patch - Feature (fixed)
HLS transcode speed-up by enabling to tune x264 preset/tune
| Reported by: | Owned by: | stuartm | |
|---|---|---|---|
| Priority: | major | Milestone: | 0.28 |
| Component: | MythTV - General | Version: | Master Head |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
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@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
Attachments (1)
Change History (3)
by , 12 years ago
| Attachment: | 0259-ticket12xxx-hls-add-preset-tune.patch added |
|---|
comment:1 by , 12 years ago
| Milestone: | unknown → 0.28 |
|---|---|
| Owner: | set to |
| Priority: | minor → major |
| Status: | new → accepted |
| Type: | Bug Report - General → Patch - Feature |
| Version: | Unspecified → Master Head |
comment:2 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |

patch to transcoder speed-up