Default Aspect Ration 4:3

This commit is contained in:
Stefan Bethke 2010-03-07 08:25:44 +00:00
parent 7af10f0ffb
commit 2d972e4211

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.15 2010/01/30 12:31:54 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.16 2010/02/03 14:51:42 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -99,7 +99,7 @@ def transcode(file, passno, ar):
else:
transcode_opts.extend(["-vpre", "hq"])
transcode_opts.extend(["-threads", "0", "-b", "1400k", "-bt", "1400k"])
if ar == 43:
if ar == 169:
transcode_opts.extend(["-croptop", "4", "-cropbottom", "4", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "4:3"])
elif ar == 149:
@ -183,7 +183,7 @@ for i in items:
dir = dir.encode("utf-8");
file = file.encode("utf-8");
ar = 169
ar = 43
if arset.has_key(title):
ar = arset[title]