Weniger Bitrate, damit die Dateien kleiner werden

This commit is contained in:
Stefan Bethke 2010-01-02 23:21:43 +00:00
parent a73603ed78
commit 6b5ab66f98

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.3 2010/01/02 13:44:24 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.4 2010/01/02 15:55:07 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -84,14 +84,14 @@ def transcode(file, passno, ar):
transcode_opts.append(tmpmp2)
if passno == 2:
transcode_opts.extend(["-acodec", "libfaac", "-ab", "128kb"])
transcode_opts.extend(["-acodec", "libfaac", "-ab", "96kb"])
transcode_opts.extend(["-pass", "%d" % passno])
transcode_opts.extend(["-vcodec", "libx264"])
if passno == 2:
transcode_opts.extend(["-vpre", "fastfirstpass"])
else:
transcode_opts.extend(["-vpre", "hq"])
transcode_opts.extend(["-threads", "0", "-b", "1200kb"])
transcode_opts.extend(["-threads", "0", "-b", "800kb"])
if ar == 43:
transcode_opts.extend(["-croptop", "8", "-cropbottom", "8", "-cropleft", "8", "-cropright", "8"])
transcode_opts.extend(["-aspect", "4:3"])