Besseren Namen verwenden

This commit is contained in:
Stefan Bethke 2015-02-28 21:03:03 +00:00
parent aa7df458ac
commit 43f1d2dc22
2 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
#!/usr/local/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.66 2014/07/12 14:39:48 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.67 2014/12/10 22:29:16 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -43,8 +43,8 @@ ignoreepisodetitle = False
arset = dict()
includes = dict()
includes['Better Call Saul'] = 1
includes['Brooklyn Nine-Nine'] = 1
includes['Build It Bigger'] = 1
includes['Castle'] = 1
#includes['Conan'] = 1
includes['Family Guy'] = 1
@ -65,10 +65,9 @@ includes["Somebody's Gotta Do It With Mike Rowe"] = 1
includes['The Big Bang Theory'] = 1
includes['The Colbert Report'] = 1
includes['The Daily Show With Jon Stewart'] = 1
includes['The Late Late Show With Craig Ferguson'] = 1
includes['The Late Late Show'] = 1
#includes['The Tonight Show Starring Jimmy Fallon'] = 1
includes['The Wil Wheaton Project'] = 1
includes['Xtreme Waterparks'] = 1
includes['2015 National Championship'] = 1
logger = logging.getLogger('tivomirror')

View file

@ -17,11 +17,12 @@ def transcode(src, tgt, fmt):
transcode_opts.extend(["-y", "-deinterlace"])
#transcode_opts.extend(["-ac", "2", "-ab", "128k"])
transcode_opts.extend(["-c:a", "libfdk_aac", "-ab", "192k"])
transcode_opts.extend(["-vcodec", "libx264"])
transcode_opts.extend(["-vcodec", "libx265", "-x265-params", "crf=28"])
#transcode_opts.extend(["-vcodec", "libx264"])
#transcode_opts.extend(["-tune", "film", "-profile", "main"])
if fmt == "hd":
transcode_opts.extend(["-s", "1280x720"])
transcode_opts.extend(["-b:v", "3000k"])
#transcode_opts.extend(["-b:v", "3000k"])
transcode_opts.append(tgt)
elif fmt == "hdsmall":
transcode_opts.extend(["-s", "640x360"])