From 8378a89bbd5b54d8efb064581725a765fb54740a Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 31 Dec 2015 15:20:27 +0100 Subject: replace ffmpegthumbnailer with call to ffmpeg directly set resolution to x480 instead of x360 --- mediabrowser/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mediabrowser/__init__.py') diff --git a/mediabrowser/__init__.py b/mediabrowser/__init__.py index 855c3e0..6927205 100644 --- a/mediabrowser/__init__.py +++ b/mediabrowser/__init__.py @@ -140,8 +140,8 @@ def build(root_directory, cache): if client_mtime is not None and mtime <= client_mtime: return Response(status=304) else: - process = ffmpeg.thumbnail_png(ospath, 64) - r = Response(process.stdout, mimetype="image/png") + process = ffmpeg.thumbnail(ospath, 90, 50) + r = Response(process.stdout, mimetype="image/jpeg") r.last_modified = mtime return r -- cgit v1.2.1