Es hilft, wenn man die richtigen Parameter nimmt.

This commit is contained in:
Stefan Bethke 2010-04-21 21:29:22 +00:00
parent dd8d06c406
commit 3d4b02a164

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.18 2010/03/09 15:47:05 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.19 2010/04/21 21:22:33 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -102,11 +102,11 @@ def transcode(file, passno, ar):
if ar == 43:
transcode_opts.extend(["-croptop", "4", "-cropbottom", "4", "-cropleft", "6", "-cropright", "6"])
#transcode_opts.extend(["-aspect", "4:3"])
transcode_opts.extend(["-aspect", "468x352"])
transcode_opts.extend(["-size", "468x352"])
elif ar == 149:
transcode_opts.extend(["-croptop", "34", "-cropbottom", "34", "-cropleft", "6", "-cropright", "6"])
#transcode_opts.extend(["-aspect", "14:9"])
transcode_opts.extend(["-aspect", "546x352"])
transcode_opts.extend(["-size", "546x352"])
else:
transcode_opts.extend(["-croptop", "60", "-cropbottom", "60", "-cropleft", "6", "-cropright", "6"])
#transcode_opts.extend(["-aspect", "16:9"])