Default Aspect Ration 4:3
This commit is contained in:
parent
7af10f0ffb
commit
2d972e4211
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.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
|
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
|
||||||
# zu transkodieren.
|
# zu transkodieren.
|
||||||
|
@ -99,7 +99,7 @@ def transcode(file, passno, ar):
|
||||||
else:
|
else:
|
||||||
transcode_opts.extend(["-vpre", "hq"])
|
transcode_opts.extend(["-vpre", "hq"])
|
||||||
transcode_opts.extend(["-threads", "0", "-b", "1400k", "-bt", "1400k"])
|
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(["-croptop", "4", "-cropbottom", "4", "-cropleft", "6", "-cropright", "6"])
|
||||||
transcode_opts.extend(["-aspect", "4:3"])
|
transcode_opts.extend(["-aspect", "4:3"])
|
||||||
elif ar == 149:
|
elif ar == 149:
|
||||||
|
@ -183,7 +183,7 @@ for i in items:
|
||||||
dir = dir.encode("utf-8");
|
dir = dir.encode("utf-8");
|
||||||
file = file.encode("utf-8");
|
file = file.encode("utf-8");
|
||||||
|
|
||||||
ar = 169
|
ar = 43
|
||||||
if arset.has_key(title):
|
if arset.has_key(title):
|
||||||
ar = arset[title]
|
ar = arset[title]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue