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. Original MythTV code is using defaults preset/tune: "medium/
x264 available presets are: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo
Available tunes are: film, animation, grain, stillimage, psnr, ssim, fastdecode, zerolatency
2dbf1f3 Speed-up HLS transcode by specifying the x264 preset and tune
mythtv/external/FFmpeg/libavcodec/libx264.c | 1 +
mythtv/libs/libmythtv/avformatwriter.cpp | 5 +++++
mythtv/libs/libmythtv/filewriterbase.h | 4 ++++
mythtv/programs/mythtranscode/transcode.cpp | 13 +++++++++++--
4 files changed, 21 insertions(+), 2 deletions(-)
Upstream: github.com