This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tinypy:tinypybatch2 [2016/06/20 08:08] mean |
tinypy:tinypybatch2 [2016/06/20 08:18] mean |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | == Batch Processing 2 == | + | ====== Batch Processing 2 ====== |
The first step is to process one file manually and save the corresponding tinypy project. | The first step is to process one file manually and save the corresponding tinypy project. | ||
Line 37: | Line 38: | ||
"ratecontrol.lookahead=40") | "ratecontrol.lookahead=40") | ||
adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | ||
+ | adm.audioCodec(0, "Faac"); | ||
adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | ||
| | ||
Line 63: | Line 65: | ||
"ratecontrol.lookahead=40") | "ratecontrol.lookahead=40") | ||
adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | adm.addVideoFilter("swscale", "width=1280", "height=960", "algo=2", "sourceAR=1", "targetAR=1") | ||
+ | adm.audioCodec(0, "Faac"); | ||
adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | adm.setContainer("MP4", "muxerType=0", "useAlternateMp3Tag=True") | ||
# manual insert end | # manual insert end | ||
Line 80: | Line 83: | ||
convert(i) | convert(i) | ||
print("Done") | print("Done") | ||
+ | |||
+ | A couple of pitfalls : | ||
+ | * The script is invalid, the x264 configuration line has been truncated. You must put a complete and valid line. | ||
+ | * Dont forget that a line cannot exceed 200 chars, split it and add "\" at the end of each split line. | ||
| |