Das Pixel Aspect Ratio wird von der Quelle uebernommen, wenn man es nicht selbst angibt, also das AR festlegen.

This commit is contained in:
Stefan Bethke 2010-04-22 06:35:26 +00:00
parent e587b85e8e
commit be04d6bb7c

View file

@ -1,6 +1,6 @@
#!/usr/bin/python
# $Schlepperbande: src/tivomirror/tivomirror,v 1.21 2010/04/21 21:55:18 stb Exp $
# $Schlepperbande: src/tivomirror/tivomirror,v 1.22 2010/04/21 21:59:18 stb Exp $
#
# Stefans Script, um die Sendungen vom Tivo runterzuladen und in MPEG4
# zu transkodieren.
@ -101,15 +101,15 @@ 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(["-aspect", "4:3"])
transcode_opts.extend(["-s", "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", "14:9"])
transcode_opts.extend(["-s", "546x352"])
else:
transcode_opts.extend(["-croptop", "60", "-cropbottom", "60", "-cropleft", "6", "-cropright", "6"])
#transcode_opts.extend(["-aspect", "16:9"])
transcode_opts.extend(["-aspect", "16:9"])
transcode_opts.extend(["-s", "624x352"])
transcode_opts.extend(["-y", "-deinterlace"])
if passno == 1: