Und es muss an der richtigen Stelle stehen

This commit is contained in:
Stefan Bethke 2010-04-22 06:42:22 +00:00
parent be04d6bb7c
commit 17b66ca8bc

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.22 2010/04/21 21:59:18 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.23 2010/04/22 06:35:26 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -101,16 +101,16 @@ def transcode(file, passno, ar):
transcode_opts.extend(["-threads", "0", "-b", "900k", "-bt", "900k"])
if ar == 43:
transcode_opts.extend(["-croptop", "4", "-cropbottom", "4", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "4:3"])
transcode_opts.extend(["-s", "468x352"])
transcode_opts.extend(["-aspect", "4:3"])
elif ar == 149:
transcode_opts.extend(["-croptop", "34", "-cropbottom", "34", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "14:9"])
transcode_opts.extend(["-s", "546x352"])
transcode_opts.extend(["-aspect", "14:9"])
else:
transcode_opts.extend(["-croptop", "60", "-cropbottom", "60", "-cropleft", "6", "-cropright", "6"])
transcode_opts.extend(["-aspect", "16:9"])
transcode_opts.extend(["-s", "624x352"])
transcode_opts.extend(["-aspect", "16:9"])
transcode_opts.extend(["-y", "-deinterlace"])
if passno == 1:
transcode_opts.extend(["-f", "mp4", "/dev/null"])