Weniger ist mehr (kleinere Aufloesung fuehrt zu einer nur unwesentlichen Qualitaetseinbusse, aber zu schnellerer Kodierung und Uebertragung)
This commit is contained in:
parent
0ca520545b
commit
dd8d06c406
1 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
# $Schlepperbande: src/tivomirror/tivomirror,v 1.17 2010/03/07 08:25:44 stb Exp $
|
# $Schlepperbande: src/tivomirror/tivomirror,v 1.18 2010/03/09 15:47:05 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.
|
||||||
|
@ -101,13 +101,16 @@ def transcode(file, passno, ar):
|
||||||
transcode_opts.extend(["-threads", "0", "-b", "1400k", "-bt", "1400k"])
|
transcode_opts.extend(["-threads", "0", "-b", "1400k", "-bt", "1400k"])
|
||||||
if ar == 43:
|
if ar == 43:
|
||||||
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"])
|
||||||
|
transcode_opts.extend(["-aspect", "468x352"])
|
||||||
elif ar == 149:
|
elif ar == 149:
|
||||||
transcode_opts.extend(["-croptop", "34", "-cropbottom", "34", "-cropleft", "6", "-cropright", "6"])
|
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(["-aspect", "546x352"])
|
||||||
else:
|
else:
|
||||||
transcode_opts.extend(["-croptop", "60", "-cropbottom", "60", "-cropleft", "6", "-cropright", "6"])
|
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(["-size", "624x352"])
|
||||||
transcode_opts.extend(["-y", "-deinterlace"])
|
transcode_opts.extend(["-y", "-deinterlace"])
|
||||||
if passno == 1:
|
if passno == 1:
|
||||||
transcode_opts.extend(["-f", "mp4", "/dev/null"])
|
transcode_opts.extend(["-f", "mp4", "/dev/null"])
|
||||||
|
|
Loading…
Reference in a new issue