Weniger Bitrate, damit die Dateien kleiner werden
This commit is contained in:
parent
a73603ed78
commit
6b5ab66f98
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/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
|
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
|
||||||
# zu transkodieren.
|
# zu transkodieren.
|
||||||
|
@ -84,14 +84,14 @@ def transcode(file, passno, ar):
|
||||||
transcode_opts.append(tmpmp2)
|
transcode_opts.append(tmpmp2)
|
||||||
|
|
||||||
if passno == 2:
|
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(["-pass", "%d" % passno])
|
||||||
transcode_opts.extend(["-vcodec", "libx264"])
|
transcode_opts.extend(["-vcodec", "libx264"])
|
||||||
if passno == 2:
|
if passno == 2:
|
||||||
transcode_opts.extend(["-vpre", "fastfirstpass"])
|
transcode_opts.extend(["-vpre", "fastfirstpass"])
|
||||||
else:
|
else:
|
||||||
transcode_opts.extend(["-vpre", "hq"])
|
transcode_opts.extend(["-vpre", "hq"])
|
||||||
transcode_opts.extend(["-threads", "0", "-b", "1200kb"])
|
transcode_opts.extend(["-threads", "0", "-b", "800kb"])
|
||||||
if ar == 43:
|
if ar == 43:
|
||||||
transcode_opts.extend(["-croptop", "8", "-cropbottom", "8", "-cropleft", "8", "-cropright", "8"])
|
transcode_opts.extend(["-croptop", "8", "-cropbottom", "8", "-cropleft", "8", "-cropright", "8"])
|
||||||
transcode_opts.extend(["-aspect", "4:3"])
|
transcode_opts.extend(["-aspect", "4:3"])
|
||||||
|
|
Loading…
Reference in a new issue